Skip to content

Python SDK

What it’ll look like

from recuro import Recuro
recuro = Recuro(token="YOUR_API_TOKEN")
# Create a cron
recuro.crons.create(
name="Nightly cleanup",
url="https://api.yourapp.com/cleanup",
method="POST",
cron_expression="0 3 * * *",
)
# Push a one-off job
recuro.jobs.create(
queue="emails",
url="https://api.yourapp.com/send-welcome",
payload={"user_id": 42},
)

Async support via AsyncRecuro is also planned. Requires Python 3.9+.

In the meantime

The REST API works from any language. See the API reference to get started now.