Trove Classifiers
Provides the canonical set of classifiers for PyPI, enabling validation and categorization of Python projects. Current version: 2026.1.14.14. Maintained with regular updates to reflect the latest standards and additions in Python packaging.
Warnings
- breaking The 'deprecated_classifiers' dictionary may change in future versions, potentially affecting code that relies on specific deprecated classifiers.
Install
-
pip install trove-classifiers
Imports
- classifiers
from trove_classifiers import classifiers
- deprecated_classifiers
from trove_classifiers import deprecated_classifiers
Quickstart
from trove_classifiers import classifiers
# Check if a classifier is valid
if 'License :: OSI Approved' in classifiers:
print('Valid classifier')
else:
print('Invalid classifier')