69 breaking releases

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

#3 in #pypi

Download history 146/week @ 2024-09-13 119/week @ 2024-09-20 93/week @ 2024-09-27 29/week @ 2024-10-04 144/week @ 2024-10-11 455/week @ 2024-10-18 137/week @ 2024-10-25 41/week @ 2024-11-01 137/week @ 2024-12-06 6/week @ 2024-12-13

143 downloads per month

BSD-3-Clause

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