types-pkg-resources
Typing stubs for pkg_resources
Decision gist · record as of 2026-08-14
Yes, if you use pkg_resources and run static type checking. It has no runtime cost, no dependencies, and Apache-2.0 licensing poses no restrictions. The main caveat is that the stubs have not been updated since 2021-06-17; verify they match your environment before relying on them for critical type safety.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a type checker to be useful; the stubs alone do not enforce types at runtime.
- Low install friction with no runtime dependencies.
- Maintenance status is active, though the latest release dates to 2021-06-17 and no updates have occurred in 1884 days; it is auto-generated from typeshed, so staleness may reflect typeshed's own update cadence rather than abandonment.
License · maintenance · safety
Apache-2.0 license (permissive) — Licensed under Apache-2.0, a permissive license that allows commercial and private use with minimal restrictions, making it safe to include in most projects.
last release 2021-06-17 (1884 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 552,426 downloads/mo, #6,042 on PyPI
Alternatives
Verify before relying
pip install types-pkg-resources
# Then configure your type checker to use the stubs during static analysis- Whether the type stubs remain accurate for current versions of the target library.
- How frequently typeshed updates are reflected in new releases of this package.
- Which type checkers (mypy, PyCharm, pytype, etc.) are actively supported by these stubs.
What it is and what it does
This package provides PEP 561 type stubs for pkg_resources, enabling static type checking of code that uses that library. Type stubs are metadata files that tell type checkers what types functions and classes accept and return, allowing developers to catch type errors during development without modifying the underlying library.
The stubs are auto-generated from typeshed, the community repository of type information for Python packages. Installing this package integrates transparently with any compatible type checker and has no runtime dependencies or performance cost.
Use it for
- Enable static type checking of code that uses pkg_resources functions and classes.
- Catch type errors in resource access or entry point operations during development.
- Maintain type safety in projects that depend on pkg_resources for plugin discovery or data file access.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use pkg_resources and run static type checking.
It has no runtime cost, no dependencies, and Apache-2.0 licensing poses no restrictions. The main caveat is that the stubs have not been updated since 2021-06-17; verify they match your environment before relying on them for critical type safety.
Install
types-pkg-resources on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is active, though the latest release dates to 2021-06-17 and no updates have occurred in 1884 days; it is auto-generated from typeshed, so staleness may reflect typeshed's own update cadence rather than abandonment.
Requires a type checker to be useful; the stubs alone do not enforce types at runtime.
License in practice
Licensed under Apache-2.0, a permissive license that allows commercial and private use with minimal restrictions, making it safe to include in most projects.
Quickstart
pip install types-pkg-resources
# Then configure your type checker to use the stubs during static analysis
Verify before relying
- Whether the type stubs remain accurate for current versions of the target library.
- How frequently typeshed updates are reflected in new releases of this package.
- Which type checkers (mypy, PyCharm, pytype, etc.) are actively supported by these stubs.
Package facts
| License | Apache-2.0 license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,884 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 552,426 / month, #6,042 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseTyping :: Typed |
Evidence: types_pkg_resources-0.1.3-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 › “type stubs pkg_resources”
- types-pkg-resourcesProvides type stubs for pkg_resources to enable static type checking…
- importlib-resourcesProvides a backport of Python's standard library importlib.resources…
- entrypointsDiscovers and loads entry points from installed Python packages,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-backports · types-Flask · types-attrs · types-PyJWT · types-click · types-filelock · types-Werkzeug · types-jwt · types-geoip2 · types-futures