Library and command-line tool to push benchmark data to CodeSpeed.
Project description
Library and command-line tool to push benchmark data to CodeSpeed.
Tested with Python 2.6, 2.7 and 3.2. Versions < 2.6 will not work, 3.x may work but not tested.
Usage as library:
from codespeed_client import Client # kwargs list: environment, project, benchmark, branch, commitid, revision_date, executable, # result_date, result_value, max, min, std_dev # kwargs passed to constructor are defaults client = Client('http://codespeed.example.net', environment='Test Environment', project='Project') # kwargs passed to add_result overwrite defaults client.add_result(commitid=1278, benchmark='primes', result_value=42.0) client.add_result(commitid=1278, benchmark='ai', result_value=7) # upload all results in one request client.upload_results()
As command-line tool:
codespeed-client --help codespeed-client --environment='Test Environment' --project=Project --commitid=1278 \ --benchmark=primes --result-value=42.0 codespeed-client --environment='Test Environment' --project=Project --commitid=1278 \ --benchmark=ai --result-value=7
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
File details
Details for the file codespeed-client-0.3.0.tar.gz
.
File metadata
- Download URL: codespeed-client-0.3.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e0bfa827bb700a2237f852c6d94723e5c710a038b29bd5172770d0a9932bdb0 |
|
MD5 | 0fdb5d3307403a752a62230e67bf0be9 |
|
BLAKE2b-256 | 0c4dd4728813ea164cc26df5fa4c35d771dfd9e1868238eecc2e791ab9c19170 |