Docs Blog Sign in Get started
Python SDK

Tickstem Python SDK — cron jobs, uptime, heartbeat, and email verification.

The official Tickstem Python SDK. Schedule cron jobs, monitor HTTP endpoints, track heartbeats, and verify email addresses from your Python app — all under one API key. Supports Python 3.11+.

$ pip install tickstem
Requires Python 3.11+. Runtime dependency: httpx.
Cron jobs
from tickstem import CronClient, CronRegisterParams client = CronClient(os.environ["TICKSTEM_API_KEY"]) job = client.register(CronRegisterParams( name="Send digest", schedule="0 9 * * 1-5", endpoint="https://yourapp.com/webhooks/digest", ))
Uptime monitoring
from tickstem import UptimeClient, UptimeCreateParams, Assertion client = UptimeClient(os.environ["TICKSTEM_API_KEY"]) monitor = client.create(UptimeCreateParams( name="Production API", url="https://api.yourapp.com/health", assertions=[Assertion(source="status_code", comparison="eq", target="200")], ))
Heartbeat monitoring
from tickstem import HeartbeatClient, HeartbeatCreateParams client = HeartbeatClient(os.environ["TICKSTEM_API_KEY"]) hb = client.create(HeartbeatCreateParams( name="daily backup", interval_secs=86400, grace_secs=3600, )) # At the end of every successful run client.ping(hb.token)
Email verification
from tickstem import VerifyClient client = VerifyClient(os.environ["TICKSTEM_API_KEY"]) result = client.verify("[email protected]") # result.valid, result.disposable, result.role_based, result.reason