Skip to content

An ultimate, convenient and fast way to start developing a bot in a matter of seconds without copying code from other projects.

Notifications You must be signed in to change notification settings

rfoxxxy/telegram-bot-template

Repository files navigation

rf0x3d's telegram bot template

not so slight, but really fast

mainly used libraries:

  • aiogram - heart of a bot
  • sqlalchemy w/ asyncpg & aiosqlite - memory of a bot
  • apscheduler - task scheduler of a bot
  • loguru - mouth of a bot

features:

  • automatic module loader - modular system has always been the most convenient to develop
  • core tasks - code that can be executed on startup (for example, web server)
  • scheduler tasks - apscheduler wrapper
  • improved keyboards module - slight, fast, extended
  • important utils and middlewares out of the box

project is being developed for personal use, so any suggestions aren't accepted if they're not necessary. by the way - you can add what you need to your fork.

installing:

you can install only packages that you need, but also you can install a whole project (~72 packages):

poetry install --with dev,uvloop,sentry,redis,keyboards,database,scheduler

optional packages:

  • dev - development dependencies, such as yapf, pycodestyle, pytest, etc.
  • uvloop - dependency for use_uvloop flag
  • sentry - dependency for use_sentry flag
  • redis - dependency for use_redis_fsm flag
  • keyboards - dependency for use_modern_callback flag
  • database - dependency for use_database flag
  • scheduler - dependency for use_apscheduler flag
  • windows - dependencies for windows platform

About

An ultimate, convenient and fast way to start developing a bot in a matter of seconds without copying code from other projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages