|
1 | | -Canonical source for [classifiers](https://pypi.org/classifiers/) on |
2 | | -[PyPI](https://pypi.org). Classifiers [categorize |
3 | | -projects](https://packaging.python.org/specifications/core-metadata/#classifier-multiple-use) |
4 | | -per [PEP 301](https://www.python.org/dev/peps/pep-0301/). Use this |
5 | | -package to validate classifiers in packages for PyPI upload or |
6 | | -download. |
| 1 | +Canonical source for [classifiers][1] on [PyPI][2]. |
| 2 | + |
| 3 | +Classifiers [categorize projects][3] per [PEP 301][4]. Use this package to |
| 4 | +validate classifiers in packages for PyPI upload or download. |
7 | 5 |
|
8 | 6 | ## Usage |
9 | 7 |
|
10 | | -To install [from PyPI](https://pypi.org/project/trove-classifiers/): |
| 8 | +To install [from PyPI][5]: |
| 9 | + |
| 10 | +``` |
| 11 | +$ pip install trove-classifiers |
| 12 | +``` |
| 13 | + |
| 14 | +This package can be invoked as a module to print a list of classifiers: |
11 | 15 |
|
12 | 16 | ``` |
13 | | -> pip install trove-classifiers |
| 17 | +$ python -m trove_classifiers | grep -Ei pyramid |
| 18 | +Framework :: Pyramid |
14 | 19 | ``` |
15 | 20 |
|
16 | | -This package's API is two importable objects: |
| 21 | +In addition, this package's API is two importable objects: |
17 | 22 |
|
18 | 23 | ### Classifiers (`trove_classifiers.classifiers`) |
19 | | -A `set` containing classifiers (as strings). Useful for determining membership |
| 24 | +A `set` containing classifiers (as strings). Useful for determining membership. |
20 | 25 |
|
21 | 26 | Example - determine if a classifier is valid: |
22 | 27 |
|
|
44 | 49 | >>> deprecated_classifiers["Natural Language :: Ukranian"] |
45 | 50 | ['Natural Language :: Ukrainian'] |
46 | 51 | ``` |
| 52 | + |
| 53 | +[1]: https://pypi.org/classifiers/ |
| 54 | +[2]: https://pypi.org |
| 55 | +[3]: https://packaging.python.org/specifications/core-metadata/#classifier-multiple-use |
| 56 | +[4]: https://www.python.org/dev/peps/pep-0301/ |
| 57 | +[5]: https://pypi.org/project/trove-classifiers/ |
0 commit comments