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


Argenta allows you to encapsulate CLI functionality in isolated, abstracted environments. Eg: you are creating a utility similar to the Metasploit Framework, where the user first logs into a specific scope (for example, selects a module to scan), and then gets access to a set of commands specific only to that context. Argenta provides a simple and concise way to build such an architecture.


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.1.1.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.1.1-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for argenta-1.1.1.tar.gz
Algorithm Hash digest
SHA256 90f7394e27acb7280447118feb12ab764abf2e8edd6e4310e28eea5491f94cb9
MD5 2c444b39f89e032574a03756ae690fe0
BLAKE2b-256 e49242ff146535de90e9b71385e940f3d58706fb8d628250dcc0a5c18b868e3f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for argenta-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e5f12882d229477ea3b065c6242315ee1fe64fd70214cea1c5a17cda7963038
MD5 195ea34161c17e927de3a59382a88cb5
BLAKE2b-256 d4e7d91200da4ef4741bfd775718887a30b57226d19c5f87a3b95dbf7bd39c95

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