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
router = Router()
@router.command(Command("hello"))
def handler():
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.0.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.0-py3-none-any.whl
(23.7 kB
view details)
File details
Details for the file argenta-1.0.0.tar.gz.
File metadata
- Download URL: argenta-1.0.0.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 |
e8a90f56050e7fd0b8a894b7c3b28c9c240c5ceb8171a1b0d05db7309a4d623b
|
|
| MD5 |
ed1830048b02a2b04f5c59ebd305038b
|
|
| BLAKE2b-256 |
140dec410edab90ea8ce999d4d51e3964fcb9eb1bbf6c57bd4f760216f786d86
|
File details
Details for the file argenta-1.0.0-py3-none-any.whl.
File metadata
- Download URL: argenta-1.0.0-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 |
696698516e0cbcafa50b1033163367e395bab15238542f93bc46b8010e25ef65
|
|
| MD5 |
71291b786cdb8531c755288681efc569
|
|
| BLAKE2b-256 |
fac2592d4b46c7cf706859a9b88638785f7f933d2d7af673395144ca687fc094
|