Tools to expand Python's enum module.
| Docs | |
|---|---|
| Tests | |
| PyPI | |
| Anaconda | |
| Activity | |
| QA | |
| Other |
This package has two features:
- A decorator to add docstrings to
Enummembers from a comment at the end of the line. - A
Sphinxextension to document Enums better thanautoclasscan currently.
enum_tools can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install enum_toolsTo install with conda:
- First add the required channels
$ conda config --add channels https://conda.anaconda.org/conda-forge $ conda config --add channels https://conda.anaconda.org/domdfcoding
- Then install
$ conda install enum_tools