--- id: trove-classifiers version: "2026.6.1.19" license: unclear license_treatment: permissive maintenance: active --- # trove-classifiers — Canonical source for classifiers on PyPI (pypi.org). License: permissive · Maintenance: active · Popularity: top 100 on PyPI ## Install pip install trove-classifiers uv add trove-classifiers poetry add trove-classifiers ## Description Canonical source for [classifiers][1] on [PyPI][2]. Classifiers [categorize projects][3] per [PEP 301][4]. Use this package to validate classifiers in packages for PyPI upload or download. ## Usage To install [from PyPI][5]: ``` $ pip install trove-classifiers ``` This package can be invoked as a module to print a list of classifiers: ``` $ python -m trove_classifiers | grep -Ei pyramid Framework :: Pyramid ``` In addition, this package's API is two importable objects: ### Classifiers (`trove_classifiers.classifiers`) A `set` containing classifiers (as strings). Useful for determining membership. Example - determine if a classifier is valid: ```python >>> from trove_classifiers import classifiers >>> 'License :: OSI Approved' in classifiers True >>> 'Fuzzy :: Wuzzy :: Was :: A :: Bear' in classifiers False >>> ``` ### Deprecated classifiers (`trove_classifiers.deprecated_classifiers`) A `dict`, mapping a deprecated classifier (string) to a list of classifiers which replaces it (strings). Example - determine if a classifier is deprecated: ```python >>> from trove_classifiers import deprecated_classifiers >>> 'License :: OSI Approved' in... ## AI interpretation — verify before relying Provides the canonical set of PyPI classifiers for validating project metadata, plus a mapping of deprecated classifiers to their replacements. Verdict: A lightweight, actively maintained reference package for PyPI classifier validation with no dependencies, permissive licensing, and top-100 popularity. Safe to adopt for metadata validation workflows. [View on SkillFed](https://skillfed.io/packages/trove-classifiers) · [View on PyPI](https://pypi.org/project/trove-classifiers/)