While working on a Django project, I found myself needing to check the current version of a few specific packages that were installed.

Here's how I did it in terminal:

$ pip freeze | grep haystack

The snippet above will output installed packages in requirements format using freeze and then filter packages containing the string "haystack" using grep