hyperfoil-python-client
This is a python client for Hyperfoil.
Right now it's a wrapper for Hyperfoil's REST API. In the future, I would like to add factories for easier benchmark creation in python.
Usage
from hyperfoil import HyperfoilClient
import yaml
# Initialize client
client = HyperfoilClient('http://hyperfoil_url.com')
# Create new benchmark
with open('tests/benchmarks/hello-world.yaml') as file:
data = file.read()
data = yaml.load(data, Loader=yaml.loader)
client.benchmark.create(params=data)
# Start benchmark
benchmark_run = client.benchmark.start('benchmark_name')
# Kill benchmark
benchmark_run.kill()
# All stats of run
stats = benchmark_run.all_stats()
# Accessing logs:
logs = client.log()
Run the tests
Before running the tests you need to export the HYPERFOIL_URL environment variable.
Metadata
Release files for hyperfoil-client 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hyperfoil-client-0.1.8.tar.gz | 10.0 kB | Without provenance | Details for hyperfoil-client-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hyperfoil_client-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for hyperfoil_client-0.1.8-py3-none-any.whl |
Total release size: 19.1 kB
Release files / hyperfoil-client-0.1.8.tar.gz
| Download URL | hyperfoil-client-0.1.8.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7d844fdbdc799768a6e7496152592727f7a5195f90370a3a5ad2be75f219746
|
|
BLAKE2b-256 checksum How to use checksums |
a6993fc3df1cfbf81f75279629bdbf0126f25522fac9f1072a24c8bfffd719d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|
Release files / hyperfoil_client-0.1.8-py3-none-any.whl
| Download URL | hyperfoil_client-0.1.8-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7820f6aca8959c61c03f302e1a7c30c37d4d04990ca7fecaf7358d03a1742f2b
|
|
BLAKE2b-256 checksum How to use checksums |
2f854382105d2e3e1ca651f54be2325bb4bf6c083b2f53e13adaa3fb4668aeee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|
Security for hyperfoil-client 0.1.8
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.