[python] How to pip install a package with min and max version range?

you can also use:

pip install package==0.5.*

which is more consistent and easy to read.