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 Provenance Actions
tgbotbase-1.1.15.tar.gz 27.7 kB Without provenance Details for tgbotbase-1.1.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tgbotbase 1.1.15
File Interpreter ABI Platform Actions
tgbotbase-1.1.15-py3-none-any.whl Python 3 none any Details for tgbotbase-1.1.15-py3-none-any.whl

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

Security for tgbotbase 1.1.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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