/ZKTime-Py

中控考勤管理系统——考勤数据读取&上传自动化脚本

Primary LanguagePythonMIT LicenseMIT

ZKTime-Py

中控考勤管理系统——考勤数据读取&上传自动化脚本

主程序文件

setup 主程序入口类

attendance_read 考勤数据读取类

uploading API 数据上传类

cd_tools 工具类

项目引入了一下第三方库

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 web http接口服务类

zk_read 考情数据读取 副本

引入第三方

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