skillfed

types-enum34

Typing stubs for enum34

types-enum34 v1.1.8 543.6K downloads/30d#6,083 on PyPI5,108
Permissive license Apache-2.0 license Active released

What it is and what it does

types-enum34 is a PEP 561 type stub package that provides type information for enum34, allowing tools like mypy, PyCharm, and pytype to understand and validate code that uses enum34 without needing the actual enum34 source code at type-check time.

The package is generated from typeshed, the community-maintained repository of type stubs for the Python ecosystem. It contains no runtime code—only type definitions—and installs with zero dependencies. It is useful primarily for projects that depend on enum34 for compatibility with older Python versions or for codebases that have not yet migrated to the standard library's enum module.

Use it for:

  • Enable mypy or PyCharm to type-check code that imports from enum34 without false positives
  • Maintain type safety in legacy projects that still depend on the enum34 backport
  • Support IDE autocomplete and type hints for enum34 usage in older codebases
  • Validate enum34-based code in CI/CD pipelines using static type checkers

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type stubs for the enum34 package, enabling static type checkers like mypy and PyCharm to understand enum34 code.

Yes, if your project uses enum34 and you run static type checkers. The package has no install friction, no dependencies, and a permissive license. However, consider whether enum34 itself is still necessary—modern Python versions include enum in the standard library, making this package relevant mainly for legacy or compatibility-focused projects.

Install

types-enum34 on PyPI

pip

pip install types-enum34

uv

uv add types-enum34

poetry

poetry add types-enum34

Installing types-enum34

Before you install

Low friction install with no runtime dependencies. The package is actively maintained as part of typeshed, with recent repository activity as of 2026-08-14.

License in practice

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

Quickstart

pip install types-enum34==1.1.8

# Then use with mypy or other type checkers
# mypy will automatically find the stubs when checking code that imports enum34

Verify before relying

  • Whether enum34 itself is still actively maintained or if modern Python's built-in enum module is the recommended alternative
  • Whether this package is necessary for Python versions where enum is part of the standard library

Package facts

License Apache-2.0 license (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 1,667 days since the last release
Last repo commit
First released
Downloads 543,617/month — #6,083 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: types_enum34-1.1.8-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseTyping :: Stubs Only

Tags

type stubs enum34mypy enum34 typesstatic type checking enumspep 561 type stubsenum34 type hintspyright enum34type annotations enum
type-stubsstatic-analysis

More Software Development packages