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
Metadata
Release files for tgbotbase 1.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tgbotbase-1.1.15.tar.gz | 27.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tgbotbase-1.1.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.8 kB
Release files / tgbotbase-1.1.15.tar.gz
| Download URL | tgbotbase-1.1.15.tar.gz |
|---|---|
| Size | 27.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f3df7f17d511840420c296753d8739197b85bfdaa6c007fca5e35d7ddb1b159
|
|
BLAKE2b-256 checksum How to use checksums |
7eb295312091cc5dcd7d969a37de62db954dee003d630def059dd01e8c11a988
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.11
|
Release files / tgbotbase-1.1.15-py3-none-any.whl
| Download URL | tgbotbase-1.1.15-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
310865fa41444ebf1234ec21f9c47e3c9ceaa70239ab513e98b5ef1e1130d1d2
|
|
BLAKE2b-256 checksum How to use checksums |
25c9c380207154601a675229688c83d6398726b2f560e5adc531400dba6d26a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.11
|