Enum Tools
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 thanautoclass
can currently.@enum_tools.documentation.document_enum
– A decorator to add docstrings toEnum
members from a comment at the end of the line.enum_tools.custom_enums
– AdditionalEnum
classes with different functionality.
Installation
python3 -m pip install enum_tools --user
First add the required channels
conda config --add channels https://conda.anaconda.org/conda-forge
Then install
conda install enum_tools
python3 -m pip install git+https://github.com/domdfcoding/enum_tools@master --user