--- id: types-pkg-resources version: "0.1.3" license: Apache-2.0 license license_treatment: permissive maintenance: active --- # types-pkg-resources — Typing stubs for pkg_resources License: permissive · Maintenance: active · Downloads: 552.4K/mo ## 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 above — verify before relying. Provides type stubs for pkg_resources to enable static type checking in tools like mypy and PyCharm. 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 pip install types-pkg-resources uv add types-pkg-resources poetry add types-pkg-resources ## Installing types-pkg-resources 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. 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 Requires a type checker to be useful; the stubs alone do not enforce types at runtime. 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: unspecified - Install friction: low - Maintenance: active - Downloads: 552.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs pkg_resources, mypy type hints, static type checking, pep 561 type stubs, typing support, type annotations, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-pkg-resources) · [View on PyPI](https://pypi.org/project/types-pkg-resources/)