A CLI tool for creating Telegram bot projects with predefined templates
Project description
Naiogram
A simple CLI tool for creating Telegram bot projects with predefined templates.
Installation
pip install naiogram
Usage
Create a new project from a template:
naiogram template <template_name> <project_name> [destination]
Available Templates
- clean — Full project structure with organized folders for config, core, data, views, and i18n resources.
Examples
Create a project in the current directory:
naiogram template clean mybot
Create a project in a specific directory:
naiogram template clean mybot /path/to/project
Clean Template Structure
mybot/
├── main.py # Entry point
├── README.md
├── requirements.txt
├── .env.example
├── .gitignore
└── src/
├── app.py # Main application
├── config/ # Configuration
├── core/ # Core logic
├── data/ # Data layer
├── res/
│ ├── i18n/ # Internationalization
│ │ ├── default/
│ │ ├── preview/
│ │ └── production/
│ └── img/ # Images
└── view/ # Views/pages
├── home/
└── welcome/
License
MIT License - see LICENSE for details.
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
naiogram-0.1.0.tar.gz
(8.6 kB
view details)
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
naiogram-0.1.0-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file naiogram-0.1.0.tar.gz.
File metadata
- Download URL: naiogram-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75a541a77a409d06a8cdf87c82efed49cda22334f283333f5a7978c1d063fef9
|
|
| MD5 |
b9cb71f32987f1b0778f9abda56c079e
|
|
| BLAKE2b-256 |
4bf88d3a8710d088f0c1cb0a121f2d0c96d5fee6c5f629b479b41f3e4edfa681
|
File details
Details for the file naiogram-0.1.0-py3-none-any.whl.
File metadata
- Download URL: naiogram-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3db19b1e99163e56ae23fdf45290688451d567343d9937d8971551764d6a1cec
|
|
| MD5 |
2dc685f21a9d73e6c72c4744f86dde4c
|
|
| BLAKE2b-256 |
3d93ab35221aafce4a91eaa006cb30225269882a0355029490dcf3ef8270ceea
|