enum34
Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4
Decision gist · record as of 2026-08-14
No, unless you are actively maintaining a legacy codebase locked to Python 2 or early Python 3. The package is abandoned, targets obsolete Python versions, and the enum module is now built into all supported Python releases. Modern projects should use the standard library enum directly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Targets Python 2.4–3.3; modern Python versions include enum in the standard library.
- Low install friction with no runtime dependencies.
- However, the package is abandoned (last release 2020-03-10, over 2348 days ago) and targets Python versions that are themselves long out of support.
License · maintenance · safety
BSD License (permissive) — BSD License (permissive) places no restrictions on use, modification, or distribution.
last release 2020-03-10 (2348 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,312,551 downloads/mo, #1,547 on PyPI
Alternatives
Verify before relying
pip install enum34
from enum import Enum
class Fruit(Enum):
apple = 1
banana = 2
orange = 3
Fruit.banana
# <Fruit.banana: 2>- Whether enum34 remains compatible with current Python tooling and dependency resolvers given its age and abandonment.
- Current usage patterns outside of legacy codebases that cannot upgrade.
What it is and what it does
enum34 is a backport of Python 3.4's enum module to older Python versions (2.4–3.3). It lets you define enumerations—sets of symbolic names bound to constant values—that can be compared by identity, iterated, and looked up by name or value. The package provides the same Enum class and API as the standard library, so code written against it works identically to code using the built-in enum in modern Python.
This package was essential when Python 3.4 was new and many projects still supported Python 2.7 or early Python 3 releases. Today, it serves primarily as a dependency for legacy codebases that cannot upgrade. Since Python 2 and 3.3 are no longer supported by the Python community, and the package itself has not been maintained since 2020, installing it is rarely justified except to satisfy constraints in very old projects.
Use it for
- Maintaining legacy Python 2.7 codebases that need enumeration support without upgrading to Python 3.
- Porting code from Python 3.4+ back to Python 3.3 or earlier when targeting older runtime environments.
- Satisfying dependency chains in archived projects that explicitly require enum34 but cannot be updated.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are actively maintaining a legacy codebase locked to Python 2 or early Python 3.
The package is abandoned, targets obsolete Python versions, and the enum module is now built into all supported Python releases. Modern projects should use the standard library enum directly.
Install
enum34 on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned (last release 2020-03-10, over 2348 days ago) and targets Python versions that are themselves long out of support.
Targets Python 2.4–3.3; modern Python versions include enum in the standard library.
License in practice
BSD License (permissive) places no restrictions on use, modification, or distribution.
Quickstart
pip install enum34
from enum import Enum
class Fruit(Enum):
apple = 1
banana = 2
orange = 3
Fruit.banana
# <Fruit.banana: 2>
Verify before relying
- Whether enum34 remains compatible with current Python tooling and dependency resolvers given its age and abandonment.
- Current usage patterns outside of legacy codebases that cannot upgrade.
Package facts
| License | BSD License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,348 days since the last release |
| First released | |
| Downloads | 9,312,551 / month, #1,547 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2.4Programming Language :: Python :: 2.5Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.3Topic :: Software Development |
Evidence: enum34-1.1.10-py2-none-any.whl; enum34-1.1.10-py3-none-any.whl
Tags
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 › “enumeration support legacy python”
- enum34Provides enumeration support for older Python versions by backporting…
- backports.strenumProvides StrEnum, a string-based enumeration class from Python 3.11,…
- serialxSerialx provides synchronous and native asynchronous APIs for serial…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
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.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
See also aenum · constantly · enum-compat · backports.strenum · types-enum34 · matrix-enum · django-enum · parse-type · ipaddress · typing