69 breaking releases
new 0.70.0 | Oct 22, 2024 |
---|---|
0.68.0 | Oct 16, 2024 |
0.66.0 | Jul 3, 2024 |
0.61.0 | Mar 26, 2024 |
0.1.0 | May 3, 2023 |
#34 in #python-packages
405 downloads per month
100KB
2K
SLoC
Python packaging classifiers as an Enum.
trove-classifiers encompass all valid PyPI classifiers, which can be found at https://pypi.org/classifiers/.
The exact set of classifiers that is supported is pulled from trove-classifiers which is the canonical source of PyPI's classifiers.
Trove classifiers were first defined in PEP-301 and are metadata tags that can be added to python package distributions.
lib.rs
:
Python packaging classifiers as an Enum.
trove-classifiers encompass all valid PyPI classifiers, which can be found at https://pypi.org/classifiers/.
The exact set of classifiers that is supported is pulled from trove-classifiers which is the canonical source of PyPI's classifiers.
Trove classifiers were first defined in PEP-301 and are metadata tags that can be added to python package distributions.
Examples
use std::str::FromStr;
use trove_classifiers::Classifier;
let possible_classifier = "Development Status :: 5 - Production/Stable";
match Classifier::from_str(possible_classifier) {
Ok(classifier) => println!("Yes, {classifier} is a classifier known to pypi.org"),
Err(_) => println!("No, {possible_classifier} is unknown to pypi.org"),
}
Dependencies
~1.5MB
~38K SLoC