A utility for quickly generating projects on aiogram 3
Project description
๐ TelegramBotCLI
A lightweight command-line utility for quickly generating professional project structures for Aiogram 3 bots. Stop wasting time on boilerplate and start coding your logic instantly.
โจ Features
- Instant Structure: Creates folders for handlers, database (SQLModel), and keyboards in one command.
- Smart OS Detection: Automatically suggests the correct run command (
pythonvspython3) based on your system. - Ready-to-Go Templates: Includes pre-configured
.env,.gitignore, and basic bot logic with commands. - Built-in Keyboards: Comes with examples for both standard and inline keyboards.
๐ฆ Installation
Install the tool directly from PyPI:
pip install telegrambotcli
๐How to start
Write in terminal telegrambotcli
## ๐ Generated Project Structure
When you run the tool, it creates a clean, modular architecture:
```text
your_project/
โโโ app/
โ โโโ handlers/
โ โ โโโ database/
โ โ โ โโโ database.py # SQLModel engine & session setup
โ โ โ โโโ __init__.py
โ โ โโโ keyboards/
โ โ โ โโโ builders.py # Reply & Inline keyboard templates
โ โ โ โโโ __init__.py
โ โ โโโ main.py # Command handlers (/start, /keyboard, etc.)
โ โ โโโ __init__.py
โ โโโ __init__.py
โโโ bot.py # Main entry point (Dispatcher & Polling)
โโโ .env # Environment variables (Tokens, DB URLs)
โโโ .gitignore # Pre-configured for Python & VSCode
๐งโ๐ปGitHub repository
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telegrambotcli-0.4.2.tar.gz.
File metadata
- Download URL: telegrambotcli-0.4.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65ce481054c589a23460c9910190e92d011b6a41bbfa29f26454a03e0633135f
|
|
| MD5 |
771fc99d8829a0e26d6d11f754091de2
|
|
| BLAKE2b-256 |
2d96eb7929bbf39aad0d7fa244b3b2dac7a4b3ceff48dd137108879a3ee1c354
|
File details
Details for the file telegrambotcli-0.4.2-py3-none-any.whl.
File metadata
- Download URL: telegrambotcli-0.4.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcdf4ea63f828fd70bef9f6044bf4cc405104be7834e8bb03e448ae42db66c0a
|
|
| MD5 |
0858db64462a6cf95b92d0027e73f0b7
|
|
| BLAKE2b-256 |
106e224910e60d27062a3bd1c569769d8bdca6edcf02d3d2d3c1b6d54f236109
|