Python library for building modular CLI applications
Project description
Argenta
Библиотека для создания модульных CLI приложeний
Установка
pip install argenta
or
poetry add argenta
Быстрый старт
Пример простейшего приложения
# routers.py
from argenta.router import Router
from argenta.command import Command
from argenta.response import Response
router = Router()
@router.command(Command("hello"))
def handler(response: Response):
print("Hello, world!")
# main.py
from argenta.app import App
from argenta.orchestrator import Orchestrator
from routers import router
app: App = App()
orchestrator: Orchestrator = Orchestrator()
def main() -> None:
app.include_router(router)
orchestrator.start_polling(app)
if __name__ == '__main__':
main()
Полная документация | MIT 2025 kolo | made by kolo
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
argenta-1.0.2.tar.gz
(4.7 MB
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
argenta-1.0.2-py3-none-any.whl
(23.7 kB
view details)
File details
Details for the file argenta-1.0.2.tar.gz.
File metadata
- Download URL: argenta-1.0.2.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ab4bb8b515dc43d26488ee580c8a9a018599e8e8defbe29cb3929f030254694
|
|
| MD5 |
75a62fc162bd1ebf77145c9a4a1a9fcf
|
|
| BLAKE2b-256 |
d91b781e343f86788333ec8385643db45a0df4fe0241bd01d7eb681812fe2735
|
File details
Details for the file argenta-1.0.2-py3-none-any.whl.
File metadata
- Download URL: argenta-1.0.2-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbde606f24d06169efbafe39f25ba014925fb5de264dd69815654d2d2f0af7c2
|
|
| MD5 |
09d4b5bdca72afc77370493aae6d1e0c
|
|
| BLAKE2b-256 |
bccb9bf126624e0c573bcbb35b5adf4e4688265ab70cf31b6dd8260d8dd4db20
|