This is an interactive Streamlit web application designed to help users prepare for the Party Member Exam (入党考试). It features multiple practice modes with a secure encrypted question database.
这是一个基于Streamlit的交互式入党考试练习系统,提供多种练习模式并采用加密题库保护数据安全。
- Encrypted SQLite database with AES-256 protection
- 采用AES-256加密保护的SQLite题库
- Automatic decryption on launch using environment variables
- 通过环境变量自动解密运行
Mode | 功能 | Description |
---|---|---|
Home | 主页 | Displays question statistics and distribution |
Filter Mode | 筛选模式 | Filter questions by type/difficulty/knowledge point |
Challenge Mode | 难题模式 | Practice high-error-rate questions with pagination |
Search Mode | 搜索模式 | Full-text search across all questions |
Practice Mode | 练习模式 | Randomized single-question practice with instant feedback |
- Real-time answer validation
- 实时答题验证
- Error rate indicators
- 题目易错率显示
- Knowledge point tagging
- 知识点标记系统
- Responsive design for all devices
- 全设备响应式设计
Python 3.8+
pip install streamlit sqlite3 pandas python-dotenv
- Create
.env
file:
DB_KEY=your_encryption_key_here
streamlit run app.py
- Start with Practice Mode for daily exercises
- 日常练习从"练习模式"开始
- Use Challenge Mode to focus on difficult questions
- "难题模式"专攻高频易错题
- Review mistakes using Search Mode
- 通过"搜索模式"查漏补缺
- Database encrypted with
SQLiteEncryptor
class - 数据库使用SQLiteEncryptor类加密
- Environment variable based key management
- 基于环境变量的密钥管理
- Easy question bank updates via SQLite
- 通过SQLite轻松更新题库
.env
file or decrypted database.
Contact 问题反馈: https://github.com/Maicarons/PMEPS/issues
AGPL-3.0 License