Skip to main content

tgbotbase - Universal telegram bot base for bots maded by @abuztrade on aiogram 3.x

Default settings:

os.environ["LOG_FILENAME"]       = "./logs/bot_{time:DD-MM-YYYY}.log"
os.environ["LOG_FORMAT"]         = "<white>{time:HH:mm:ss}</white> | <level>{level: <8}</level> | <cyan>{line}</cyan> - <level>{message}</level>"
os.environ["LOG_ROTATION"]       = "2days"
os.environ["LOG_COMPRESSION"]    = "zip"
os.environ["LOG_BACKTRACE_BOOL"] = "True"
os.environ["LOG_DIAGNOSE_BOOL"]  = "True"
os.environ["LOCALES_FOLDER"]     = "locales"
os.environ["LOCALES_STARTSWITH"] = "bot"
os.environ["KEYBOARDS_PATH"]     = "./src/keyboards.yml"

Also should fill SHARED_OBJECTS["dp"] with your root aiogram 3.x dispatcher for keyboord.book works

SHARED_OBJECTS["dp"] = dp

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tgbotbase-1.1.15.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tgbotbase-1.1.15-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file tgbotbase-1.1.15.tar.gz.

File metadata

  • Download URL: tgbotbase-1.1.15.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.11

File hashes

Hashes for tgbotbase-1.1.15.tar.gz
Algorithm Hash digest
SHA256 1f3df7f17d511840420c296753d8739197b85bfdaa6c007fca5e35d7ddb1b159
MD5 7e6e6136fc5a765175a1ddf8a8abbf15
BLAKE2b-256 7eb295312091cc5dcd7d969a37de62db954dee003d630def059dd01e8c11a988

See more details on using hashes here.

File details

Details for the file tgbotbase-1.1.15-py3-none-any.whl.

File metadata

  • Download URL: tgbotbase-1.1.15-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.11

File hashes

Hashes for tgbotbase-1.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 310865fa41444ebf1234ec21f9c47e3c9ceaa70239ab513e98b5ef1e1130d1d2
MD5 2597a092904c8060cd53c51d4e93cbc0
BLAKE2b-256 25c9c380207154601a675229688c83d6398726b2f560e5adc531400dba6d26a8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.15 This release

2 files

1.1.14

2 files

1.1.13

2 files

1.1.12

2 files

1.1.11

2 files

1.1.10

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page