trove-classifiers


Nametrove-classifiers JSON
Version 2024.10.21.16 PyPI version JSON
download
home_pagehttps://github.com/pypa/trove-classifiers
SummaryCanonical source for classifiers on PyPI (pypi.org).
upload_time2024-10-21 16:57:41
maintainerNone
docs_urlNone
authorThe PyPI Admins
requires_pythonNone
licenseNone
keywords classifiers
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Canonical source for [classifiers][1] on [PyPI][2].

Classifiers [categorize projects][3] per [PEP 301][4]. Use this package to
validate classifiers in packages for PyPI upload or download.

## Usage

To install [from PyPI][5]:

```
$ pip install trove-classifiers
```

This package can be invoked as a module to print a list of classifiers:

```
$ python -m trove_classifiers | grep -Ei pyramid
Framework :: Pyramid
```

In addition, this package's API is two importable objects:

### Classifiers (`trove_classifiers.classifiers`)
A `set` containing classifiers (as strings). Useful for determining membership.

Example - determine if a classifier is valid:

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

### Deprecated classifiers (`trove_classifiers.deprecated_classifiers`)
A `dict`, mapping a deprecated classifier (string) to a list of classifiers
which replaces it (strings).

Example - determine if a classifier is deprecated:

```python
>>> from trove_classifiers import deprecated_classifiers
>>> 'License :: OSI Approved' in deprecated_classifiers
False
>>> 'Natural Language :: Ukranian' in deprecated_classifiers
True
>>> deprecated_classifiers["Natural Language :: Ukranian"]
['Natural Language :: Ukrainian']
```

[1]: https://pypi.org/classifiers/
[2]: https://pypi.org
[3]: https://packaging.python.org/specifications/core-metadata/#classifier-multiple-use
[4]: https://www.python.org/dev/peps/pep-0301/
[5]: https://pypi.org/project/trove-classifiers/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pypa/trove-classifiers",
    "name": "trove-classifiers",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "classifiers",
    "author": "The PyPI Admins",
    "author_email": "admin@pypi.org",
    "download_url": "https://files.pythonhosted.org/packages/99/85/92c2667cf221b37648041ce9319427f92fa76cbec634aad844e67e284706/trove_classifiers-2024.10.21.16.tar.gz",
    "platform": null,
    "description": "Canonical source for [classifiers][1] on [PyPI][2].\n\nClassifiers [categorize projects][3] per [PEP 301][4]. Use this package to\nvalidate classifiers in packages for PyPI upload or download.\n\n## Usage\n\nTo install [from PyPI][5]:\n\n```\n$ pip install trove-classifiers\n```\n\nThis package can be invoked as a module to print a list of classifiers:\n\n```\n$ python -m trove_classifiers | grep -Ei pyramid\nFramework :: Pyramid\n```\n\nIn addition, this package's API is two importable objects:\n\n### Classifiers (`trove_classifiers.classifiers`)\nA `set` containing classifiers (as strings). Useful for determining membership.\n\nExample - determine if a classifier is valid:\n\n```python\n>>> from trove_classifiers import classifiers\n>>> 'License :: OSI Approved' in classifiers\nTrue\n>>> 'Fuzzy :: Wuzzy :: Was :: A :: Bear' in classifiers\nFalse\n>>>\n```\n\n### Deprecated classifiers (`trove_classifiers.deprecated_classifiers`)\nA `dict`, mapping a deprecated classifier (string) to a list of classifiers\nwhich replaces it (strings).\n\nExample - determine if a classifier is deprecated:\n\n```python\n>>> from trove_classifiers import deprecated_classifiers\n>>> 'License :: OSI Approved' in deprecated_classifiers\nFalse\n>>> 'Natural Language :: Ukranian' in deprecated_classifiers\nTrue\n>>> deprecated_classifiers[\"Natural Language :: Ukranian\"]\n['Natural Language :: Ukrainian']\n```\n\n[1]: https://pypi.org/classifiers/\n[2]: https://pypi.org\n[3]: https://packaging.python.org/specifications/core-metadata/#classifier-multiple-use\n[4]: https://www.python.org/dev/peps/pep-0301/\n[5]: https://pypi.org/project/trove-classifiers/\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Canonical source for classifiers on PyPI (pypi.org).",
    "version": "2024.10.21.16",
    "project_urls": {
        "Homepage": "https://github.com/pypa/trove-classifiers"
    },
    "split_keywords": [
        "classifiers"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "35355055ab8d215af853d07bbff1a74edf48f91ed308f037380a5ca52dd73348",
                "md5": "fe51baf7af3adef2252f1cccfa0940e8",
                "sha256": "0fb11f1e995a757807a8ef1c03829fbd4998d817319abcef1f33165750f103be"
            },
            "downloads": -1,
            "filename": "trove_classifiers-2024.10.21.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fe51baf7af3adef2252f1cccfa0940e8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 13546,
            "upload_time": "2024-10-21T16:57:40",
            "upload_time_iso_8601": "2024-10-21T16:57:40.019053Z",
            "url": "https://files.pythonhosted.org/packages/35/35/5055ab8d215af853d07bbff1a74edf48f91ed308f037380a5ca52dd73348/trove_classifiers-2024.10.21.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "998592c2667cf221b37648041ce9319427f92fa76cbec634aad844e67e284706",
                "md5": "c2820cfbb09e91d84ade85e0e65d87ae",
                "sha256": "17cbd055d67d5e9d9de63293a8732943fabc21574e4c7b74edf112b4928cf5f3"
            },
            "downloads": -1,
            "filename": "trove_classifiers-2024.10.21.16.tar.gz",
            "has_sig": false,
            "md5_digest": "c2820cfbb09e91d84ade85e0e65d87ae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 16153,
            "upload_time": "2024-10-21T16:57:41",
            "upload_time_iso_8601": "2024-10-21T16:57:41.647432Z",
            "url": "https://files.pythonhosted.org/packages/99/85/92c2667cf221b37648041ce9319427f92fa76cbec634aad844e67e284706/trove_classifiers-2024.10.21.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-21 16:57:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pypa",
    "github_project": "trove-classifiers",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "trove-classifiers"
}
        
Elapsed time: 0.76358s