这是一个基于 PyQt5 开发的卡密管理系统,包含卡密管理和验证两个主要功能模块。
- 卡密管理:生成、查询、删除卡密
- 卡密验证:验证卡密有效性
- 加密存储:使用 cryptography 确保数据安全
- 图形界面:友好的用户交互界面
- Windows 7 及以上操作系统
- Python 3.7+
- PyQt5
- cryptography
- 克隆仓库
[git clone https://github.com/yourusername/license-key-system.git](https://github.com/AAASS554/PIN-verify.git)- 安装依赖
pip install -r requirements.txt- 配置环境
- 确保已安装 Python 3.7 或更高版本
- 确保系统环境变量正确配置
- 运行卡密管理系统
python 卡密管理.py- 可以生成新的卡密
- 查询现有卡密状态
- 删除过期卡密
- 运行卡密验证系统
python 卡密验证.py- 输入卡密进行验证
- 查看卡密详细信息
使用 PyInstaller 进行打包:
pyinstaller -F -w -i icon.ico 卡密管理.py
pyinstaller -F -w -i icon.ico 卡密验证.py├── 卡密管理.py # 卡密管理主程序
├── 卡密验证.py # 卡密验证主程序
├── icon.ico # 程序图标
├── requirements.txt # 项目依赖
└── README.md # 项目说明文档
- 如果运行时提示缺少依赖,请检查是否正确安装所有依赖包
- 如果打包失败,请确保 PyInstaller 安装正确
- 如果程序无法启动,请检查 Python 版本是否符合要求
记得晚安
- GitHub: 记得晚安
本项目采用 Apache License 2.0 许可证
This is a License Key Management System developed with PyQt5, including two main modules: key management and verification.
- Key Management: Generate, query, and delete license keys
- Key Verification: Verify key validity
- Encrypted Storage: Data security using cryptography
- GUI: User-friendly interface
- Windows 7 or above
- Python 3.7+
- PyQt5
- cryptography
- Clone repository
[git clone https://github.com/yourusername/license-key-system.git](https://github.com/AAASS554/PIN-verify.git)- Install dependencies
pip install -r requirements.txt- Environment Setup
- Ensure Python 3.7 or higher is installed
- Verify system environment variables are properly configured
- Run key management program
python key_management.py- Generate new license keys
- Query existing key status
- Delete expired keys
- Run key verification program
python key_verification.py- Input key for verification
- View key details
Package with PyInstaller:
pyinstaller -F -w -i icon.ico key_management.py
pyinstaller -F -w -i icon.ico key_verification.py├── key_management.py # Key management main program
├── key_verification.py # Key verification main program
├── icon.ico # Program icon
├── requirements.txt # Project dependencies
└── README.md # Project documentation
- If missing dependencies, verify all required packages are installed
- If packaging fails, ensure PyInstaller is properly installed
- If program fails to start, check Python version compatibility
JiDeWanAn
- GitHub: JiDeWanAn
This project is licensed under the Apache License 2.0
[Database]
host = localhost
port = 3306
database = license_system
username = your_username
password = your_password请将以上配置保存为 config.ini 并根据实际情况修改。注意不要将实际配置文件提交到版本控制系统中。