codespeed-client 0.3.3
Library and command-line tool to push benchmark data to CodeSpeed.
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
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| codespeed-client-0.3.3.tar.gz (md5) | Source | 2012-01-18 | 3KB | 160 | |
- Author: Alexey Palazhchenko
- Home Page: https://github.com/AlekSi/codespeed-client
- License: MIT
-
Categories
- Development Status :: 4 - Beta
- Environment :: Console
- Intended Audience :: Developers
- License :: OSI Approved :: MIT License
- Operating System :: OS Independent
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.2
- Topic :: Software Development :: Testing
- Topic :: System :: Benchmark
- Package Index Owner: aleksi
- DOAP record: codespeed-client-0.3.3.xml
