This small python package provides a native Python client to access LIGO.ORG-authenticated web content.
The core of this package was written by Scott Koranda, while the rest of the package is maintained by Duncan Macleod.
This packages uses an existing Kerberos ticket to authenticate against the LIGO.ORG SAML service.
You can install the package via
pip install git+https://github.com/duncanmmacleod/ligo.org.git
Then, assuming a Kerberos ticket has been created via
kinit [email protected]
the basic usage is as follows
>>> from ligo.org import request
>>> response = request('https://somewhere.ligo.org/mywebpage/')
The response
is then a str
object from which data can be read.