# perftracker-lib A client library for the [perftracker](https://github.com/perfguru87/perftracker) and a set of libraries for performance testing
## Supported python version
python2.7
python3.0+
## Building and installing the perftracker-client python package
Installing from pypi.org:
` pip install perftrackerlib `
Installing from sources:
` python3 ./setup.py build python3 ./setup.py install `
## Usage Examples
### Python-written Test Suites
Minimalistic test suite: ` python3 ./examples/pt_suite_example_minimal.py --pt-title="Website suite run" --pt-url http://perftracker.localdomain:9000 `
Simulate a ‘website’ suite run and upload results: ` python3 ./examples/pt_suite_example.py -v --pt-title="Website suite run" --pt-url http://perftracker.localdomain:9000 `
Use code like examples/pt_suite_example_populate.sh to mass populate perftracker with fake data
### Control Panel Crawler
Run selenium-based test on a real WordPress Admin panel: ` python3 ./examples/pt-wp-crawler.py -m -U admin -P pass https://demos1.softaculous.com/WordPress/wp-login.php `
### Upload pre-generated files with results:
Sometimes you don’t want to write a python suite and just grab some files and export results. In this case you can use the pt-suite-uploader.py tool to parse test/json files (or even launch an external tool) and then upload results: ` python3 ./examples/pt-suite-uploader.py -f ./examples/data/sample.txt python3 ./examples/pt-suite-uploader.py -f -j ./examples/data/sample.json python3 ./examples/pt-suite-uploader.py -- /bin/echo "tag: my test; score: 2.3;" ... `
## Contributing a patch
Make a change and test your code before commit: ` python ./test.py `
## Release notes
See [http://www.perftracker.org/client/#Release_Notes](http://www.perftracker.org/client/#Release_Notes)
Metadata
Release files for perftrackerlib 0.0.25
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 | |
|---|---|---|---|---|
| perftrackerlib-0.0.25.tar.gz | 205.8 kB | Without provenance | Details |
Release files / perftrackerlib-0.0.25.tar.gz
| Download URL | perftrackerlib-0.0.25.tar.gz |
|---|---|
| Size | 205.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7656c45f404c0f177ea4dab229522aa27bf63239b2d0b03199d169bf37d68848
|
|
BLAKE2b-256 checksum How to use checksums |
05d43ca35215cac99ab7b065294253bcdc656b95bc6de6947fb9cb515d2c083e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
|
Security for perftrackerlib 0.0.25
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.