Skip to main content

Building a project herd client library

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

herdpy-0.0.6.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

herdpy-0.0.6-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page