--- id: types-dataclasses version: "0.6.6" license: Apache-2.0 license license_treatment: permissive maintenance: active --- # types-dataclasses — Typing stubs for dataclasses License: permissive · Maintenance: active · Downloads: 757.1K/mo ## What it is and what it does types-dataclasses is a PEP 561 type stub package that provides type information for Python's dataclasses module. It was designed to help static type checkers like mypy, PyCharm, and pytype understand and validate code that uses dataclasses. The package is explicitly unmaintained and has not been updated since 2022-06-30. For modern Python versions, the dataclasses module in the standard library includes native type support, making this stub package potentially redundant for most users. Use it for: - Type-checking projects that use dataclasses on Python versions where the standard library lacks type annotations - Providing type hints to static checkers when working with codebases that cannot upgrade Python versions - Ensuring type safety in projects that must maintain compatibility with older Python releases ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type stubs for Python's dataclasses module, enabling static type checkers like mypy and PyCharm to validate code using dataclasses. No. This package is explicitly unmaintained and has not been updated since 2022-06-30. Modern Python versions include dataclasses in the standard library with built-in type support. Install only if maintaining legacy code on an older Python version that lacks native dataclasses type annotations. ## Install pip install types-dataclasses uv add types-dataclasses poetry add types-dataclasses ## Installing types-dataclasses Before you install: Low install friction with no runtime dependencies. However, the package is explicitly unmaintained and has not been updated since 2022-06-30, over 1506 days ago. License in practice: Licensed under Apache-2.0, a permissive license that poses no restrictions on use or redistribution in most contexts. Quickstart: pip install types-dataclasses Then configure your type checker (mypy, PyCharm, pytype) to use the stubs when checking code that imports from dataclasses. Verify before relying: - Whether this stub package remains necessary for type checking on current Python versions, given dataclasses is now in the standard library ## Package facts - License: Apache-2.0 license (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 757.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags dataclasses type stubs, mypy dataclasses typing, type checking dataclasses, pep 561 stubs, static type hints dataclasses, type-stubs, unmaintained [View on SkillFed](https://skillfed.io/packages/types-dataclasses) · [View on PyPI](https://pypi.org/project/types-dataclasses/)