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 details)
Built Distribution
File details
Details for the file csvmonitor-1.3.tar.gz
.
File metadata
- Download URL: csvmonitor-1.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
854ae918538f9e455e56940d5bd5161a11c4f708ea3ba1cf20c4b54becea9f64
|
|
MD5 |
7484296b0be89092157e420f9d1fecc6
|
|
BLAKE2b-256 |
1c33de48c88fae899ed1fe74c79c7b4483181e87e8668f0fe5f0bea556bf1174
|
File details
Details for the file csvmonitor-1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: csvmonitor-1.3-py2.py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5233d32f27a9d2e5d258d374bae5f2bafa7d154f3660632e14d18b839e26607d
|
|
MD5 |
dd3f48e2ba4f9d67b0ff765ec592b029
|
|
BLAKE2b-256 |
b3286fd5a2a05be34868f7ccbe9ef18631991f420cef96a3ee4ee76654319a15
|