Herd python client
Drafting a project herd client library
Usage
Install the library:
python3 -m pip install herdpy
Use the new_report helper to create and send reports to the herd server:
from herdpy import new_report
r = new_report()
r.url = "http://nowhere.local"
r.label = "mycheck"
r.system = "myhost"
r.status_code = "E200OK"
r.add_tag("test")
r.add_tag("dev")
# Send the report to the server
r.send()
More to come...
License
Distributed under the MPL2.0 License. See LICENSE for more information.
Author
Steffen Park dev@istherepie.com
Metadata
Release files for herdpy 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| herdpy-0.0.6.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| herdpy-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / herdpy-0.0.6.tar.gz
| Download URL | herdpy-0.0.6.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e530de65a4db15aced7767bfa8bcabec38fbb8d6ab6d64712eab4877120a0de
|
|
BLAKE2b-256 checksum How to use checksums |
be260751ceaec962aa0b5aed86b889eab311028640797aecd4dd9ea2d396f1e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / herdpy-0.0.6-py3-none-any.whl
| Download URL | herdpy-0.0.6-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8371e7284f0f8259726f785c08ef027d63436ff3b93690c44fbfaadd5d2862ca
|
|
BLAKE2b-256 checksum How to use checksums |
841867849b8a09ebf9cd5feea55fe441e9c6524e8b6d3c6e39f9031d1c1abab7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|