Drafting a project herd
client library
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...
Distributed under the MPL2.0 License. See LICENSE
for more information.
Steffen Park dev@istherepie.com