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.
- GitHub – myint/yolk
- StackOverflow – Python and pip, list all versions of a package that’s available?