Search⌘ K

Classifying Your Package

Understand how to classify your Python package using PyPI-approved classifiers in your Distutils setup script. Learn which classifiers matter most, including programming language, license, and operating system, to make your package easily discoverable and trusted by others.

We'll cover the following...

The Python Package Index (“PyPI”) contains thousands of Python libraries. Proper classification metadata will allow people to find yours more easily. PyPI lets you browse packages by classifier. You can even select multiple classifiers to narrow your search. Classifiers are not invisible metadata that you can just ignore!

To classify your software, pass a classifiers parameter to the Distutils setup() function. The classifiers parameter is a list of strings. These strings are not freeform. All classifier strings should come from this list on PyPI.

Classifiers are optional. You can write a Distutils setup script without any classifiers at all. Don’t do that. You ...