Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/aenum-2.2.4.dist-info/METADATA @ 0:d30785e31577 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:18:57 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d30785e31577 |
---|---|
1 Metadata-Version: 2.1 | |
2 Name: aenum | |
3 Version: 2.2.4 | |
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 Classifier: Programming Language :: Python :: 3.9 | |
23 Provides: aenum | |
24 | |
25 Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants | |
26 | |
27 aenum includes a Python stdlib Enum-compatible data type, as well as a metaclass-based NamedTuple implementation and a NamedConstant class. | |
28 | |
29 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. | |
30 | |
31 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. | |
32 | |
33 A NamedConstant is a class whose members cannot be rebound; it lacks all other Enum capabilities, however. | |
34 | |
35 Enum classes: | |
36 | |
37 - Enum: Base class for creating enumerated constants. | |
38 | |
39 - IntEnum: Base class for creating enumerated constants that are also | |
40 subclasses of int. | |
41 | |
42 - Flag: Base class for creating enumerated constants that can be combined | |
43 using the bitwise operations without losing their Flag membership. | |
44 | |
45 - IntFlag: Base class for creating enumerated constants that can be combined | |
46 using the bitwise operators without losing their IntFlag membership. | |
47 IntFlag members are also subclasses of int. | |
48 | |
49 - AutoNumberEnum: Derived class that automatically assigns an int value to each | |
50 member. | |
51 | |
52 - OrderedEnum: Derived class that adds <, <=, >=, and > methods to an Enum. | |
53 | |
54 - UniqueEnum: Derived class that ensures only one name is bound to any one | |
55 value. | |
56 | |
57 Utility functions include: | |
58 | |
59 - convert: helper to convert target global variables into an Enum | |
60 | |
61 - constant: helper class for creating constant members | |
62 | |
63 - enum: helper class for creating members with keywords | |
64 | |
65 - enum_property: property to enable enum members to have same named attributes | |
66 (e.g. `name` and `value`) | |
67 | |
68 - export: helper to insert Enum members into a namespace (usually globals()) | |
69 | |
70 - extend_enum: add new members to enumerations after creation | |
71 | |
72 - module: inserts NamedConstant and Enum classes into sys.modules | |
73 where it will appear to be a module whose top-level names | |
74 cannot be rebound | |
75 | |
76 - skip: class that prevents attributes from being converted to a | |
77 constant or enum member | |
78 | |
79 - unique: decorator that ensures no duplicate members | |
80 | |
81 |