Posts tagged with "pip"

pip is the package installer for Python. You can use pip to install packages from the Python Package Index (PyPI) and other package repositories.

4 Posts

PyPi web API

One of those things that comes up from time to time is that you want to be able to find out some information about a package on PyPi. It…

Published on May 12th, 2020 by Janis Lesinskis.

Updating your setup.py files to the newer format

One of the not so nice things about legacy installable python packages is the executable nature of setup.py files. This means amongst other things that you can't reliably determine the contents of some setup.py files without arbitrary code execution. This is what led to PEP 518 which specified a declarative metadata format that can be stored in easy to parse file. Updating is a pain though, but thankfully there's some tooling that makes this easier as I found out recently.

Published on May 11th, 2020 by Janis Lesinskis.

Running pip as a Python module

Since Python 3.4 you have been able to run pip as though it were a Python module, this actually prevents a variety of annoying issues from occurring.

Published on November 3rd, 2019 by Janis Lesinskis.

Getting Altair to render inline in Jupyter

Run into the issue where Altair won't plot inline in your Jupyter notebooks? Here's a reason why it happens and how to fix it.

Published on April 11th, 2019 by Janis Lesinskis.