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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file enum-extend-0.1.1.tar.gz.

File metadata

  • Download URL: enum-extend-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for enum-extend-0.1.1.tar.gz
Algorithm Hash digest
SHA256 943208b2e62535e1a649945ee8dceab4576473a85cbb740ff84b4821492161b1
MD5 a3c33ac79dd13d957a8486fde966dd7f
BLAKE2b-256 62b08ae60274a552b88265681e2719d4c3621b4982ca45556c81ac731e174239

See more details on using hashes here.

File details

Details for the file enum_extend-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: enum_extend-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for enum_extend-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6bd4b09e1539d144d433ecf7c7d94def45b8852e5e494b2c31faf618d6a5a17
MD5 2e168f5d9a2e28e0537af687ee314942
BLAKE2b-256 15bcbc171818bfdd421ef509204ea975450918ecd493348a153056cb1ed114c6

See more details on using hashes here.

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