Installing packages from the web

I would like to install a package with the following command:

python -m pip install --index-url=Index of /pip/simple/ blpapi

but I don’t know how to do.

Should I write anything special on the requirement.txt?
Or is there another way?