devel/py-aenum - The NetBSD Packages Collection

Advanced Enumerations, NamedTuples, and NamedConstants

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.

Build dependencies

devel/py-setuptools pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-aenum-3.1.15.tgz
NetBSD 10.0aarch64py311-aenum-3.1.15.tgz
NetBSD 10.0aarch64py312-aenum-3.1.15.tgz
NetBSD 10.0aarch64py310-aenum-3.1.15.tgz
NetBSD 10.0aarch64py311-aenum-3.1.15.tgz
NetBSD 10.0aarch64py312-aenum-3.1.15.tgz
NetBSD 10.0aarch64py38-aenum-3.1.15.tgz
NetBSD 10.0aarch64py39-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy310-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy311-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy312-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy38-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy39-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy310-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy311-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy312-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy38-aenum-3.1.15.tgz
NetBSD 10.0aarch64ebpy39-aenum-3.1.15.tgz
NetBSD 10.0alphapy310-aenum-3.1.15.tgz
NetBSD 10.0alphapy311-aenum-3.1.15.tgz
NetBSD 10.0alphapy312-aenum-3.1.15.tgz
NetBSD 10.0alphapy38-aenum-3.1.15.tgz
NetBSD 10.0alphapy39-aenum-3.1.15.tgz
NetBSD 10.0alphapy310-aenum-3.1.15.tgz
NetBSD 10.0alphapy311-aenum-3.1.15.tgz
NetBSD 10.0alphapy312-aenum-3.1.15.tgz
NetBSD 10.0alphapy38-aenum-3.1.15.tgz
NetBSD 10.0alphapy39-aenum-3.1.15.tgz
NetBSD 10.0earmv4py310-aenum-3.1.15.tgz
NetBSD 10.0earmv4py311-aenum-3.1.15.tgz
NetBSD 10.0earmv4py312-aenum-3.1.15.tgz
NetBSD 10.0earmv4py38-aenum-3.1.15.tgz
NetBSD 10.0earmv4py39-aenum-3.1.15.tgz
NetBSD 10.0earmv4py310-aenum-3.1.15.tgz
NetBSD 10.0earmv4py311-aenum-3.1.15.tgz
NetBSD 10.0earmv4py312-aenum-3.1.15.tgz
NetBSD 10.0earmv4py38-aenum-3.1.15.tgz
NetBSD 10.0earmv4py39-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy310-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy311-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy312-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy310-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy311-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy312-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy38-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy39-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy310-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy311-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy312-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy38-aenum-3.1.15.tgz
NetBSD 10.0earmv6hfpy39-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy310-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy311-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy312-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy310-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy311-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy312-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy38-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy39-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy310-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy311-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy312-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy38-aenum-3.1.15.tgz
NetBSD 10.0earmv7hfpy39-aenum-3.1.15.tgz
NetBSD 10.0i386py310-aenum-3.1.15.tgz
NetBSD 10.0i386py311-aenum-3.1.15.tgz
NetBSD 10.0i386py312-aenum-3.1.15.tgz
NetBSD 10.0i386py310-aenum-3.1.15.tgz
NetBSD 10.0i386py311-aenum-3.1.15.tgz
NetBSD 10.0i386py312-aenum-3.1.15.tgz
NetBSD 10.0i386py38-aenum-3.1.15.tgz
NetBSD 10.0i386py39-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy310-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy311-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy38-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy39-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy310-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy311-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy312-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy38-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy39-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy310-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy311-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy312-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy38-aenum-3.1.15.tgz
NetBSD 10.0powerpcpy39-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy310-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy311-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy312-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy38-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy39-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy310-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy311-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy312-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy38-aenum-3.1.15.tgz
NetBSD 10.0sh3elpy39-aenum-3.1.15.tgz
NetBSD 10.0sparc64py310-aenum-3.1.15.tgz
NetBSD 10.0sparc64py311-aenum-3.1.15.tgz
NetBSD 10.0sparc64py312-aenum-3.1.15.tgz
NetBSD 10.0sparc64py38-aenum-3.1.15.tgz
NetBSD 10.0sparc64py39-aenum-3.1.15.tgz
NetBSD 10.0sparc64py310-aenum-3.1.15.tgz
NetBSD 10.0sparc64py311-aenum-3.1.15.tgz
NetBSD 10.0sparc64py312-aenum-3.1.15.tgz
NetBSD 10.0sparc64py38-aenum-3.1.15.tgz
NetBSD 10.0sparc64py39-aenum-3.1.15.tgz
NetBSD 10.0sparcpy310-aenum-3.1.15.tgz
NetBSD 10.0sparcpy311-aenum-3.1.15.tgz
NetBSD 10.0sparcpy312-aenum-3.1.15.tgz
NetBSD 10.0sparcpy38-aenum-3.1.15.tgz
NetBSD 10.0sparcpy39-aenum-3.1.15.tgz
NetBSD 10.0sparcpy310-aenum-3.1.15.tgz
NetBSD 10.0sparcpy311-aenum-3.1.15.tgz
NetBSD 10.0sparcpy312-aenum-3.1.15.tgz
NetBSD 10.0sparcpy38-aenum-3.1.15.tgz
NetBSD 10.0sparcpy39-aenum-3.1.15.tgz
NetBSD 10.0x86_64py310-aenum-3.1.15.tgz
NetBSD 10.0x86_64py311-aenum-3.1.15.tgz
NetBSD 10.0x86_64py312-aenum-3.1.15.tgz
NetBSD 10.0x86_64py310-aenum-3.1.15.tgz
NetBSD 10.0x86_64py311-aenum-3.1.15.tgz
NetBSD 10.0x86_64py312-aenum-3.1.15.tgz
NetBSD 10.0x86_64py38-aenum-3.1.15.tgz
NetBSD 10.0x86_64py39-aenum-3.1.15.tgz
NetBSD 9.0aarch64py310-aenum-3.1.15.tgz
NetBSD 9.0aarch64py311-aenum-3.1.15.tgz
NetBSD 9.0aarch64py312-aenum-3.1.15.tgz
NetBSD 9.0aarch64py310-aenum-3.1.15.tgz
NetBSD 9.0aarch64py311-aenum-3.1.15.tgz
NetBSD 9.0aarch64py312-aenum-3.1.15.tgz
NetBSD 9.0aarch64py38-aenum-3.1.15.tgz
NetBSD 9.0aarch64py39-aenum-3.1.15.tgz
NetBSD 9.0alphapy310-aenum-3.1.15.tgz
NetBSD 9.0alphapy311-aenum-3.1.15.tgz
NetBSD 9.0alphapy38-aenum-3.1.15.tgz
NetBSD 9.0alphapy39-aenum-3.1.15.tgz
NetBSD 9.0alphapy310-aenum-3.1.15.tgz
NetBSD 9.0alphapy311-aenum-3.1.15.tgz
NetBSD 9.0alphapy38-aenum-3.1.15.tgz
NetBSD 9.0alphapy39-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy310-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy311-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy312-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy310-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy311-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy38-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy39-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy310-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy311-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy38-aenum-3.1.15.tgz
NetBSD 9.0earmv6hfpy39-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy310-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy311-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy312-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy310-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy311-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy38-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy39-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy310-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy311-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy38-aenum-3.1.15.tgz
NetBSD 9.0earmv7hfpy39-aenum-3.1.15.tgz
NetBSD 9.0i386py310-aenum-3.1.15.tgz
NetBSD 9.0i386py311-aenum-3.1.15.tgz
NetBSD 9.0i386py312-aenum-3.1.15.tgz
NetBSD 9.0i386py310-aenum-3.1.15.tgz
NetBSD 9.0i386py311-aenum-3.1.15.tgz
NetBSD 9.0i386py312-aenum-3.1.15.tgz
NetBSD 9.0i386py38-aenum-3.1.15.tgz
NetBSD 9.0i386py39-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy310-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy311-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy312-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy38-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy39-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy310-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy311-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy38-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy39-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy310-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy311-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy312-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy38-aenum-3.1.15.tgz
NetBSD 9.0powerpcpy39-aenum-3.1.15.tgz
NetBSD 9.0sparc64py310-aenum-3.1.15.tgz
NetBSD 9.0sparc64py311-aenum-3.1.15.tgz
NetBSD 9.0sparc64py312-aenum-3.1.15.tgz
NetBSD 9.0sparc64py38-aenum-3.1.15.tgz
NetBSD 9.0sparc64py39-aenum-3.1.15.tgz
NetBSD 9.0sparc64py310-aenum-3.1.15.tgz
NetBSD 9.0sparc64py311-aenum-3.1.15.tgz
NetBSD 9.0sparc64py312-aenum-3.1.15.tgz
NetBSD 9.0x86_64py310-aenum-3.1.15.tgz
NetBSD 9.0x86_64py311-aenum-3.1.15.tgz
NetBSD 9.0x86_64py312-aenum-3.1.15.tgz
NetBSD 9.0x86_64py310-aenum-3.1.15.tgz
NetBSD 9.0x86_64py311-aenum-3.1.15.tgz
NetBSD 9.0x86_64py312-aenum-3.1.15.tgz
NetBSD 9.0x86_64py38-aenum-3.1.15.tgz
NetBSD 9.0x86_64py39-aenum-3.1.15.tgz
NetBSD 9.3x86_64py310-aenum-3.1.15.tgz
NetBSD 9.3x86_64py311-aenum-3.1.15.tgz
NetBSD 9.3x86_64py312-aenum-3.1.15.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.