Skip to content

Finding and Installing Packages

Finding packages

You can search for packages directly on the PyPI website. The search results can be filtered by Trove Classifiers — standardized labels that package authors apply to their projects to categorize things like intended audience, license, and supported Python versions. You can also filter by License, or by Python version (listed under "Programming Language").

Installing packages

Warning

Installing packages from PyPI means running third-party code, which carries inherent security risks. Before installing any package, we strongly recommend reading our package security guide.

The standard tool for installing Python packages is pip. It is included with modern versions of Python. The official Python Packaging User Guide provides a comprehensive tutorial on installing packages with pip. The guide includes:

Other package managers

While pip is the standard installer, the Python ecosystem has other popular package management tools that also use PyPI as their default package source. These tools often provide additional features like automatic dependency locking and integrated project management workflows.

Here are the installation guides for some common alternatives: