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

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)

Source distribution for tgbotbase 1.1.15
File Size Uploaded
tgbotbase-1.1.15.tar.gz 27.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tgbotbase 1.1.15
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.15 This release

2 release files

1.1.14

2 release files

1.1.13

2 release files

1.1.12

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page