This project has been archived by its maintainers, and is no longer receiving any updates.
wsg
API load testing tool designed for performance visualization. Sends concurrent requests to an endpoint and produces a latency/throughput graph from the results.
Install
uv tool install wsg
Or, without a permanent install:
uvx wsg <url> [options]
pipx install wsg / pip install wsg also work if you don't use uv.
Usage
wsg <url> [options]
Options
| Flag | Description | Default |
|---|---|---|
-X, --method |
HTTP method to use | GET |
-n, --total_requests |
Total number of requests to send | 100 |
-c, --concurrency |
Number of concurrent requests | 10 |
-H, --headers |
HTTP headers, e.g. -H "Authorization: Bearer xyz" |
none |
-d, --body |
Request body for POST/PUT requests | none |
--timeout |
Timeout per request in seconds | 10.0 |
-o, --output_path |
Path to save the output graph | results.png |
Example
wsg https://api.example.com/ping -n 500 -c 20 -o load_test.png
This sends 500 requests at a concurrency of 20 and saves a latency
distribution + throughput-over-time chart to load_test.png in the current
directory.
Metadata
Release files for wsg 0.1.0
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 |
|---|---|---|---|---|
| wsg-0.1.0.tar.gz | 4.7 kB | Without provenance | Details for wsg-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wsg-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for wsg-0.1.0-py3-none-any.whl |
Total release size: 11.8 kB
Release files / wsg-0.1.0.tar.gz
| Download URL | wsg-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d4296c7992aed5a17f8ec93b936b166208a95249fba55ffb8c92b15e89bbfad
|
|
BLAKE2b-256 checksum How to use checksums |
5e662ea73790a4a94f8bb882cab65fc5fd055bee7663641c4dd7c94690143ac0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / wsg-0.1.0-py3-none-any.whl
| Download URL | wsg-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
993163ad3abcd2facb25c4f77e8c102e77f96aa4f70b01d836c3869a24f3aced
|
|
BLAKE2b-256 checksum How to use checksums |
d31d76dcd4aedccb1e242699eaaa7c96bc1eb4e66de2f6c24581cf068cfc94f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for wsg 0.1.0
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.