扩展Python枚举模块的工具。
enum-tools的Python项目详细描述
Tools来扩展Python的enum模块。
Docs | |
---|---|
Tests | |
PyPI | |
Anaconda | |
Activity | |
Other |
此软件包具有两个功能:
- 一个装饰器,用于从行尾的注释向Enum成员添加docstring。在
- 对文档枚举的Sphinx扩展比autoclass更好。在
安装
enum_tools可以从PyPI或Anaconda安装。在
要使用pip安装:
$ python -m pip install enum_tools
要使用conda安装:
- First add the required channels
$ conda config --add channels http://conda.anaconda.org/domdfcoding $ conda config --add channels http://conda.anaconda.org/conda-forge
- Then install
$ conda install enum_tools
进一步阅读
- 项目
标签: