π EduPlannerBotAI 2.0.0 β Major Release
π Highlights
-
Full English Codebase
All comments, docstrings, messages, and code structure are now in English for international collaboration and open source contribution. -
PEP8 & pylint 10/10
The project fully complies with PEP8 and strict pylint settings (max-line-length=100, import order, final newlines, etc.).
The.pylintrcincludes exceptions for test files to avoid unnecessary warnings for test dummies. -
Comprehensive Test Coverage
Tests included for:- Study plan generation (local and OpenAI)
- PDF and TXT export
- TinyDB database operations
- Reminder scheduler
- Bot commands (including
/start) - All tests pass (
pytestgreen)
-
Docker & CI/CD Ready
- Optimized
Dockerfileanddocker-compose.ymlfor fast deployment. - GitHub Actions for automatic code quality checks (pylint) and tests.
.gitignoreexcludes all temp/cache/sensitive files.
- Optimized
-
Architecture Improvements
- Asynchronous file operations (aiofiles).
- Safe error handling and fallback to local generator if OpenAI fails.
- Token and environment variable checks at startup.
π How to Upgrade
- Update your repository:
git fetch --tags git checkout 2.0.0
- Check your
.envfor required variables (BOT_TOKEN,OPENAI_API_KEY). - Build and run the container:
docker-compose up --build
- Run tests:
pytest
π Compatibility
- Python 3.10+
- Compatible with aiogram 3.x, OpenAI API, TinyDB, fpdf, aiofiles
π§βπ» For Developers
- All tests are in the
tests/folder. - For local development, use a virtual environment (
.venv), which is git-ignored. - For CI/CD, use GitHub Actions (
.github/workflows/pylint.yml).
π¦ Whatβs Next?
- Easily extendable: add new commands, integrate other LLMs, support more export formats.
- Ready for open source contributions and team development.
Thank you for using EduPlannerBotAI!
If you find a bug or want to suggest an improvement, please open an issue or pull request on GitHub.
Let me know if you want a "Changelog" section or a GitHub Releasesβstyle summary!