17 dépôts
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 est un analyseur d'arguments de ligne de commande et un outil d'interface déclarative qui convertit les entrées brutes du terminal en une carte de données structurée. Il dérive sa logique d'analyse et ses exigences directement d'un message d'aide standardisé de style POSIX, utilisant la documentation comme spécification formelle pour l'interface. Le système implémente un analyseur de modèle d'utilisation POSIX pour traduire les chaînes d'aide lisibles par l'homme en règles pour extraire les options et les arguments positionnels. Il génère automatiquement des écrans d'aide et des informations de version basés sur les modèles d'utilisation internes définis par l'utilisateur. L'outil garantit une expérience utilisateur prévisible grâce à un ordre strict des arguments et des options, empêchant le mélange des entrées une fois que les arguments positionnels sont rencontrés. Il fournit une implémentation complète pour la conception d'interfaces en ligne de commande, faisant correspondre les jetons d'entrée aux modèles prédéfinis pour peupler les structures de données.
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.