enum-tools
v0.13.0Tools to expand Python's enum module.
$ uv add enum-tools============
Enum Tools
Tools to expand Python's enum module.
:stub-columns: 1 :widths: 10 90 - Docs - |docs| |docs_check| - Tests -
- PyPI - |pypi-version| |supported-versions| |supported-implementations| |wheel| - Anaconda -
- Activity - |commits-latest| |commits-since| |maintained| |pypi-downloads| - QA -
* - Other -
This library provides the following:
#. enum_tools.autoenum – A Sphinx extension to document Enums better than autoclass can currently. #. @enum_tools.documentation.document_enum – A decorator to add docstrings to Enum members from a comment at the end of the line. #. enum_tools.custom_enums – Additional Enum classes with different functionality.
Installation
enum_tools can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install enum_tools
To install with conda:
$ conda install -c conda-forge enum_tools
Further Reading
#. https://docs.python.org/3/library/enum.html
#. Is it possible to define a class constant inside an Enum?
Details
- Version
- 0.13.0
- License
- GNU Lesser General Public License v3 or later (LGPLv3+)
- Python
- >=3.7
- Maintainer
- Dominic Davis-Foster <[email protected]>
Maintainers
- Dominic Davis-Foster · [email protected]