Skip to main content

Python library for building modular CLI applications

Project description

Argenta

Библиотека для создания модульных CLI приложeний

preview


Установка

pip install argenta

or

poetry add argenta

Быстрый старт

Пример простейшего приложения

# 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()

Полная документация | 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.2.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.2-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for argenta-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8ab4bb8b515dc43d26488ee580c8a9a018599e8e8defbe29cb3929f030254694
MD5 75a62fc162bd1ebf77145c9a4a1a9fcf
BLAKE2b-256 d91b781e343f86788333ec8385643db45a0df4fe0241bd01d7eb681812fe2735

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for argenta-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fbde606f24d06169efbafe39f25ba014925fb5de264dd69815654d2d2f0af7c2
MD5 09d4b5bdca72afc77370493aae6d1e0c
BLAKE2b-256 bccb9bf126624e0c573bcbb35b5adf4e4688265ab70cf31b6dd8260d8dd4db20

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