pip – Check avaiable Python package version

It’s quite common to check the available versions of a Python package before installing it. The yolk3k package is a very convenient command line tool for querying PyPI and Python packages. yolk3k is a fork of the original yolk and it adds Python 3 support while maintaining Python 2 support.

 

1. Install the yolk3k package.

pip install yolk3k

 

2. Start querying the available version of the django package.

yolk -V django

 

Another way to list the available version is to browse pypi.python.org online.

  • https://pypi.python.org/simple/<package-name>/

 

For example:

 

Done =)

Reference:

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.