├── .gitignore ├── README.md ├── alembic.ini ├── amvera.yml ├── app ├── __init__.py ├── api │ ├── __init__.py │ └── router.py ├── bot │ ├── __init__.py │ ├── admin │ │ ├── __init__.py │ │ ├── kbs.py │ │ └── router.py │ ├── booking │ │ ├── __init__.py │ │ ├── dialog.py │ │ ├── getters.py │ │ ├── handlers.py │ │ ├── schemas.py │ │ ├── state.py │ │ └── windows.py │ ├── create_bot.py │ └── user │ │ ├── __init__.py │ │ ├── kbs.py │ │ ├── router.py │ │ └── schemas.py ├── config.py ├── dao │ ├── __init__.py │ ├── base.py │ ├── dao.py │ ├── database.py │ ├── database_middleware.py │ ├── init_logic.py │ ├── models.py │ ├── slots.json │ └── tables.json ├── log.txt ├── main.py └── migration │ ├── README │ ├── __init__.py │ ├── env.py │ ├── script.py.mako │ └── versions │ ├── __init__.py │ └── ce01eba6638f_initial_revision.py ├── data ├── db.sqlite3 └── jobs.sqlite └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Запуск бота: 2 | 3 | ```bash 4 | python -m bot.main 5 | ``` -------------------------------------------------------------------------------- /alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/alembic.ini -------------------------------------------------------------------------------- /amvera.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/amvera.yml -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/api/router.py -------------------------------------------------------------------------------- /app/bot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/bot/admin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/bot/admin/kbs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/admin/kbs.py -------------------------------------------------------------------------------- /app/bot/admin/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/admin/router.py -------------------------------------------------------------------------------- /app/bot/booking/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/bot/booking/dialog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/booking/dialog.py -------------------------------------------------------------------------------- /app/bot/booking/getters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/booking/getters.py -------------------------------------------------------------------------------- /app/bot/booking/handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/booking/handlers.py -------------------------------------------------------------------------------- /app/bot/booking/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/booking/schemas.py -------------------------------------------------------------------------------- /app/bot/booking/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/booking/state.py -------------------------------------------------------------------------------- /app/bot/booking/windows.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/booking/windows.py -------------------------------------------------------------------------------- /app/bot/create_bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/create_bot.py -------------------------------------------------------------------------------- /app/bot/user/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/bot/user/kbs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/user/kbs.py -------------------------------------------------------------------------------- /app/bot/user/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/user/router.py -------------------------------------------------------------------------------- /app/bot/user/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/bot/user/schemas.py -------------------------------------------------------------------------------- /app/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/config.py -------------------------------------------------------------------------------- /app/dao/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/dao/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/dao/base.py -------------------------------------------------------------------------------- /app/dao/dao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/dao/dao.py -------------------------------------------------------------------------------- /app/dao/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/dao/database.py -------------------------------------------------------------------------------- /app/dao/database_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/dao/database_middleware.py -------------------------------------------------------------------------------- /app/dao/init_logic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/dao/init_logic.py -------------------------------------------------------------------------------- /app/dao/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/dao/models.py -------------------------------------------------------------------------------- /app/dao/slots.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/dao/slots.json -------------------------------------------------------------------------------- /app/dao/tables.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/dao/tables.json -------------------------------------------------------------------------------- /app/log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/log.txt -------------------------------------------------------------------------------- /app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/main.py -------------------------------------------------------------------------------- /app/migration/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/migration/README -------------------------------------------------------------------------------- /app/migration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/migration/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/migration/env.py -------------------------------------------------------------------------------- /app/migration/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/migration/script.py.mako -------------------------------------------------------------------------------- /app/migration/versions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/migration/versions/ce01eba6638f_initial_revision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/app/migration/versions/ce01eba6638f_initial_revision.py -------------------------------------------------------------------------------- /data/db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/data/db.sqlite3 -------------------------------------------------------------------------------- /data/jobs.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/data/jobs.sqlite -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yakvenalex/TableHabnter/HEAD/requirements.txt --------------------------------------------------------------------------------