Skip to main content

Lightweight HTTP integration for the csvmonitor.com heartbeat service.

Project description

Python Client for CSVMonitor.com

This is a thin wrapper around the Python requests module to trigger HTTP beacons on the csvmonitor.com Software as a Service (SaaS) site. To use it in your project, install the csvmonitor module using pip:

python -m pip install csvmonitor

Then, after registering at csvmonitor.com, create a beacon and copy the organization and beacon keys for the beacons you wish to trigger. Use the fire_beacon function to trigger the beacons, and you're done!

from csvmonitor import fire_beacon

. . .

ok = somefunc()

fire_beacon(CSVM_ORG_ID, BEACON_KEY, 'success' if ok else 'error')

Project details


Release history Release notifications | RSS feed

This version

1.3

Download files

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

Source Distribution

csvmonitor-1.3.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

csvmonitor-1.3-py2.py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 2 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