/ligo.org

Python client for LIGO.ORG-authenticated HTTP(S) requests

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

LIGO.ORG for Python

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 albert.einstein@LIGO.ORG

the basic usage is as follows

>>> from ligo.org import request
>>> response = request('https://somewhere.ligo.org/mywebpage/')

The response is then a file-like object from which data can be read.