Tools to expand Python's enum module.
| Docs | |
|---|---|
| Tests | |
| PyPI | |
| Anaconda | |
| Activity | |
| QA | |
| Other |
This library provides the following:
enum_tools.autoenum– A Sphinx extension to document Enums better thanautoclasscan currently.@enum_tools.documentation.document_enum– A decorator to add docstrings toEnummembers from a comment at the end of the line.enum_tools.custom_enums– AdditionalEnumclasses with different functionality.
enum_tools can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install enum_toolsTo install with conda:
$ conda install -c conda-forge enum_tools