Scidash Client library for uploading data
Project description
SciDash Python API to upload data to SciDash from any Python environment
How to use it
from scidash_api import client
# instantiate your client with defaults
client_instance = client.ScidashClient()
# or with optional build_info and hostname attributes
client_instance = client.ScidashClient(build_info="SUPER BUILD", hostname="EXTRAORDINARY HOST")
# or with custom config to point to a specific scidash deployment such as 'http://localhost:8000' and hostname
client_instance = client.ScidashClient({'base_url': 'http://localhost:8000'}, hostname="EXTRAORDINARY HOST")
# login into Scidash Server
client_instance.login({'username': 'my_username', 'password': 'my_secret_password'})
# and then call upload method for score object from sciunit
client_instance.upload_test_score(score)
# or call upload_suite method passing suite and score_matrix sciunit objects
client_instance.upload_suite_score(suite, score_matrix)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scidash-api-1.3.0.tar.gz
(8.5 kB
view details)
File details
Details for the file scidash-api-1.3.0.tar.gz
.
File metadata
- Download URL: scidash-api-1.3.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e4215d266ca3e2e2e8699ae1374fb7a71f330363383869dca16b0967dc2cbdf |
|
MD5 | ee2c6eae08495bc9bea1d15d56979b4c |
|
BLAKE2b-256 | 6019c6258e39dcddc3709ed1f043382738da617eb2feb7f1b1bc57c71d5be491 |