Skip to main content

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


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.2.0.tar.gz (96.9 kB view details)

Uploaded Source

File details

Details for the file scidash-api-1.2.0.tar.gz.

File metadata

  • Download URL: scidash-api-1.2.0.tar.gz
  • Upload date:
  • Size: 96.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scidash-api-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a1061835c6a142c82a1497942c490cf42b9a5ef9fc86597a83dbaaa13fc008e1
MD5 34333b927d2e3634356855b81c0ffd7a
BLAKE2b-256 0ad4e9a419f54eff6aee0d603c5d3e7e37c04a8abbf95dc43425e9f8340a7f69

See more details on using hashes here.

Supported by

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