{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Converts Python function signatures and docstrings into command-line interfaces using a single decorator, with automatic argparse configuration.","skillfed_tags":["cli-generator","argparse-wrapper","decorator"],"use_cases":["Quickly turn a utility function into a command-line tool without writing argparse boilerplate.","Generate CLI help and argument handling automatically from function signatures and docstrings.","Build simple scripts where the same function needs to be callable both from CLI and as an imported module.","Prototype command-line tools during development before committing to a full CLI framework.","Create repeating arguments (e.g., multiple file inputs) with minimal code."],"what_it_does":"entrypoint2 is a decorator-based CLI generator that reads a Python function's type hints, default values, and docstring to automatically build an argparse command-line interface. You add a single @entrypoint decorator to an existing function, and the package generates a full CLI with positional and optional arguments, type conversion, help text, automatic --debug and --version flags, and short flag aliases\u2014all while preserving the original function's behavior so it can still be called programmatically or used with Sphinx autodoc.\n\nIt's designed for rapid prototyping and simple CLIs where you want to avoid writing boilerplate argparse code. The package has no runtime dependencies, installs easily, and supports Python 3.6 through 3.12. Maintenance is dormant (last release June 2022) but the codebase is stable with no known security issues.","worth_installing":"Yes, if you need a lightweight decorator-based CLI for simple scripts or prototypes and don't require active maintenance. The package is stable, has no dependencies, and works across modern Python versions. No, if you need ongoing support, active bug fixes, or a more feature-rich CLI framework for production tools."},"id":"entrypoint2","links":{"html":"https://skillfed.io/packages/entrypoint2","md":"https://skillfed.io/packages/entrypoint2.md","pypi":"https://pypi.org/project/entrypoint2/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-06-11","license_spdx":null,"license_treatment":"permissive","name":"entrypoint2","python_support":"unspecified","summary":"easy to use command-line interface for python modules"},"popularity":{"monthly_downloads":568656,"position":5965,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1"}
