Skip to main content

Enum base classes that support enum comparsion and auto numbering with doc strings

Project description

codecov PyPI - Python Version PyPI - Wheel

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


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)

Uploaded Source

Built Distribution

enum_extend-0.1.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page