tgbotbase


Nametgbotbase JSON
Version 1.1.9 PyPI version JSON
download
home_pagehttps://github.com/makarworld/tgbotbase.git
SummaryUniversal telegram bot base for bots maded by @abuztrade on aiogram 3.x
upload_time2025-01-11 00:04:55
maintainerNone
docs_urlNone
authorabuztrade
requires_python>=3.10.0
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tgbotbase - Universal telegram bot base for bots maded by @abuztrade on aiogram 3.x
### Default settings:
```python
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
```python
SHARED_OBJECTS["dp"] = dp
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/makarworld/tgbotbase.git",
    "name": "tgbotbase",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10.0",
    "maintainer_email": null,
    "keywords": null,
    "author": "abuztrade",
    "author_email": "abuztrade.work@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/4e/87/944308f3a11623d95636722695348599f43ec0fa090281385d2c753a689b/tgbotbase-1.1.9.tar.gz",
    "platform": null,
    "description": "# tgbotbase - Universal telegram bot base for bots maded by @abuztrade on aiogram 3.x\r\n### Default settings:\r\n```python\r\nos.environ[\"LOG_FILENAME\"]       = \"./logs/bot_{time:DD-MM-YYYY}.log\"\r\nos.environ[\"LOG_FORMAT\"]         = \"<white>{time:HH:mm:ss}</white> | <level>{level: <8}</level> | <cyan>{line}</cyan> - <level>{message}</level>\"\r\nos.environ[\"LOG_ROTATION\"]       = \"2days\"\r\nos.environ[\"LOG_COMPRESSION\"]    = \"zip\"\r\nos.environ[\"LOG_BACKTRACE_BOOL\"] = \"True\"\r\nos.environ[\"LOG_DIAGNOSE_BOOL\"]  = \"True\"\r\nos.environ[\"LOCALES_FOLDER\"]     = \"locales\"\r\nos.environ[\"LOCALES_STARTSWITH\"] = \"bot\"\r\nos.environ[\"KEYBOARDS_PATH\"]     = \"./src/keyboards.yml\"\r\n```\r\n\r\n## Also should fill SHARED_OBJECTS[\"dp\"] with your root aiogram 3.x dispatcher for keyboord.book works\r\n```python\r\nSHARED_OBJECTS[\"dp\"] = dp\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Universal telegram bot base for bots maded by @abuztrade on aiogram 3.x",
    "version": "1.1.9",
    "project_urls": {
        "Download": "https://github.com/makarworld/tgbotbase/archive/refs/tags/v1.1.9.zip",
        "Homepage": "https://github.com/makarworld/tgbotbase.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "efaa376dc38eec409a2939e38fef50681fa015c1b064f9cce3aefdd60521899d",
                "md5": "662b5dc84e7b417e069bfe665a1ddafa",
                "sha256": "b2fa41f3bcb80ca94b5aded399fca62d31efcb3e070d269d68b7064d4169f600"
            },
            "downloads": -1,
            "filename": "tgbotbase-1.1.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "662b5dc84e7b417e069bfe665a1ddafa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10.0",
            "size": 32048,
            "upload_time": "2025-01-11T00:04:52",
            "upload_time_iso_8601": "2025-01-11T00:04:52.844073Z",
            "url": "https://files.pythonhosted.org/packages/ef/aa/376dc38eec409a2939e38fef50681fa015c1b064f9cce3aefdd60521899d/tgbotbase-1.1.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e87944308f3a11623d95636722695348599f43ec0fa090281385d2c753a689b",
                "md5": "92cc292d1948c2bb4580bed23f1fc0c4",
                "sha256": "cb2ca8470c34f9ebedf2fb1bffa35d22df3f3eff778a084d8044e624ff603584"
            },
            "downloads": -1,
            "filename": "tgbotbase-1.1.9.tar.gz",
            "has_sig": false,
            "md5_digest": "92cc292d1948c2bb4580bed23f1fc0c4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10.0",
            "size": 27594,
            "upload_time": "2025-01-11T00:04:55",
            "upload_time_iso_8601": "2025-01-11T00:04:55.199507Z",
            "url": "https://files.pythonhosted.org/packages/4e/87/944308f3a11623d95636722695348599f43ec0fa090281385d2c753a689b/tgbotbase-1.1.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-11 00:04:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "makarworld",
    "github_project": "tgbotbase",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tgbotbase"
}
        
Elapsed time: 1.76218s