# 自考成绩订阅 **Repository Path**: endless084/STERS ## Basic Information - **Project Name**: 自考成绩订阅 - **Description**: 用python写的一个用于自动检查和获取自考新成绩并通过邮件发送的小玩意。python会的不对,连类都不会写,全是函数... - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-07-10 - **Last Updated**: 2025-02-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 自考成绩订阅 Self taught examination results subscription #### Description A program written in Python for automatically checking and getting new scores of self-taught examination and sending them by email. I don't know much about python. I can't even write classes. It's all functions. #### Software Architecture 1. Steps.py is the program entry. 2. reponsed_ Check.py is used to control the process of checking whether new scores of self-taught examination are published and querying new scores. 3. score_ Requests.py is used to query the results from the official website. The default is Jiangsu. Other regions can modify it according to the actual situation. 4. Tableprocess.py is used to process transcripts obtained from the official website. 5. Sendscores.py is used to get the list of students in the database, so that you can query and send them transcripts. 6. Mmodels.py is used to access the database. If you are not using MySQL or do not create the database according to the SQL file, you may need to customize it. 7. Config.py is used to read and modify the configuration file config.ini. 8. Config.ini includes database configuration, mail configuration and other related configurations. 9. e_ Mail.py is used to send all kinds of mail. 10. Log.py is used to generate logs. #### Installation 1. Environment: Python 3.9 2. Dependent package installation: pip3 install -r requirements.txt 3. Create database: Create or customize database according to SQL file. You may need to modify models.py . When I developed, I used MySQL 8.0, database (utf8mb4, utf8mb4_general_ci):steris_ Students, data table: Students #### Instructions 1. Create the configuration file config.ini according to config.ini.example 2. Start: python3 main.py #### Contribution 1. Fork the repository 2. Create Feat_xxx branch 3. Commit your code 4. Create Pull Request #### Gitee Feature 1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 2. Gitee blog [blog.gitee.com](https://blog.gitee.com) 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 4. The most valuable open source project [GVP](https://gitee.com/gvp) 5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)