{"id":17362482,"url":"https://github.com/domdfcoding/enum_tools","last_synced_at":"2025-08-20T08:33:18.331Z","repository":{"id":38216060,"uuid":"271221661","full_name":"domdfcoding/enum_tools","owner":"domdfcoding","description":"Tools to expand Python's enum module.","archived":false,"fork":false,"pushed_at":"2024-11-01T11:31:10.000Z","size":709,"stargazers_count":8,"open_issues_count":11,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-09T07:26:40.678Z","etag":null,"topics":["documentation","enum","python","python3","sphinx","sphinx-extension"],"latest_commit_sha":null,"homepage":"https://enum-tools.readthedocs.io/en/latest","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domdfcoding.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-10T08:27:36.000Z","updated_at":"2024-10-08T18:21:06.000Z","dependencies_parsed_at":"2023-02-01T03:46:03.222Z","dependency_job_id":"9b5cc7e4-2477-4de7-93ec-bad44a477432","html_url":"https://github.com/domdfcoding/enum_tools","commit_stats":{"total_commits":202,"total_committers":5,"mean_commits":40.4,"dds":"0.19801980198019797","last_synced_commit":"6a9ed9d1eb0b29eca04930692a4989aa6bd8eedb"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Fenum_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Fenum_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Fenum_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Fenum_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domdfcoding","download_url":"https://codeload.github.com/domdfcoding/enum_tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230408171,"owners_count":18220974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["documentation","enum","python","python3","sphinx","sphinx-extension"],"created_at":"2024-10-15T19:38:43.384Z","updated_at":"2025-08-20T08:33:18.321Z","avatar_url":"https://github.com/domdfcoding.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"============\nEnum Tools\n============\n\n.. start short_desc\n\n**Tools to expand Python's enum module.**\n\n.. end short_desc\n\n\n.. start shields\n\n.. list-table::\n\t:stub-columns: 1\n\t:widths: 10 90\n\n\t* - Docs\n\t  - |docs| |docs_check|\n\t* - Tests\n\t  - |actions_linux| |actions_windows| |actions_macos| |coveralls|\n\t* - PyPI\n\t  - |pypi-version| |supported-versions| |supported-implementations| |wheel|\n\t* - Anaconda\n\t  - |conda-version| |conda-platform|\n\t* - Activity\n\t  - |commits-latest| |commits-since| |maintained| |pypi-downloads|\n\t* - QA\n\t  - |codefactor| |actions_flake8| |actions_mypy|\n\t* - Other\n\t  - |license| |language| |requires|\n\n.. |docs| image:: https://img.shields.io/readthedocs/enum-tools/latest?logo=read-the-docs\n\t:target: https://enum-tools.readthedocs.io/en/latest\n\t:alt: Documentation Build Status\n\n.. |docs_check| image:: https://github.com/domdfcoding/enum_tools/workflows/Docs%20Check/badge.svg\n\t:target: https://github.com/domdfcoding/enum_tools/actions?query=workflow%3A%22Docs+Check%22\n\t:alt: Docs Check Status\n\n.. |actions_linux| image:: https://github.com/domdfcoding/enum_tools/workflows/Linux/badge.svg\n\t:target: https://github.com/domdfcoding/enum_tools/actions?query=workflow%3A%22Linux%22\n\t:alt: Linux Test Status\n\n.. |actions_windows| image:: https://github.com/domdfcoding/enum_tools/workflows/Windows/badge.svg\n\t:target: https://github.com/domdfcoding/enum_tools/actions?query=workflow%3A%22Windows%22\n\t:alt: Windows Test Status\n\n.. |actions_macos| image:: https://github.com/domdfcoding/enum_tools/workflows/macOS/badge.svg\n\t:target: https://github.com/domdfcoding/enum_tools/actions?query=workflow%3A%22macOS%22\n\t:alt: macOS Test Status\n\n.. |actions_flake8| image:: https://github.com/domdfcoding/enum_tools/workflows/Flake8/badge.svg\n\t:target: https://github.com/domdfcoding/enum_tools/actions?query=workflow%3A%22Flake8%22\n\t:alt: Flake8 Status\n\n.. |actions_mypy| image:: https://github.com/domdfcoding/enum_tools/workflows/mypy/badge.svg\n\t:target: https://github.com/domdfcoding/enum_tools/actions?query=workflow%3A%22mypy%22\n\t:alt: mypy status\n\n.. |requires| image:: https://dependency-dash.repo-helper.uk/github/domdfcoding/enum_tools/badge.svg\n\t:target: https://dependency-dash.repo-helper.uk/github/domdfcoding/enum_tools/\n\t:alt: Requirements Status\n\n.. |coveralls| image:: https://img.shields.io/coveralls/github/domdfcoding/enum_tools/master?logo=coveralls\n\t:target: https://coveralls.io/github/domdfcoding/enum_tools?branch=master\n\t:alt: Coverage\n\n.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/enum_tools?logo=codefactor\n\t:target: https://www.codefactor.io/repository/github/domdfcoding/enum_tools\n\t:alt: CodeFactor Grade\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/enum_tools\n\t:target: https://pypi.org/project/enum_tools/\n\t:alt: PyPI - Package Version\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/enum_tools?logo=python\u0026logoColor=white\n\t:target: https://pypi.org/project/enum_tools/\n\t:alt: PyPI - Supported Python Versions\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/enum_tools\n\t:target: https://pypi.org/project/enum_tools/\n\t:alt: PyPI - Supported Implementations\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/enum_tools\n\t:target: https://pypi.org/project/enum_tools/\n\t:alt: PyPI - Wheel\n\n.. |conda-version| image:: https://img.shields.io/conda/v/conda-forge/enum_tools?logo=anaconda\n\t:target: https://anaconda.org/conda-forge/enum_tools\n\t:alt: Conda - Package Version\n\n.. |conda-platform| image:: https://img.shields.io/conda/pn/conda-forge/enum_tools?label=conda%7Cplatform\n\t:target: https://anaconda.org/conda-forge/enum_tools\n\t:alt: Conda - Platform\n\n.. |license| image:: https://img.shields.io/github/license/domdfcoding/enum_tools\n\t:target: https://github.com/domdfcoding/enum_tools/blob/master/LICENSE\n\t:alt: License\n\n.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/enum_tools\n\t:alt: GitHub top language\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/enum_tools/v0.13.0\n\t:target: https://github.com/domdfcoding/enum_tools/pulse\n\t:alt: GitHub commits since tagged version\n\n.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/enum_tools\n\t:target: https://github.com/domdfcoding/enum_tools/commit/master\n\t:alt: GitHub last commit\n\n.. |maintained| image:: https://img.shields.io/maintenance/yes/2025\n\t:alt: Maintenance\n\n.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/enum_tools\n\t:target: https://pypi.org/project/enum_tools/\n\t:alt: PyPI - Downloads\n\n.. end shields\n\n\nThis library provides the following:\n\n#. ``enum_tools.autoenum`` – A `Sphinx \u003chttps://www.sphinx-doc.org\u003e`_ extension to document Enums better than ``autoclass``\n   can currently.\n#. ``@enum_tools.documentation.document_enum`` – A decorator to add docstrings to ``Enum`` members\n   from a comment at the end of the line.\n#. ``enum_tools.custom_enums`` – Additional ``Enum`` classes with different functionality.\n\n\nInstallation\n--------------\n\n.. start installation\n\n``enum_tools`` can be installed from PyPI or Anaconda.\n\nTo install with ``pip``:\n\n.. code-block:: bash\n\n\t$ python -m pip install enum_tools\n\nTo install with ``conda``:\n\n.. code-block:: bash\n\n\t$ conda install -c conda-forge enum_tools\n\n.. end installation\n\n\nFurther Reading\n-----------------------\n\n#. https://docs.python.org/3/library/enum.html\n\n#. `Is it possible to define a class constant inside an Enum? \u003chttps://stackoverflow.com/q/17911188/3092681\u003e`_\n\n#. `Enums with Attributes \u003chttps://stackoverflow.com/a/19300424/3092681\u003e`_\n\n#. `When should I subclass EnumMeta instead of Enum? \u003chttps://stackoverflow.com/a/43730306/3092681\u003e`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomdfcoding%2Fenum_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomdfcoding%2Fenum_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomdfcoding%2Fenum_tools/lists"}