Python: Check Package Version

While working with Python you may wonder what is the version of a certain Python package (library) that you are using.

There are several ways of how to get the version of a package or module in Python.

This note describes how to check the version of Python packages from a Python shell, from a command-line (terminal) or using a pip command. (more…)

PIP: Install From Private PyPi Repository

By default pip installs packages from a public PyPi repository but can also be configured to install them from the private repositories, like Nexus or Artifactory.

In this note i will show how to configure pip to install packages from the private repositories.

I will also show how to define username and password in pip for the private repositories that require authentication and how to troubleshoot the SSL related issues. (more…)