To install the ISPyB API, run this command in your terminal:
$ pip install ispyb
This is the preferred method to install the ISPyB API, as it will always install the most recent stable release.
The sources for the ISPyB API can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/DiamondLightSource/ispyb-api
Or download the tarball:
$ curl -OL https://github.com/DiamondLightSource/ispyb-api/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install