$npx skillfedfor your agent

aenum

Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants

Worth itPyPI Software DevelopmentReleased Mar 202639.7M downloads / moBSD LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aenum-3.1.17-py2-none-any.whl · aenum-3.1.17-py3-none-any.whl
v3.1.17 · released 2026-03-20

Yes. aenum is actively maintained, has no security vulnerabilities, carries a permissive BSD license, and installs with zero dependencies. It's worth installing if you need enum features beyond the standard library (bitwise flags, auto-numbering, ordered comparisons) or if you support older Python versions. Be aware that version 3.1 removed AutoNumber and AutoValue and changed custom Enum settings—review the changelog if upgrading from earlier versions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction: pure Python wheels for both Python 2 and 3, no runtime dependencies, and actively maintained with a recent commit on 2026-06-11.

License · maintenance · safety

BSD License (permissive) — BSD License (permissive) means you can use, modify, and distribute aenum freely in commercial and open-source projects with minimal restrictions.

last release 2026-03-20 (147 days) · last repo commit 2026-06-11 · 209 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 39,708,100 downloads/mo, #689 on PyPI

Verify before relying

pip install aenum

from aenum import Enum, Flag

class Color(Enum):
    RED = 1
    GREEN = 2
    BLUE = 3

class Permission(Flag):
    READ = 1
    WRITE = 2
    EXECUTE = 4
  • Whether version 3.1's breaking changes in custom Enum settings affect existing code using earlier versions.
  • Whether AutoNumber and AutoValue removal in version 3.1 impacts codebases that relied on those features.
Same gist for agents: .md · .json

What it is and what it does

aenum is a library that extends Python's standard Enum with additional enumeration types and utility functions. It provides Enum, IntEnum, Flag, and IntFlag classes for creating symbolic constants, plus specialized variants like AutoNumberEnum (auto-assigns int values), OrderedEnum (adds comparison operators), and UniqueEnum (enforces one name per value). It also includes NamedTuple for fixed-length tuples with named field access and NamedConstant for immutable constants.

The library is designed as a drop-in enhancement to the stdlib Enum, offering features like bitwise operations on Flag members, automatic value binding to attributes, and helper functions (convert, extend_enum, export, unique decorator) for common enumeration patterns. It supports Python 2.7 and Python 3.3 through 3.13, making it useful for codebases that need richer enum semantics or compatibility across multiple Python versions.

Use it for

  • Define status or state constants with comparison and iteration support.
  • Create permission or feature flags that can be combined with bitwise operators.
  • Build fixed-length data structures with named fields as an alternative to other tuple implementations.
  • Enforce unique enum values to prevent accidental aliasing of different names to the same constant.
  • Convert existing module-level constants into a proper Enum for type safety and IDE autocompletion.

Worth the install?

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

Worth it

Yes.

aenum is actively maintained, has no security vulnerabilities, carries a permissive BSD license, and installs with zero dependencies. It's worth installing if you need enum features beyond the standard library (bitwise flags, auto-numbering, ordered comparisons) or if you support older Python versions. Be aware that version 3.1 removed AutoNumber and AutoValue and changed custom Enum settings—review the changelog if upgrading from earlier versions.

Install

aenum on PyPI

Before you install

Low install friction: pure Python wheels for both Python 2 and 3, no runtime dependencies, and actively maintained with a recent commit on 2026-06-11.

License in practice

BSD License (permissive) means you can use, modify, and distribute aenum freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install aenum

from aenum import Enum, Flag

class Color(Enum):
    RED = 1
    GREEN = 2
    BLUE = 3

class Permission(Flag):
    READ = 1
    WRITE = 2
    EXECUTE = 4

Verify before relying

  • Whether version 3.1's breaking changes in custom Enum settings affect existing code using earlier versions.
  • Whether AutoNumber and AutoValue removal in version 3.1 impacts codebases that relied on those features.

Package facts

LicenseBSD License permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 147 days since the last release
Last repo commit
First released
Downloads39,708,100 / month, #689 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development

Evidence: aenum-3.1.17-py2-none-any.whl; aenum-3.1.17-py3-none-any.whl

Tags

Capabilities
advanced enum implementationenum with custom valuesnamed tuples and constantsflag bitwise operationspython enum extensionssymbolic constants libraryauto-numbering enums
Topics
enumerationsconstantsdata-structures

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 › “advanced enum implementation”

  • aenumaenum provides advanced enumeration types (Enum, IntEnum, Flag,…
  • attributes-docExtracts and stores docstrings for class attributes at runtime,…
  • utilsProvides a collection of utility functions and classes for common…

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 constantly · enum34 · ntstatus · django-enum · matrix-enum · backports.strenum · ordered-enum · enum-tools · marshmallow-enum · recordtype