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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file herdpy-0.0.6.tar.gz.

File metadata

  • Download URL: herdpy-0.0.6.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for herdpy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 8e530de65a4db15aced7767bfa8bcabec38fbb8d6ab6d64712eab4877120a0de
MD5 63be69b89169865665f4577d8763b2e3
BLAKE2b-256 be260751ceaec962aa0b5aed86b889eab311028640797aecd4dd9ea2d396f1e7

See more details on using hashes here.

File details

Details for the file herdpy-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: herdpy-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for herdpy-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8371e7284f0f8259726f785c08ef027d63436ff3b93690c44fbfaadd5d2862ca
MD5 f91f8f2ac28c2ffadd941b4abc4a5b19
BLAKE2b-256 841867849b8a09ebf9cd5feea55fe441e9c6524e8b6d3c6e39f9031d1c1abab7

See more details on using hashes here.

Supported by

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