Giter Site home page Giter Site logo

creditanalysis's Introduction

CreditAnalysis

模拟登录UESTC教务系统并查询所有已修课程信息。 分为两个模块:登录模块和本地数据分析模块

登录模块

登录模块位于\session文件夹,配置文件是config.json。它先登录教务系统,再爬取课程数据,输出到.\session\data_page.html

config.json的格式如下:

说明
headers 请求报文头 默认已配置好
auth_url 校园网登录url 默认已配置好
data_url 展示课程信息的url 默认已配置好
username 用户名 修改为自己的用户名(学号)
password 密码 修改为自己的密码

分析模块

分析模块位于\analysis文件夹。它解析课程数据并计算学分情况。

项目进展

时间 说明
init 添加了简单的分析模块
2019/1/11 添加了登录模块

未来开发方向(现存的不足)

  • 添加登录模块和分析模块之间的联系机制。目前登录模块和分析模块可以正常单独执行,但是两者没有对接上。
  • 思考项目的设计模式
  • 思考python脚本的设计模式
  • 思考如何插件化,使得其他高校能轻松以插件的形式接入

依赖

  • python3.5+
  • requests
  • bs4

creditanalysis's People

Contributors

zlrs avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.