--- id: aenum version: "3.1.17" license: BSD License license_treatment: permissive maintenance: active --- # aenum — Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install aenum uv add aenum poetry add aenum ## Description Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants WARNING: Version 3.1 has breaking changes in custom Enum settings WARNING: WARNING: AutoNumber has been removed WARNING: AutoValue has been removed aenum includes a Python stdlib Enum-compatible data type, as well as a metaclass-based NamedTuple implementation and a NamedConstant class. An Enum is a set of symbolic names (members) bound to unique, constant values. Within an enumeration, the members can be compared by identity, and the enumeration itself can be iterated over. Support exists for unique values, multiple values, auto-numbering, and suspension of aliasing (members with the same value are not identical), plus the ability to have values automatically bound to attributes. A NamedTuple is a class-based, fixed-length tuple with a name for each possible position accessible using attribute-access notation as well as the standard index notation. A NamedConstant is a class whose members cannot be rebound; it lacks all other Enum capabilities, however. Enum classes: - Enum: Base class for creating enumerated constants. - IntEnum: Base class for creating enumerated constants... ## AI interpretation — verify before relying aenum provides advanced enumeration types compatible with Python's standard Enum, plus NamedTuple and NamedConstant classes for defining symbolic constants and fixed-length named tuples. Verdict: aenum is a stable, actively maintained library offering enhanced enumeration capabilities beyond Python's stdlib Enum. With zero known vulnerabilities, permissive licensing, no dependencies, and broad Python version support, it is a low-risk choice for projects needing advanced enum features—though note version 3.1 introduced breaking changes to custom Enum settings. [View on SkillFed](https://skillfed.io/packages/aenum) · [View on PyPI](https://pypi.org/project/aenum/)