Skip to main content

Cannonical source for classifiers on PyPI (pypi.org).

Project description

Cannonical source for classifiers on PyPI (pypi.org).

Usage

Check if a classifier is valid:

>>> from packaging_classifiers import classifiers
>>> 'License :: OSI Approved' in classifiers
True
>>> 'Fuzzy :: Wuzzy :: Was :: A :: Bear' in classifiers
False
>>>

Determine if a classifier is deprecated:

>>> from packaging_classifiers import deprecated_classifiers
>>> 'License :: OSI Approved' in deprecated_classifiers
False
>>> 'Natural Language :: Ukranian' in deprecated_classifiers
True
>>> deprecated_classifiers["Natural Language :: Ukranian"].deprecated_by
['Natural Language :: Ukrainian']

Get a pre-sorted list of classifiers:

>>> from packaging_classifiers import sorted_classifiers
>>> sorted_classifiers[0]
'Development Status :: 1 - Planning'
>>> sorted_classifiers[-1]
'Typing :: Typed'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

packaging-classifiers-1.0.0rc4.tar.gz (18.6 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page