Minimal Python client library for interacting with the (placeholder) CronPulse monitoring API.
pip install cronpulse-libfrom datetime import datetime, UTC, timedelta
from cronpulse_lib import CronPulse
client = CronPulse(api_key="YOUR_API_KEY")
# Create a monitor that expires in 1 day
monitor = client.create_monitor(
name="Nightly Data Sync",
interval=60,
email="alerts@example.com",
expires_at=datetime.now(UTC) + timedelta(days=1),
)
# Ping when your job runs
monitor.ping()
# Optionally delete
# monitor.delete()Releases are automated via GitHub Actions (trusted PyPI publishing) when pushing a tag matching python-v*.
Editable install with dev tools:
pip install -e python[dev]
pytest -qMIT