Skip to main content

A mini SDK for interacting with the LLC Science Admin

Project description

LLC Science SDK

A simple way to fetch scientific data.

Installation

pip install llcsciencesdk

Usage

Getting data from new API version

from llcsciencesdk.llc_api import ScienceSdk

llc_api = ScienceSdk()
llc_api.login("username", "password")
model_input = llc_api.get_model_inputs(1)

Connecting to staging is also possible

from llcsciencesdk.llc_api import ScienceSdk

llc_api = ScienceSdk(environment="staging")
llc_api.login("username", "password")
model_input = llc_api.get_model_inputs(1)

Getting data from old API version

from llcsciencesdk.llc_api import ScienceSdk

llc_api = ScienceSdk(environment="staging")
llc_api.login("username", "password")
model_input = llc_api.get_old_model_inputs([43])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llcsciencesdk-0.1.5.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

llcsciencesdk-0.1.5-py2.py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page