Scidash Client library for uploading test 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_score(score)
# or call upload_suite method passing suite and score_matrix sciunit objects
client_instance.upload_suite(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-0.1.1.tar.gz
(4.3 kB
view details)
File details
Details for the file scidash-api-0.1.1.tar.gz.
File metadata
- Download URL: scidash-api-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ebfa8acdfeaddff902a22b2333e956be619cc82ae052fa6cdd5d76e9deb7412
|
|
| MD5 |
a99ddb48f3c6551829cb330988e6f34c
|
|
| BLAKE2b-256 |
0effaeed91360b5968f7098a9c678da381202557e05a8b283c857c0447fe0edc
|