--- id: types-humanfriendly version: "10.0.1.20250319" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-humanfriendly — Typing stubs for humanfriendly License: permissive · Maintenance: active · Downloads: 210.6K/mo ## What it is and what it does This is a type stub package that sits alongside humanfriendly to provide type annotations for static analysis tools. It implements PEP 561, the standard for distributing type information separately from runtime code, allowing type checkers like mypy and pyright to understand humanfriendly's API without modifying the original package. The stubs were generated from typeshed and tested against mypy 1.15.0, pyright 1.1.396, and pytype 2024.10.11. However, the package is explicitly unmaintained—future updates are contributed directly to the typeshed project rather than released as new versions here, so it serves as a snapshot for humanfriendly 10.0.* compatibility. Use it for: - Enable mypy or pyright to type-check code that imports and uses humanfriendly functions without type errors. - Integrate humanfriendly into a typed codebase where strict type checking is enforced in CI/CD. - Provide IDE autocomplete and type hints for humanfriendly in editors like PyCharm and VS Code. - Validate humanfriendly usage in a monorepo or library that requires full type coverage. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides PEP 561 type stubs for the humanfriendly package, enabling static type checkers like mypy, pyright, and pytype to validate code that uses humanfriendly. Yes, if you use humanfriendly 10.0.* and want static type checking. Install it alongside humanfriendly to unlock type support in mypy, pyright, or similar tools. Be aware it is unmaintained and will not track future humanfriendly versions—updates go to typeshed instead. ## Install pip install types-humanfriendly uv add types-humanfriendly poetry add types-humanfriendly ## Installing types-humanfriendly Before you install: Low friction: a pure-Python wheel with no runtime dependencies. Maintenance is active but the package itself is explicitly unmaintained—updates are contributed upstream to typeshed rather than released here. License in practice: Apache-2.0 is permissive; you can use this package freely in most contexts, including commercial projects, with minimal restrictions. Quickstart: pip install types-humanfriendly # Then use with mypy, pyright, or another PEP 561 type checker # in your project configuration (e.g., mypy.ini or pyproject.toml) # to enable type checking of humanfriendly imports Requires Python >=3.9 and a compatible type checker (mypy, pyright, pytype, or similar) to be useful. Verify before relying: - Whether this package's stubs remain accurate for humanfriendly versions beyond 10.0.*, given the explicit unmaintained status. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 210.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs humanfriendly, mypy stubs humanfriendly, python type checking humanfriendly, pep 561 type hints, static type checking stubs, pyright humanfriendly types, type-stubs, pep-561 [View on SkillFed](https://skillfed.io/packages/types-humanfriendly) · [View on PyPI](https://pypi.org/project/types-humanfriendly/)