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 75/week @ 2024-07-29 31/week @ 2024-08-05 28/week @ 2024-08-12 15/week @ 2024-08-26 4/week @ 2024-09-02 163/week @ 2024-09-16 127/week @ 2024-09-23 76/week @ 2024-09-30 31/week @ 2024-10-07 165/week @ 2024-10-14 478/week @ 2024-10-21 120/week @ 2024-10-28 4/week @ 2024-11-04

768 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