$npx skillfedfor your agent

types-attrs

Typing stubs for attrs

SkipPyPI Software DevelopmentReleased Jun 2021194.6K downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_attrs-19.1.0-py2.py3-none-any.whl
v19.1.0 · released 2021-06-06

No—install this only if you are using attrs before version 18.2.0. For modern attrs (18.2.0 and later), uninstall this package and rely on attrs' native type annotations instead. The description explicitly recommends this approach.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only needed for attrs versions before 18.2.0; attrs 18.2.0 and later include native type annotations.
  • Low install friction with a pure-wheel distribution.
  • Maintenance is active with recent repository commits, though the package itself has not been updated since 2021-06-06; this is expected for a stub package that tracks typeshed.

License · maintenance · safety

Apache-2.0 license (permissive) — Apache-2.0 permissive license allows use in most projects without restriction.

last release 2021-06-06 (1895 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 194,600 downloads/mo, #9,828 on PyPI

Verify before relying

pip install types-attrs

Then use with mypy or other PEP 561-compatible type checkers in your project configuration.
  • Whether this stub package remains actively maintained in typeshed for modern attrs versions.
  • Compatibility matrix with current attrs releases and whether native annotations have fully superseded this package.
Same gist for agents: .md · .json

What it is and what it does

types-attrs is a PEP 561 type stub package auto-generated from typeshed that provides type information for the attrs library. It allows static type checkers—mypy, PyCharm, pytype, and others—to understand and validate code that uses attrs, catching type errors before runtime.

The package has no runtime dependencies and installs as a pure wheel. However, the description notes that attrs itself has included type annotations since version 18.2.0, making this stub package potentially unnecessary for users on newer attrs versions. The package has not been updated since 2021-06-06, which aligns with its role as a legacy compatibility shim.

Use it for

  • Type-check attrs-based code with mypy or other PEP 561-compatible type checkers when using older attrs versions.
  • Provide IDE type hints in PyCharm or other editors for attrs classes and decorators.
  • Validate attrs usage in a codebase that requires strict static type analysis.
  • Support type checking in projects pinned to attrs versions before 18.2.0.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—install this only if you are using attrs before version 18.2.0.

For modern attrs (18.2.0 and later), uninstall this package and rely on attrs' native type annotations instead. The description explicitly recommends this approach.

Install

types-attrs on PyPI

Before you install

Low install friction with a pure-wheel distribution. Maintenance is active with recent repository commits, though the package itself has not been updated since 2021-06-06; this is expected for a stub package that tracks typeshed.

Only needed for attrs versions before 18.2.0; attrs 18.2.0 and later include native type annotations.

License in practice

Apache-2.0 permissive license allows use in most projects without restriction.

Quickstart

pip install types-attrs

Then use with mypy or other PEP 561-compatible type checkers in your project configuration.

Verify before relying

  • Whether this stub package remains actively maintained in typeshed for modern attrs versions.
  • Compatibility matrix with current attrs releases and whether native annotations have fully superseded this package.

Package facts

LicenseApache-2.0 license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 1,895 days since the last release
Last repo commit
First released
Downloads194,600 / month, #9,828 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseTyping :: Typed

Evidence: types_attrs-19.1.0-py2.py3-none-any.whl

Tags

Capabilities
type stubs for attrsattrs type checkingmypy attrs supportpep 561 type stubsattrs typing annotationsstatic type checking attrs
Topics
type-stubstyping

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 for attrs”

  • types-attrsProvides PEP 561 type stubs for the attrs package, enabling type…
  • desertDesert generates marshmallow serialization schemas automatically from…
  • jsonsConverts Python objects (dataclasses, attrs classes, and plain…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also types-backports · types-MarkupSafe · types-maxminddb · types-orjson · types-click · types-dataclasses · types-tornado · types-jwt · data-science-types · pybind11-stubgen