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
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)
Built Distribution
Close
Hashes for csvmonitor-1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5233d32f27a9d2e5d258d374bae5f2bafa7d154f3660632e14d18b839e26607d |
|
MD5 | dd3f48e2ba4f9d67b0ff765ec592b029 |
|
BLAKE2b-256 | b3286fd5a2a05be34868f7ccbe9ef18631991f420cef96a3ee4ee76654319a15 |