{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"},{"label":"Documentation","url":"https://skillfed.io/packages/category/documentation"},{"label":"Sphinx","url":"https://skillfed.io/packages/category/documentation-sphinx"},{"label":"Documentation","url":"https://skillfed.io/packages/category/software-development-documentation"}],"enrichment":{"capability":"Provides utilities to enhance Python's enum module with better Sphinx documentation, member docstrings via decorators, and custom enum classes with extended functionality.","skillfed_tags":["enum-utilities","sphinx-extension","documentation-generation"],"use_cases":["Generate Sphinx documentation for enum classes automatically with better formatting than the default autoclass directive.","Add descriptive docstrings to individual enum members using inline comments with the @document_enum decorator.","Build custom enum subclasses with extended behavior beyond the standard Enum class for domain-specific use cases.","Maintain enum documentation in sync with code by extracting member descriptions from source comments.","Support type-checked enum definitions across Python 3.7+ projects with full typing support."],"what_it_does":"enum_tools extends Python's standard enum module with three main components: a Sphinx extension (autoenum) that documents enums more effectively than the default autoclass directive, a decorator (@document_enum) that extracts docstrings for enum members from inline comments, and custom enum classes with additional functionality. The package is primarily useful for projects that use enums extensively and need better documentation generation or want to attach metadata to enum members without boilerplate.\n\nIt depends on pygments for syntax highlighting and typing-extensions for type hints, both lightweight and widely available. The package supports Python 3.7 through 3.13 and is actively maintained. It's particularly relevant for library authors and projects with complex enum hierarchies that need clear, auto-generated documentation.","worth_installing":"Yes, if you use enums in a documented project or need custom enum behavior. The low install friction, active maintenance, and lack of known vulnerabilities make it safe to adopt. The copyleft license (LGPL-3.0-or-later) is a consideration for proprietary code but not a barrier for open-source projects. Install it when Sphinx documentation or member docstrings would improve your codebase clarity."},"id":"enum-tools","links":{"html":"https://skillfed.io/packages/enum-tools","md":"https://skillfed.io/packages/enum-tools.md","pypi":"https://pypi.org/project/enum-tools/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-04-17","license_spdx":null,"license_treatment":"copyleft","name":"enum-tools","python_support":"supports_current","summary":"Tools to expand Python's enum module."},"popularity":{"monthly_downloads":1401832,"position":3949,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.13.0"}
