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/python310 lang/python310

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-aenum-3.1.11.tgz
NetBSD 10.0aarch64py37-aenum-3.1.11.tgz
NetBSD 10.0aarch64py38-aenum-3.1.11.tgz
NetBSD 10.0aarch64py39-aenum-3.1.11.tgz
NetBSD 10.0aarch64py310-aenum-3.1.11.tgz
NetBSD 10.0aarch64py311-aenum-3.1.11.tgz
NetBSD 10.0aarch64py38-aenum-3.1.11.tgz
NetBSD 10.0aarch64py39-aenum-3.1.11.tgz
NetBSD 10.0earmv6hfpy310-aenum-3.1.11.tgz
NetBSD 10.0earmv6hfpy37-aenum-3.1.11.tgz
NetBSD 10.0earmv6hfpy38-aenum-3.1.11.tgz
NetBSD 10.0earmv6hfpy39-aenum-3.1.11.tgz
NetBSD 10.0earmv6hfpy310-aenum-3.1.11.tgz
NetBSD 10.0earmv6hfpy311-aenum-3.1.11.tgz
NetBSD 10.0earmv6hfpy38-aenum-3.1.11.tgz
NetBSD 10.0earmv6hfpy39-aenum-3.1.11.tgz
NetBSD 10.0earmv7hfpy310-aenum-3.1.11.tgz
NetBSD 10.0earmv7hfpy37-aenum-3.1.11.tgz
NetBSD 10.0earmv7hfpy38-aenum-3.1.11.tgz
NetBSD 10.0earmv7hfpy39-aenum-3.1.11.tgz
NetBSD 10.0earmv7hfpy310-aenum-3.1.11.tgz
NetBSD 10.0earmv7hfpy311-aenum-3.1.11.tgz
NetBSD 10.0earmv7hfpy38-aenum-3.1.11.tgz
NetBSD 10.0earmv7hfpy39-aenum-3.1.11.tgz
NetBSD 10.0i386py310-aenum-3.1.11.tgz
NetBSD 10.0i386py37-aenum-3.1.11.tgz
NetBSD 10.0i386py38-aenum-3.1.11.tgz
NetBSD 10.0i386py39-aenum-3.1.11.tgz
NetBSD 10.0powerpcpy310-aenum-3.1.11.tgz
NetBSD 10.0powerpcpy37-aenum-3.1.11.tgz
NetBSD 10.0powerpcpy38-aenum-3.1.11.tgz
NetBSD 10.0powerpcpy39-aenum-3.1.11.tgz
NetBSD 10.0powerpcpy310-aenum-3.1.11.tgz
NetBSD 10.0powerpcpy37-aenum-3.1.11.tgz
NetBSD 10.0powerpcpy38-aenum-3.1.11.tgz
NetBSD 10.0powerpcpy39-aenum-3.1.11.tgz
NetBSD 10.0x86_64py310-aenum-3.1.11.tgz
NetBSD 10.0x86_64py311-aenum-3.1.11.tgz
NetBSD 10.0x86_64py38-aenum-3.1.11.tgz
NetBSD 10.0x86_64py39-aenum-3.1.11.tgz
NetBSD 10.0x86_64py310-aenum-3.1.11.tgz
NetBSD 10.0x86_64py37-aenum-3.1.11.tgz
NetBSD 10.0x86_64py38-aenum-3.1.11.tgz
NetBSD 10.0x86_64py39-aenum-3.1.11.tgz
NetBSD 8.0i386py310-aenum-3.1.11.tgz
NetBSD 8.0i386py37-aenum-3.1.11.tgz
NetBSD 8.0i386py38-aenum-3.1.11.tgz
NetBSD 8.0i386py39-aenum-3.1.11.tgz
NetBSD 8.0i386py310-aenum-3.1.11.tgz
NetBSD 8.0i386py37-aenum-3.1.11.tgz
NetBSD 8.0i386py38-aenum-3.1.11.tgz
NetBSD 8.0i386py39-aenum-3.1.11.tgz
NetBSD 8.0powerpcpy310-aenum-3.1.5.tgz
NetBSD 8.0powerpcpy36-aenum-3.1.5.tgz
NetBSD 8.0powerpcpy37-aenum-3.1.5.tgz
NetBSD 8.0powerpcpy38-aenum-3.1.5.tgz
NetBSD 8.0powerpcpy39-aenum-3.1.5.tgz
NetBSD 8.0powerpcpy310-aenum-3.1.11.tgz
NetBSD 8.0powerpcpy311-aenum-3.1.11.tgz
NetBSD 8.0powerpcpy38-aenum-3.1.11.tgz
NetBSD 8.0powerpcpy39-aenum-3.1.11.tgz
NetBSD 8.0powerpcpy310-aenum-3.1.11.tgz
NetBSD 8.0powerpcpy311-aenum-3.1.11.tgz
NetBSD 8.0powerpcpy38-aenum-3.1.11.tgz
NetBSD 8.0powerpcpy39-aenum-3.1.11.tgz
NetBSD 8.0x86_64py310-aenum-3.1.11.tgz
NetBSD 8.0x86_64py37-aenum-3.1.11.tgz
NetBSD 8.0x86_64py38-aenum-3.1.11.tgz
NetBSD 8.0x86_64py39-aenum-3.1.11.tgz
NetBSD 8.0x86_64py310-aenum-3.1.11.tgz
NetBSD 8.0x86_64py37-aenum-3.1.11.tgz
NetBSD 8.0x86_64py38-aenum-3.1.11.tgz
NetBSD 8.0x86_64py39-aenum-3.1.11.tgz
NetBSD 9.0aarch64py310-aenum-3.1.11.tgz
NetBSD 9.0aarch64py37-aenum-3.1.11.tgz
NetBSD 9.0aarch64py38-aenum-3.1.11.tgz
NetBSD 9.0aarch64py39-aenum-3.1.11.tgz
NetBSD 9.0aarch64py310-aenum-3.1.11.tgz
NetBSD 9.0aarch64py37-aenum-3.1.11.tgz
NetBSD 9.0aarch64py38-aenum-3.1.11.tgz
NetBSD 9.0aarch64py39-aenum-3.1.11.tgz
NetBSD 9.0aarch64py310-aenum-3.1.11.tgz
NetBSD 9.0aarch64py311-aenum-3.1.11.tgz
NetBSD 9.0aarch64py38-aenum-3.1.11.tgz
NetBSD 9.0aarch64py39-aenum-3.1.11.tgz
NetBSD 9.0alphapy310-aenum-3.1.5.tgz
NetBSD 9.0alphapy36-aenum-3.1.5.tgz
NetBSD 9.0alphapy37-aenum-3.1.5.tgz
NetBSD 9.0alphapy38-aenum-3.1.5.tgz
NetBSD 9.0alphapy39-aenum-3.1.5.tgz
NetBSD 9.0alphapy310-aenum-3.1.8.tgz
NetBSD 9.0alphapy37-aenum-3.1.8.tgz
NetBSD 9.0alphapy38-aenum-3.1.8.tgz
NetBSD 9.0alphapy39-aenum-3.1.8.tgz
NetBSD 9.0alphapy310-aenum-3.1.11.tgz
NetBSD 9.0alphapy37-aenum-3.1.11.tgz
NetBSD 9.0alphapy38-aenum-3.1.11.tgz
NetBSD 9.0alphapy39-aenum-3.1.11.tgz
NetBSD 9.0alphapy310-aenum-3.1.11.tgz
NetBSD 9.0alphapy37-aenum-3.1.11.tgz
NetBSD 9.0alphapy38-aenum-3.1.11.tgz
NetBSD 9.0alphapy39-aenum-3.1.11.tgz
NetBSD 9.0alphapy310-aenum-3.1.11.tgz
NetBSD 9.0alphapy311-aenum-3.1.11.tgz
NetBSD 9.0alphapy37-aenum-3.1.11.tgz
NetBSD 9.0alphapy38-aenum-3.1.11.tgz
NetBSD 9.0alphapy39-aenum-3.1.11.tgz
NetBSD 9.0earmpy310-aenum-3.1.5.tgz
NetBSD 9.0earmpy36-aenum-3.1.5.tgz
NetBSD 9.0earmpy38-aenum-3.1.5.tgz
NetBSD 9.0earmpy39-aenum-3.1.5.tgz
NetBSD 9.0earmpy310-aenum-3.1.8.tgz
NetBSD 9.0earmpy37-aenum-3.1.8.tgz
NetBSD 9.0earmpy38-aenum-3.1.8.tgz
NetBSD 9.0earmpy39-aenum-3.1.8.tgz
NetBSD 9.0earmpy310-aenum-3.1.11.tgz
NetBSD 9.0earmpy37-aenum-3.1.11.tgz
NetBSD 9.0earmpy38-aenum-3.1.11.tgz
NetBSD 9.0earmpy39-aenum-3.1.11.tgz
NetBSD 9.0earmpy310-aenum-3.1.11.tgz
NetBSD 9.0earmpy37-aenum-3.1.11.tgz
NetBSD 9.0earmpy38-aenum-3.1.11.tgz
NetBSD 9.0earmpy39-aenum-3.1.11.tgz
NetBSD 9.0earmpy310-aenum-3.1.11.tgz
NetBSD 9.0earmpy37-aenum-3.1.11.tgz
NetBSD 9.0earmpy38-aenum-3.1.11.tgz
NetBSD 9.0earmpy39-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy310-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy37-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy38-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy39-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy310-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy37-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy38-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy39-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy310-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy311-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy38-aenum-3.1.11.tgz
NetBSD 9.0earmv6hfpy39-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy310-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy37-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy38-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy39-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy310-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy311-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy38-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy39-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy310-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy37-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy38-aenum-3.1.11.tgz
NetBSD 9.0earmv7hfpy39-aenum-3.1.11.tgz
NetBSD 9.0i386py310-aenum-3.1.11.tgz
NetBSD 9.0i386py37-aenum-3.1.11.tgz
NetBSD 9.0i386py38-aenum-3.1.11.tgz
NetBSD 9.0i386py39-aenum-3.1.11.tgz
NetBSD 9.0i386py310-aenum-3.1.11.tgz
NetBSD 9.0i386py37-aenum-3.1.11.tgz
NetBSD 9.0i386py38-aenum-3.1.11.tgz
NetBSD 9.0i386py39-aenum-3.1.11.tgz
NetBSD 9.0i386py310-aenum-3.1.11.tgz
NetBSD 9.0i386py37-aenum-3.1.11.tgz
NetBSD 9.0i386py38-aenum-3.1.11.tgz
NetBSD 9.0i386py39-aenum-3.1.11.tgz
NetBSD 9.0m68kpy39-aenum-3.1.8.tgz
NetBSD 9.0m68kpy310-aenum-3.1.11.tgz
NetBSD 9.0m68kpy37-aenum-3.1.11.tgz
NetBSD 9.0m68kpy38-aenum-3.1.11.tgz
NetBSD 9.0m68kpy310-aenum-3.1.11.tgz
NetBSD 9.0m68kpy37-aenum-3.1.11.tgz
NetBSD 9.0m68kpy38-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy310-aenum-3.1.5.tgz
NetBSD 9.0mips64ebpy36-aenum-3.1.5.tgz
NetBSD 9.0mips64ebpy37-aenum-3.1.5.tgz
NetBSD 9.0mips64ebpy38-aenum-3.1.5.tgz
NetBSD 9.0mips64ebpy39-aenum-3.1.5.tgz
NetBSD 9.0mips64ebpy310-aenum-3.1.8.tgz
NetBSD 9.0mips64ebpy37-aenum-3.1.8.tgz
NetBSD 9.0mips64ebpy38-aenum-3.1.8.tgz
NetBSD 9.0mips64ebpy39-aenum-3.1.8.tgz
NetBSD 9.0mips64ebpy310-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy37-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy38-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy39-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy310-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy37-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy38-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy39-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy310-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy37-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy38-aenum-3.1.11.tgz
NetBSD 9.0mips64ebpy39-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy310-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy37-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy38-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy39-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy310-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy37-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy38-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy39-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy310-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy37-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy38-aenum-3.1.11.tgz
NetBSD 9.0powerpcpy39-aenum-3.1.11.tgz
NetBSD 9.0sh3elpy310-aenum-3.1.5.tgz
NetBSD 9.0sh3elpy36-aenum-3.1.5.tgz
NetBSD 9.0sh3elpy37-aenum-3.1.5.tgz
NetBSD 9.0sh3elpy38-aenum-3.1.5.tgz
NetBSD 9.0sh3elpy39-aenum-3.1.5.tgz
NetBSD 9.0sh3elpy39-aenum-3.1.8.tgz
NetBSD 9.0sh3elpy39-aenum-3.1.11.tgz
NetBSD 9.0sh3elpy310-aenum-3.1.11.tgz
NetBSD 9.0sh3elpy39-aenum-3.1.11.tgz
NetBSD 9.0sh3elpy310-aenum-3.1.11.tgz
NetBSD 9.0sh3elpy39-aenum-3.1.11.tgz
NetBSD 9.0sparc64py310-aenum-3.1.5.tgz
NetBSD 9.0sparc64py36-aenum-3.1.5.tgz
NetBSD 9.0sparc64py37-aenum-3.1.5.tgz
NetBSD 9.0sparc64py38-aenum-3.1.5.tgz
NetBSD 9.0sparc64py39-aenum-3.1.5.tgz
NetBSD 9.0sparc64py310-aenum-3.1.8.tgz
NetBSD 9.0sparc64py37-aenum-3.1.8.tgz
NetBSD 9.0sparc64py38-aenum-3.1.8.tgz
NetBSD 9.0sparc64py39-aenum-3.1.8.tgz
NetBSD 9.0sparc64py310-aenum-3.1.11.tgz
NetBSD 9.0sparc64py37-aenum-3.1.11.tgz
NetBSD 9.0sparc64py38-aenum-3.1.11.tgz
NetBSD 9.0sparc64py39-aenum-3.1.11.tgz
NetBSD 9.0sparc64py310-aenum-3.1.11.tgz
NetBSD 9.0sparc64py37-aenum-3.1.11.tgz
NetBSD 9.0sparc64py38-aenum-3.1.11.tgz
NetBSD 9.0sparc64py39-aenum-3.1.11.tgz
NetBSD 9.0sparc64py310-aenum-3.1.11.tgz
NetBSD 9.0sparc64py311-aenum-3.1.11.tgz
NetBSD 9.0sparc64py37-aenum-3.1.11.tgz
NetBSD 9.0sparc64py38-aenum-3.1.11.tgz
NetBSD 9.0sparc64py39-aenum-3.1.11.tgz
NetBSD 9.0sparcpy310-aenum-3.1.5.tgz
NetBSD 9.0sparcpy36-aenum-3.1.5.tgz
NetBSD 9.0sparcpy37-aenum-3.1.5.tgz
NetBSD 9.0sparcpy38-aenum-3.1.5.tgz
NetBSD 9.0sparcpy39-aenum-3.1.5.tgz
NetBSD 9.0sparcpy39-aenum-3.1.8.tgz
NetBSD 9.0sparcpy310-aenum-3.1.11.tgz
NetBSD 9.0sparcpy38-aenum-3.1.11.tgz
NetBSD 9.0sparcpy39-aenum-3.1.11.tgz
NetBSD 9.0sparcpy310-aenum-3.1.11.tgz
NetBSD 9.0sparcpy37-aenum-3.1.11.tgz
NetBSD 9.0sparcpy38-aenum-3.1.11.tgz
NetBSD 9.0sparcpy39-aenum-3.1.11.tgz
NetBSD 9.0sparcpy310-aenum-3.1.11.tgz
NetBSD 9.0sparcpy311-aenum-3.1.11.tgz
NetBSD 9.0sparcpy37-aenum-3.1.11.tgz
NetBSD 9.0sparcpy38-aenum-3.1.11.tgz
NetBSD 9.0sparcpy39-aenum-3.1.11.tgz
NetBSD 9.0x86_64py310-aenum-3.1.11.tgz
NetBSD 9.0x86_64py37-aenum-3.1.11.tgz
NetBSD 9.0x86_64py38-aenum-3.1.11.tgz
NetBSD 9.0x86_64py39-aenum-3.1.11.tgz
NetBSD 9.0x86_64py310-aenum-3.1.11.tgz
NetBSD 9.0x86_64py37-aenum-3.1.11.tgz
NetBSD 9.0x86_64py38-aenum-3.1.11.tgz
NetBSD 9.0x86_64py39-aenum-3.1.11.tgz
NetBSD 9.0x86_64py310-aenum-3.1.11.tgz
NetBSD 9.0x86_64py37-aenum-3.1.11.tgz
NetBSD 9.0x86_64py38-aenum-3.1.11.tgz
NetBSD 9.0x86_64py39-aenum-3.1.11.tgz
NetBSD 9.0x86_64py310-aenum-3.1.11.tgz
NetBSD 9.0x86_64py37-aenum-3.1.11.tgz
NetBSD 9.0x86_64py38-aenum-3.1.11.tgz
NetBSD 9.0x86_64py39-aenum-3.1.11.tgz
NetBSD 9.0x86_64py310-aenum-3.1.11.tgz
NetBSD 9.0x86_64py37-aenum-3.1.11.tgz
NetBSD 9.0x86_64py38-aenum-3.1.11.tgz
NetBSD 9.0x86_64py39-aenum-3.1.11.tgz
NetBSD 9.99.96aarch64ebpy310-aenum-3.1.8.tgz
NetBSD 9.99.96aarch64ebpy37-aenum-3.1.8.tgz
NetBSD 9.99.96aarch64ebpy38-aenum-3.1.8.tgz
NetBSD 9.99.96aarch64ebpy39-aenum-3.1.8.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.