Skip to main content

codespeed-client

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

Metadata

Release files for codespeed-client 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codespeed-client 0.3.3
File Size Uploaded Provenance Actions
codespeed-client-0.3.3.tar.gz 3.7 kB Without provenance Details for codespeed-client-0.3.3.tar.gz

Release files / codespeed-client-0.3.3.tar.gz

Download URL codespeed-client-0.3.3.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7ad38866d817197d032a0f6541c4ff36661a62d6a7e1447bb7ea5bd171f6bd47
BLAKE2b-256 checksum
How to use checksums
f7d23a98311c19f1b9649a3194389427bf679d23ea48b803635831568db34995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for codespeed-client 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page