$npx skillfedfor your agent

entrypoint

Decorated functions as entry points.

With conditionsPyPI UtilitiesReleased Jun 2024110.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — entrypoint-2.1.0-py3-none-any.whl
v2.1.0 · released 2024-06-16 · Python >=3.8 · 3 runtime deps: attrs, named, typing-aliases

Yes, if you write console scripts regularly and want cleaner, more explicit entry point declarations. The package is stable, has no security issues, and adds minimal dependency weight. The dormant maintenance is not a concern—it is feature-complete and unlikely to need updates. Install it for codebases where you value readability and consistency in script structure.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or above.
  • Low friction installation with a pure Python wheel.
  • Maintenance is dormant—last release was 789 days ago—but the package is marked Production/Stable and has no known vulnerabilities, suggesting it is feature-complete rather than abandoned.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no restrictions on commercial or private use, modification, or redistribution, making this safe for any project.

last release 2024-06-16 (789 days) · last repo commit 2024-06-16 · 4 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,357 downloads/mo, #12,467 on PyPI

Verify before relying

from entrypoint import entrypoint

@entrypoint(__name__)
def main() -> None:
    print("Hello, world!")

# Run: python file.py → prints "Hello, world!"
# Import: import file → no output
  • Whether the package is actively maintained or considered feature-complete and stable by design.
  • Real-world adoption rate beyond the top 15000 PyPI packages metric.
Same gist for agents: .md · .json

What it is and what it does

entrypoint is a lightweight decorator library that simplifies defining console entry points in Python scripts. Instead of writing the standard `if __name__ == "__main__":` boilerplate, you decorate your main function with `@entrypoint(__name__)` and it executes only when the script runs directly, not when imported. The library depends on attrs, named, and typing-aliases for its implementation.

The package offers multiple usage patterns: a simple decorator form for immediate execution, a `.call()` method for manual control over when the function runs, and an `is_main()` function that mimics the traditional `if __name__ == "__main__":` check. It enforces the convention that entry point functions take no arguments and return nothing, though this is only validated by type-checkers, not at runtime.

Use it for

  • Simplify CLI script definitions by replacing repetitive `if __name__ == "__main__":` blocks with a clean decorator.
  • Ensure main functions are never accidentally executed during module imports in larger projects.
  • Build command-line tools where you want explicit, type-safe entry point declarations.
  • Migrate existing scripts to a more declarative entry point style without changing logic.
  • Enforce consistent entry point patterns across a team or codebase.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you write console scripts regularly and want cleaner, more explicit entry point declarations.

The package is stable, has no security issues, and adds minimal dependency weight. The dormant maintenance is not a concern—it is feature-complete and unlikely to need updates. Install it for codebases where you value readability and consistency in script structure.

Install

entrypoint on PyPI

Before you install

Low friction installation with a pure Python wheel. Maintenance is dormant—last release was 789 days ago—but the package is marked Production/Stable and has no known vulnerabilities, suggesting it is feature-complete rather than abandoned.

Requires Python 3.8 or above.

License in practice

MIT license is permissive and imposes no restrictions on commercial or private use, modification, or redistribution, making this safe for any project.

Quickstart

from entrypoint import entrypoint

@entrypoint(__name__)
def main() -> None:
    print("Hello, world!")

# Run: python file.py → prints "Hello, world!"
# Import: import file → no output

Verify before relying

  • Whether the package is actively maintained or considered feature-complete and stable by design.
  • Real-world adoption rate beyond the top 15000 PyPI packages metric.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
attrsnamedtyping-aliases
MaintenanceDormant 789 days since the last release
Last repo commit
First released
Downloads110,357 / month, #12,467 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: UtilitiesTyping :: Typed

Evidence: entrypoint-2.1.0-py3-none-any.whl

Tags

Capabilities
entry point decoratorconsole script boilerplatemain function decoratordecorated entry pointsscript entry point helperavoid if __name__ == __main__entry point abstraction
Topics
cli-scriptingdecorator-pattern
PyPI keywords
pythonentrypointentry

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 › “entry point decorator”

  • entrypointProvides a decorator to mark functions as entry points, eliminating…
  • catalogueProvides lightweight function registries that let you register and…
  • backports.entry-points-selectableProvides forward-compatible access to selectable entry points on…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

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.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

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.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo

See also entrypoints · logdecorator · entrypoint2 · Autologging · typing-aliases · backports.entry-points-selectable · decopatch · dpgui · mixed-methods · cliff