1
0
Fork 0
mirror of https://github.com/EDeev/school_menu.git synced 2026-10-07 20:49:36 +03:00
Школьный Telegram-бот столовой (2021–2022): меню с сайта школы и заказы питания по классам. aiogram 2
Find a file
2026-10-02 23:40:56 +00:00
.github/workflows CI: синтаксис, неопределённые имена и проверка разбора ячеек 2026-10-02 23:40:56 +00:00
code Токен, ID бота и технической группы — из окружения 2026-10-02 23:40:56 +00:00
db v. 1.0 2022-05-17 12:00:08 +07:00
.gitattributes Переводы строк приведены к LF 2026-10-02 23:38:04 +00:00
README.en.md README на русском и английском 2026-10-02 23:40:56 +00:00
README.md README на русском и английском 2026-10-02 23:40:56 +00:00
requirements.txt requirements 2025-06-30 02:38:39 +03:00

School Menu Bot

Русский · English

CI

A school cafeteria Telegram bot: every morning it posts the menu from the school website, takes breakfast, lunch and snack orders by class and compiles a summary for the cafeteria.

Status: school project (2021–2022), completed, archived

Stack: Python 3.10 · aiogram 2 · SQLite · openpyxl (menu from Excel) · pymorphy2

  • Today's and tomorrow's menu (/today, /tomorrow) and a 06:00 broadcast
  • Ordering with buttons, cancelling and changing an order
  • Class registration by code, separate groups for students and the cafeteria
  • Order summary by class with correct Russian word forms

Running

pip install -r requirements.txt
cd code && BOT_TOKEN=token BOT_ID=bot_id TECH_GROUP_ID=group_id python bot.py

Portion weights and calories from Excel are parsed without eval: only numbers and + - * / are allowed.

License

School project (2021–2022). The code is open for study; there is no separate license.

Author

Egor Deev — GitHub · Telegram · egor@deev.space


⭐ If you find this project useful, give it a star on GitHub!

Made with ❤️ — deev.space