Skip to main content

Python library for building modular CLI applications

Project description

Argenta

Library for creating modular CLI applications

RU - README.ru.md • DE - README.de.md

preview


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


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.7.tar.gz (4.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argenta-1.0.7-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file argenta-1.0.7.tar.gz.

File metadata

  • Download URL: argenta-1.0.7.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.16

File hashes

Hashes for argenta-1.0.7.tar.gz
Algorithm Hash digest
SHA256 8b51eb65f3c04f8260780c023a17008afff22a329850511979a07b7b7b3b1866
MD5 04cc40c94b9d03003a632c1926c47c76
BLAKE2b-256 f3f8419daac27f0fc76784ac9e0495d9b3eafb8641785d63edd3a89d9252441c

See more details on using hashes here.

File details

Details for the file argenta-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: argenta-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.16

File hashes

Hashes for argenta-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 56559fdbac06d955ce28b6b419ef303937f610a3a4cbffa83f2650c4c290d0e0
MD5 01463e5d10dce73d2d250dcd2f0d98aa
BLAKE2b-256 8b31fdd4711e91e4219f4ef888479ad095705bc29c28edc11e8ea0e579ac8e19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page