Enum base classes that support enum comparsion and auto numbering with doc strings
Project description
Python enum-extended module
Enum Extend classes.
Docs
Read the docs here
Install
PIP
pip install enum-extend
EnumComparable
EnumComparable class is designed for comparsion of Integer based enums.
Allows child classes to be compared using the following comparsion operaters.
==
, !=
, <
, <=
, >
, >=
, +
, +=
, -
, and -=
.
AutoEnum
AutoEnum class is a child class of EnumComparable.
Allows child classed to be auto numbered with Docstring.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
enum-extend-0.1.1.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for enum_extend-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6bd4b09e1539d144d433ecf7c7d94def45b8852e5e494b2c31faf618d6a5a17 |
|
MD5 | 2e168f5d9a2e28e0537af687ee314942 |
|
BLAKE2b-256 | 15bcbc171818bfdd421ef509204ea975450918ecd493348a153056cb1ed114c6 |