entrypoint2
easy to use command-line interface for python modules
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with no runtime dependencies.
- Dormant maintenance (last release 2022-06-11, last commit 2023-11-04) but no known vulnerabilities and stable across supported Python versions.
License · maintenance · safety
BSD (permissive) — BSD license is permissive; you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
last release 2022-06-11 (1525 days) · last repo commit 2023-11-04 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 568,656 downloads/mo, #5,965 on PyPI
Alternatives
Verify before relying
from entrypoint2 import entrypoint
@entrypoint
def hello(message):
print(message)
# Call from CLI: python3 -m module_name hello "hi"- Whether the package works correctly with Python 3.12 despite being marked as supporting it in classifiers but with no recent release to confirm.
- Current state of the GitHub repository and whether it accepts contributions or is effectively abandoned.
What it is and 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—all while preserving the original function's behavior so it can still be called programmatically or used with Sphinx autodoc.
It'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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
entrypoint2 on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Dormant maintenance (last release 2022-06-11, last commit 2023-11-04) but no known vulnerabilities and stable across supported Python versions.
License in practice
BSD license is permissive; you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
from entrypoint2 import entrypoint
@entrypoint
def hello(message):
print(message)
# Call from CLI: python3 -m module_name hello "hi"
Verify before relying
- Whether the package works correctly with Python 3.12 despite being marked as supporting it in classifiers but with no recent release to confirm.
- Current state of the GitHub repository and whether it accepts contributions or is effectively abandoned.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,525 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 568,656 / month, #5,965 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: entrypoint2-1.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “python decorator cli”
- entrypoint2Converts Python function signatures and docstrings into command-line…
- clizeClize turns Python functions into command-line interfaces…
- msgspec-clickGenerates Click command-line options automatically from msgspec type…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also args · clize · arguably · argh · autocommand · plac · targ · entrypoint · mando · funcsigs