2025-10-28 10:34:34 +03:00
2025-10-22 14:01:27 +03:00
2025-10-28 10:34:34 +03:00
2025-10-15 14:53:36 +03:00
2025-10-28 09:38:07 +03:00
2025-10-28 09:38:07 +03:00
2025-10-28 09:38:07 +03:00
2025-10-28 09:38:07 +03:00
2025-10-08 13:40:20 +03:00
2025-10-16 09:33:46 +03:00
2025-10-19 15:12:18 +03:00
2025-10-19 21:10:07 +03:00
2025-02-06 23:56:33 +03:00
2025-10-28 09:38:07 +03:00
2025-08-12 12:26:37 +03:00
2025-08-12 12:26:37 +03:00
2025-08-12 12:26:37 +03:00
2025-10-19 22:31:02 +03:00

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

S
Description
No description provided
Readme MIT 16 MiB
Languages
Python 99.6%
Just 0.4%