Skip to main content

Tools to expand Python's enum module.

Project description

Tools to expand Python’s enum module.

Docs Documentation Build Status Docs Check Status
Tests Linux Test Status Windows Test Status macOS Test Status Coverage
PyPI PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel
Anaconda Conda - Package Version Conda - Platform
Activity GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads
QA CodeFactor Grade Flake8 Status mypy status pre-commit.ci status
Other License GitHub top language Requirements Status

This package has two features:

  1. A decorator to add docstrings to Enum members from a comment at the end of the line.
  2. A Sphinx extension to document Enums better than autoclass can currently.

Installation

enum_tools can be installed from PyPI or Anaconda.

To install with pip:

$ python -m pip install enum_tools

To install with conda:

  • First add the required channels
$ conda config --add channels http://conda.anaconda.org/conda-forge
$ conda config --add channels http://conda.anaconda.org/domdfcoding
  • Then install
$ conda install enum_tools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for enum-tools, version 0.6.4
Filename, size File type Python version Upload date Hashes
Filename, size enum_tools-0.6.4-py3-none-any.whl (18.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size enum_tools-0.6.4.tar.gz (18.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page