comparison env/lib/python3.7/site-packages/aenum-2.2.3.dist-info/METADATA @ 5:9b1c78e6ba9c draft default tip

"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author shellac
date Mon, 01 Jun 2020 08:59:25 -0400
parents 79f47841a781
children
comparison
equal deleted inserted replaced
4:79f47841a781 5:9b1c78e6ba9c
1 Metadata-Version: 2.1
2 Name: aenum
3 Version: 2.2.3
4 Summary: Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
5 Home-page: https://bitbucket.org/stoneleaf/aenum
6 Author: Ethan Furman
7 Author-email: ethan@stoneleaf.us
8 License: BSD License
9 Platform: UNKNOWN
10 Classifier: Development Status :: 5 - Production/Stable
11 Classifier: Intended Audience :: Developers
12 Classifier: License :: OSI Approved :: BSD License
13 Classifier: Programming Language :: Python
14 Classifier: Topic :: Software Development
15 Classifier: Programming Language :: Python :: 2.7
16 Classifier: Programming Language :: Python :: 3.3
17 Classifier: Programming Language :: Python :: 3.4
18 Classifier: Programming Language :: Python :: 3.5
19 Classifier: Programming Language :: Python :: 3.6
20 Classifier: Programming Language :: Python :: 3.7
21 Classifier: Programming Language :: Python :: 3.8
22 Provides: aenum
23
24 Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
25
26 aenum includes a Python stdlib Enum-compatible data type, as well as a metaclass-based NamedTuple implementation and a NamedConstant class.
27
28 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.
29
30 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.
31
32 A NamedConstant is a class whose members cannot be rebound; it lacks all other Enum capabilities, however.
33
34 Enum classes:
35
36 - Enum: Base class for creating enumerated constants.
37
38 - IntEnum: Base class for creating enumerated constants that are also
39 subclasses of int.
40
41 - Flag: Base class for creating enumerated constants that can be combined
42 using the bitwise operations without losing their Flag membership.
43
44 - IntFlag: Base class for creating enumerated constants that can be combined
45 using the bitwise operators without losing their IntFlag membership.
46 IntFlag members are also subclasses of int.
47
48 - AutoNumberEnum: Derived class that automatically assigns an int value to each
49 member.
50
51 - OrderedEnum: Derived class that adds <, <=, >=, and > methods to an Enum.
52
53 - UniqueEnum: Derived class that ensures only one name is bound to any one
54 value.
55
56 Utility functions include:
57
58 - convert: helper to convert target global variables into an Enum
59
60 - constant: helper class for creating constant members
61
62 - enum: helper class for creating members with keywords
63
64 - enum_property: property to enable enum members to have same named attributes
65 (e.g. `name` and `value`)
66
67 - export: helper to insert Enum members into a namespace (usually globals())
68
69 - extend_enum: add new members to enumerations after creation
70
71 - module: inserts NamedConstant and Enum classes into sys.modules
72 where it will appear to be a module whose top-level names
73 cannot be rebound
74
75 - skip: class that prevents attributes from being converted to a
76 constant or enum member
77
78 - unique: decorator that ensures no duplicate members
79
80