./devel/py-aenum, Advanced Enumerations, NamedTuples, and NamedConstants

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.1.15, Package name: py310-aenum-3.1.15, Maintainer: pkgsrc-users

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.


Master sites:

Filesize: 131.572 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-17 21:15:10 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-aenum: updated to 3.1.15

3.1.15
Unknown changes
   2023-03-30 09:12:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aenum: updated to 3.1.12

3.1.12
Unknown changes
   2022-05-10 07:40:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-aenum: updated to 3.1.11

3.1.11:
Unknown changes
   2022-01-24 12:08:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aenum: updated to 3.1.8

3.1.8:
Unknown changes
   2022-01-23 20:11:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aenum: updated to 3.1.7

3.1.7:
Unknown changes
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-16 14:02:41 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-aenum: mark as incompatible with python 2.7

Also mark all packages using it.
   2021-11-24 10:39:08 by Thomas Klausner | Files touched by this commit (4)
Log message:
devel/py-aenum: import py-aenum-3.1.5

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.