17 repositorios
Extensive collection of libraries for building CLI applications in Python.
Explore 17 awesome GitHub repositories matching part of an awesome list · Python CLI Frameworks. Refine with filters or upvote what's useful.
Python Fire is a library that automatically generates command line interfaces from any Python object, function, or class. It removes the need for manual argument parsing by mapping Python dictionaries, lists, and classes directly to terminal commands. The tool converts Python docstrings into formatted terminal help screens and produces shell scripts to enable tab-completion for available commands. It can wrap existing libraries or external modules to expose their functionality via the terminal without requiring modifications to the original source code. The library supports hierarchical comm
A tool that maps Python dictionaries, lists, and classes directly to terminal commands for rapid prototyping and debugging.
Click is a Python framework for building command-line interfaces. It provides a declarative approach to defining command structures, allowing developers to map functions to command-line arguments, options, and nested groups using decorators. The framework handles the complexities of parameter parsing, type validation, and help documentation generation automatically. The project distinguishes itself through its hierarchical context system, which propagates configuration and state across nested commands, and its environment-aware parameter resolution that prioritizes command-line inputs, enviro
Package for creating composable command-line interfaces.
This project is a Python terminal user interface library and toolkit designed for building interactive command-line applications. It provides a terminal input manager and a widget toolkit for rendering dashboards, menus, and editors within a terminal emulator. The library enables the creation of full-screen terminal interfaces and interactive shells. It distinguishes itself with advanced input handling, including lexer-based syntax highlighting for visual feedback on code structure and support for industry-standard keyboard navigation modes such as Emacs and Vi. The capability surface covers
Library for building powerful interactive CLI applications.
Docopt es un analizador de argumentos de línea de comandos y herramienta de interfaz declarativa que convierte la entrada cruda de la terminal en un mapa de datos estructurado. Deriva su lógica de análisis y requisitos directamente de un mensaje de ayuda estandarizado al estilo POSIX, utilizando la documentación como especificación formal para la interfaz. El sistema implementa un analizador de patrones de uso POSIX para traducir cadenas de ayuda legibles por humanos en reglas para extraer opciones y argumentos posicionales. Genera automáticamente pantallas de ayuda e información de versión basada en los patrones de uso internos definidos por el usuario. La herramienta garantiza una experiencia de usuario predecible mediante un orden estricto de argumentos y opciones, evitando la mezcla de entradas una vez que se encuentran argumentos posicionales. Proporciona una implementación completa para el diseño de interfaces de línea de comandos, haciendo coincidir los tokens de entrada con patrones predefinidos para poblar estructuras de datos.
Pythonic argument parser based on help messages.
Translates command-line arguments into the same configuration dictionary used by the Python API.
A Python module for common interactive command line user interfaces
Library for creating beautiful, interactive CLI prompts.
Library for rendering ASCII art text in terminals.
Create beautiful and testable command-line interfaces.
Library for creating beautiful and testable interfaces.
Application Framework for Python
Advanced application framework focused on CLI development.
Intuitive, easy CLIs based on python type hints.
Intuitive CLI builder based on type hints.
CLI interfaces & config objects, from types
Tool for generating interfaces and configuration objects.
Tap is a typed modernization of Python's argparse library.
Typed modernization of the standard argument parser.
simple-parsing allows you to transform your ugly argparse scripts into beautifully structured, strongly typed little works of art. This isn't a fancy, complicated new command-line tool either, this simply adds new features to plain-old argparse! Using dataclasses, simple-parsing makes it easier…
Library for creating structured, typed CLI interfaces.
plac is a Python package that can generate command line parameters from function signatures.
Library to generate parameters from function signatures.
Team and repository tags
Framework for building programs with subcommands and formatters.
docopt-ng is a fork of the original docopt, now maintained by the jazzband project. Now with maintenance, typehints, and complete test coverage!
Maintained version of the docopt argument parser.