{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"}],"enrichment":{"capability":"Converts Python functions and their docstrings into command-line interfaces with minimal code changes, supporting nested subcommands and automatic type conversion.","skillfed_tags":["cli-generation","argparse-wrapper","decorator-based"],"use_cases":["Quickly add a CLI to a script without writing argparse boilerplate or separate help text.","Build multi-level command hierarchies (e.g., git-like subcommands) using only function naming.","Convert a library of utility functions into a command-line tool with automatic help generation.","Generate a CLI from an existing Python script using python3 -m arguably without modifying the source.","Accept complex structured input (objects, enums, lists) from the command line with automatic type conversion."],"what_it_does":"arguably is a Python CLI framework that generates command-line interfaces directly from function definitions and docstrings. Instead of writing separate argument parsing code, you decorate functions with @arguably.command, and arguably automatically builds a CLI that mirrors the function signature\u2014required arguments become positional, defaults become optional, and keyword-only arguments become options. It parses docstrings in multiple formats (reStructuredText, Google, Numpydoc, Epydoc) to populate help text, and uses type annotations to handle automatic conversion of arguments to the correct types, including support for enums, lists, tuples, and custom objects.\n\nThe package is built on argparse and depends only on docstring-parser for docstring extraction. It supports nested subcommands via function naming conventions (e.g., s3__ls becomes s3 ls), and can also be invoked without any code integration via python3 -m arguably on an existing script. It's designed for developers who want CLI functionality with minimal boilerplate and no need to learn a separate DSL.","worth_installing":"Yes, if you need a lightweight CLI framework and can accept dormant maintenance. The package is stable, has no known vulnerabilities, low install friction, and works well for straightforward CLI needs. However, verify the license status before use in proprietary contexts, and be aware that active development has paused\u2014bug fixes or new features are unlikely without community contribution."},"id":"arguably","links":{"html":"https://skillfed.io/packages/arguably","md":"https://skillfed.io/packages/arguably.md","pypi":"https://pypi.org/project/arguably/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-05-10","license_spdx":null,"license_treatment":"unclear","name":"arguably","python_support":"supports_current","summary":"The best Python CLI library, arguably."},"popularity":{"monthly_downloads":140927,"position":11259,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3.0"}
