Skip to content

istherepie/herd-python-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Prototyping a python client for the herd project!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages