trove-classifiers
Canonical source for classifiers on PyPI (pypi.org).
This package has a good security score with no known vulnerabilities.
Community Reviews
Simple, focused tool for PyPI classifier validation - does one thing well
The package does exactly what it claims with zero surprises. Documentation is minimal because the API surface is tiny: basically just accessing a list of strings and maybe using `all_classifiers()` or checking membership. Error handling is straightforward since you're mostly checking if strings exist in a set. The main gotcha is remembering this is updated regularly, so your CI needs to use a reasonably recent version to catch newly added classifiers.
Community support isn't really needed because there's nothing complex to troubleshoot. The GitHub issues are mainly about adding new classifiers rather than bugs. For what it does - providing the canonical list of valid PyPI classifiers - it's reliable and maintenance-free in your projects.
Best for: Build tools, CI pipelines, and packaging utilities that need to validate PyPI classifiers before publishing.
Avoid if: You need anything beyond a simple list of valid classifiers - this package intentionally does nothing else.
Zero-overhead classifier validation - just a static data package
The package updates regularly (weekly releases) to stay in sync with PyPI's classifier list. This is both good and bad - you get the latest classifiers, but your dependency resolver will constantly pull new versions during deploys if you're not pinning. In practice, this means your lock files change frequently even when nothing meaningful has changed for your use case. The package itself has no dependencies and is pure Python, so at least updates are fast and safe.
For operational concerns, there's literally nothing to tune or configure. No timeouts, no retries, no logging hooks - because it's just static data. Perfect for build-time validation in CI/CD pipelines where you want deterministic, fast checks without any external service dependencies.
Best for: Build-time validation of package metadata in CI/CD pipelines or packaging tools where you need the canonical PyPI classifier list.
Avoid if: You need runtime classifier validation with caching strategies or want to avoid frequent dependency version churn.
Essential data package with minimal DX considerations
The developer experience is bare-bones. You get a single `classifiers` set object and a `deprecated_classifiers` dict. No type hints, no autocompletion beyond what your IDE can infer from runtime inspection, and minimal documentation beyond a basic README. Error handling is non-existent because there's nothing to error on—you're just accessing data structures. The package does its job (providing canonical classifier strings), but offers no helpers for validation, fuzzy matching, or discovery of appropriate classifiers.
For most developers, you'll interact with this indirectly through tools like poetry or setuptools rather than importing it directly. When you do need it directly (like building packaging tooling), expect to write your own convenience layers around the raw data.
Best for: Building packaging tools or validators that need the canonical PyPI classifier list programmatically.
Avoid if: You're looking for a high-level library with validation helpers—you'll need to build that layer yourself.
Sign in to write a review
Sign In