# ZKTime-Py **Repository Path**: xioadao/ZKTime-Py ## Basic Information - **Project Name**: ZKTime-Py - **Description**: 中控考勤管理系统——考勤数据读取&上传自动化脚本 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 2 - **Created**: 2020-06-02 - **Last Updated**: 2024-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ZKTime-Py 中控考勤管理系统——考勤数据读取&上传自动化脚本 ============== ### 主程序文件 [setup](https://github.com/liucaide/ZKTime-Py/blob/master/checking/setup.py) 主程序入口类 [attendance_read](https://github.com/liucaide/ZKTime-Py/blob/master/checking/attendance_read.py) 考勤数据读取类 [uploading](https://github.com/liucaide/ZKTime-Py/blob/master/checking/uploading.py) API 数据上传类 [cd_tools](https://github.com/liucaide/ZKTime-Py/blob/master/checking/cd_tools.py) 工具类 项目引入了一下第三方库 pywin32 :python 访问windows系统API ``` pip install pywin32 ``` schedule :定时任务 ``` pip install schedule ``` requests :网络服务 ``` pip install requests ``` exe 构建 使用 pyinstaller ``` pip install pyinstaller ``` 使用 pyinstaller 构建 弹出终端的exe ``` pyinstaller -F setup.py ``` 使用 pyinstaller 构建 不弹出终端的exe ``` pyinstaller --windowed --onefile --clean --noconfirm setup.py ``` ### 其他文件 [http_server](https://github.com/liucaide/ZKTime-Py/blob/master/checking/http_server.py) web http接口服务类 [zk_read](https://github.com/liucaide/ZKTime-Py/blob/master/checking/zk_read.py) 考情数据读取 副本 引入第三方 [RxPY](https://github.com/ReactiveX/RxPY) :ReactiveX 系列Python版本 ``` pip install rx ``` xlwt :xls 表写入 (读取使用 xlrd,未使用到) ``` pip install xlwt pip install xlrd ``` openpyxl :xlsx 表读写库 ``` pip install openpyxl ``` flask :Web 开发微框架 ``` pip install flask ``` flask_restful :Flask 扩展,添加了快速构建 REST APIs 的支持 ``` pip install flask_restful ```