skillfed

types-humanfriendly

Typing stubs for humanfriendly

types-humanfriendly v10.0.1.20250319 210.6K downloads/30d#9,492 on PyPI5,108
Permissive license Apache-2.0 Active released

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 on this page — 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

types-humanfriendly on PyPI

pip

pip install types-humanfriendly

uv

uv add types-humanfriendly

poetry

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 the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 513 days since the last release
Last repo commit
First released
Downloads 210,572/month — #9,492 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: types_humanfriendly-10.0.1.20250319-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs humanfriendlymypy stubs humanfriendlypython type checking humanfriendlypep 561 type hintsstatic type checking stubspyright humanfriendly types
type-stubspep-561

More Software Development packages