Download packages from pypi.org.

In the shell:

$ pip install foo

In Python:

import foo