Python library for building modular CLI applications
Project description
Argenta
Library for creating modular CLI applications
RU - README.ru.md • DE - README.de.md
Installing
pip install argenta
or
poetry add argenta
Quick start
An example of a simple application
# 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()
Features in development
- Full support for autocompleter on Linux
- Ability to configure stdout capture when handling input by the handler
Full docs | 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.5.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.5-py3-none-any.whl
(24.5 kB
view details)
File details
Details for the file argenta-1.0.5.tar.gz.
File metadata
- Download URL: argenta-1.0.5.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fc5d0c6c98cbb9a8d8e0b4db0aa1c295d427f37be1a9e7bce47ba8936b55800
|
|
| MD5 |
9a70356546265cd38a550fba03d5d41f
|
|
| BLAKE2b-256 |
f7b3e34dc94ff27183b4a31c04ceba5d23d690df89887a621659e70aa6edfbd5
|
File details
Details for the file argenta-1.0.5-py3-none-any.whl.
File metadata
- Download URL: argenta-1.0.5-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0215638f53ed3afacf1bc3d36b3ba06f56a69cb4c68e797bc72d348513e8914e
|
|
| MD5 |
c2dc3ab6b38bfd4ee827bcc76f626243
|
|
| BLAKE2b-256 |
ff390a72ad8ece43278d29a04f0e802d0b4709181e0c96af9a700ea3671c3897
|