Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python2-aenum | Distribution: openSUSE Leap 15.2 |
Version: 2.2.3 | Vendor: openSUSE |
Release: lp152.1.1 | Build date: Tue Mar 10 00:11:00 2020 |
Group: Development/Languages/Python | Build host: build33 |
Size: 1208741 | Source RPM: python-aenum-2.2.3-lp152.1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://bitbucket.org/stoneleaf/aenum | |
Summary: Advanced Enumerations, NamedTuples, and NamedConstants |
Advanced Enumerations (compatible with Python's stdlib Enum), 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. If using Python 3 there is built-in support 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; consequently, it can have duplicate values.
BSD-3-Clause
* Wed Dec 11 2019 Tomáš Chvátal <tchvatal@suse.com> - Update to 2.2.3: * Various minor fixes * Mon Jul 29 2019 pgajdos@suse.com - version update to 2.2.1 2.2.1 ===== . allow Enums to be called without a value . allow Enum name use while constructing Enum (Python 3.4+ only) 2.2.0 ===== BREAKING CHANGE - -------------- . In Python 3+ classes defined inside an Enum no longer become members by default; in Python 2 they still become members, but see below. For cross-compatibility and full control two decorators are provided: - @member --> forces item to become a member - @nonmember --> excludes item from becoming a member dark = 3 2.1.4 ===== EnumMeta: - change __member_new__ to __new_member__ (as the stdlib enum does) - assign member name to enum() instances (an Enum helper for defining members) - handle empty iterables when using functional API - make auto() work with previous enum members - keep searching mixins until base class is found Enum: - fix bug in Flag checks (ensure it is a Flag before checking the name) - add multiple mixin support - do not allow blank names (functional API) - raise TypeError if _missing_* returns wrong type - fix __format__ to honor custom __str__ extend_enum: - support stdlib Enums - use _generate_next_value_ if value not provided general: - standardize exception formatting - use getfullargspec() in Python 3 (avoids deprecation warnings) * Tue Dec 04 2018 Matej Cepl <mcepl@suse.com> - Remove superfluous devel dependency for noarch package * Wed May 23 2018 toddrme2178@gmail.com - Update to version 2.1.0 * support Flags being combined with other data types: * add _create_pseudo_member_values_ * add default __new__ and temporary _init_ * Thu Nov 16 2017 toddrme2178@gmail.com - Initial version
/usr/lib/python2.7/site-packages/aenum /usr/lib/python2.7/site-packages/aenum-2.2.3-py2.7.egg-info /usr/lib/python2.7/site-packages/aenum-2.2.3-py2.7.egg-info/PKG-INFO /usr/lib/python2.7/site-packages/aenum-2.2.3-py2.7.egg-info/SOURCES.txt /usr/lib/python2.7/site-packages/aenum-2.2.3-py2.7.egg-info/dependency_links.txt /usr/lib/python2.7/site-packages/aenum-2.2.3-py2.7.egg-info/top_level.txt /usr/lib/python2.7/site-packages/aenum/CHANGES /usr/lib/python2.7/site-packages/aenum/LICENSE /usr/lib/python2.7/site-packages/aenum/README /usr/lib/python2.7/site-packages/aenum/__init__.py /usr/lib/python2.7/site-packages/aenum/__init__.pyc /usr/lib/python2.7/site-packages/aenum/__init__.pyo /usr/lib/python2.7/site-packages/aenum/doc /usr/lib/python2.7/site-packages/aenum/doc/aenum.pdf /usr/lib/python2.7/site-packages/aenum/doc/aenum.rst /usr/lib/python2.7/site-packages/aenum/test.py /usr/lib/python2.7/site-packages/aenum/test.pyc /usr/lib/python2.7/site-packages/aenum/test.pyo /usr/lib/python2.7/site-packages/aenum/test_v3.py /usr/share/doc/packages/python2-aenum /usr/share/doc/packages/python2-aenum/CHANGES /usr/share/doc/packages/python2-aenum/README /usr/share/doc/packages/python2-aenum/aenum.pdf /usr/share/doc/packages/python2-aenum/aenum.rst /usr/share/licenses/python2-aenum /usr/share/licenses/python2-aenum/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 11:27:19 2024