--- id: backports-entry-points-selectable version: "1.3.0" license: unclear license_treatment: permissive maintenance: active --- # backports.entry-points-selectable — Compatibility shim providing selectable entry points for older implementations License: permissive · Maintenance: active · Downloads: 611.3K/mo ## What it is and what it does This package is a compatibility shim that bridges the gap between older versions of Python and importlib_metadata that lack support for selectable entry points. It lets you use the modern entry_points() API with keyword arguments or .select() methods on Python versions and importlib_metadata versions that would otherwise not support them, while avoiding deprecation warnings. The package is designed for library and application maintainers who need to support older Python environments but want to use the newer entry point selection interface. It requires only importlib_metadata as a runtime dependency and can be vendored directly into a project if adding a dependency is a concern. Most projects should instead simply require importlib_metadata >= 3.6, but this shim exists for cases where that constraint is not possible. Use it for: - Library that needs to support older Python while using modern entry point selection syntax. - Application constrained to older importlib_metadata versions but needing selectable entry points. - Avoiding deprecation warnings when calling entry_points() on older Python versions. - Vendoring into a project to avoid adding a new external dependency. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides forward-compatible access to selectable entry points on older Python versions and importlib_metadata versions, avoiding deprecation warnings. Yes, if you maintain a library or application that must support older Python or importlib_metadata versions and need to use selectable entry points. Otherwise, simply requiring importlib_metadata >= 3.6 is simpler. No security issues, low friction, and stable maintenance make it safe to use when needed. ## Install pip install backports-entry-points-selectable uv add backports-entry-points-selectable poetry add backports-entry-points-selectable ## Installing backports.entry-points-selectable Before you install: Low install friction with a single runtime dependency on importlib_metadata. Actively maintained with stable production status. License in practice: MIT license permits commercial and private use with minimal restrictions; suitable for inclusion in most projects. Quickstart: pip install backports.entry-points-selectable from backports.entry_points_selectable import entry_points eps = entry_points(group='console_scripts') for ep in eps: print(ep.name) Requires Python 3.8 or later; intended for use on Python versions older than 3.10 or where importlib_metadata is older than 3.6. Verify before relying: - Whether vendoring this module into a project is feasible as an alternative to adding the dependency. - Performance characteristics when used with large numbers of entry points. - Specific deprecation warnings avoided and their conditions. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 611.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags entry points compatibility, importlib metadata backport, selectable entry points, entry points shim, importlib_metadata compatibility, entry point selection, backport, entry-points [View on SkillFed](https://skillfed.io/packages/backports-entry-points-selectable) · [View on PyPI](https://pypi.org/project/backports-entry-points-selectable/)