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
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.1.1rc0.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
File details
Details for the file argenta-1.1.1rc0.tar.gz.
File metadata
- Download URL: argenta-1.1.1rc0.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b28cc8952d7c081b8e50d465f76cd29e01c01e6d24fa87a9860acc423f3c4218
|
|
| MD5 |
3f483535bd45aeeb704a58a3c6ec2dca
|
|
| BLAKE2b-256 |
39a08b7a9c4ea59ad9c804f8d84f16b6efdb0d0e5e7f9c80b42c912566b1ac83
|
File details
Details for the file argenta-1.1.1rc0-py3-none-any.whl.
File metadata
- Download URL: argenta-1.1.1rc0-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8229a40bd1b42b88c2aef3b116b097baa069a5e6d080ca052315cdfa76d55f6
|
|
| MD5 |
6828d2ae59a60a179fdf2fa437813532
|
|
| BLAKE2b-256 |
816bd554599ca409a6f947f76dd40129872d8256f14bf602469c8608613e81e4
|