Official Python SDK for the EdgeCron webhook scheduling and callback delivery platform.
Project description
EdgeCron Python SDK
Official Python SDK for the EdgeCron webhook scheduling and callback delivery platform.
Schedule delayed HTTP requests, deliver webhooks reliably, and automatically retry failed calls — with full execution history so nothing gets lost.
中文文档:README.zh-CN.md
Install
pip install edgecron-python
Quick Start
from edgecron import EdgeCron, APIError
from edgecron.types import CreateScheduleRequest
client = EdgeCron("ak_xxx", "sk_xxx")
try:
schedule = client.schedules.create(
CreateScheduleRequest(
name="my-schedule",
cron_expr="*/5 * * * *",
)
)
print(schedule.id)
except APIError as exc:
print(exc.code, exc.message, exc.request_id)
Modules
| Client method | Description |
|---|---|
client.schedules.* |
Cron schedule CRUD, pause, resume |
client.tasks.* |
Task execution instances, cancel |
client.events.* |
Event publishing and management |
client.endpoints.* |
Webhook endpoint configuration |
client.deliveries.* |
Delivery attempt records and retry |
client.retries.* |
Retry policies and jobs |
client.subscription.* |
Quota, usage, and resource limits |
Configuration
base_url— override API base URLtimeout— HTTP client timeout in secondssession— customrequests.Session
Error Handling
Service-side business errors raise APIError.
from edgecron import APIError
try:
client.schedules.get(123)
except APIError as exc:
print(exc.code, exc.message, exc.request_id)
Security Notice
This is a server-side SDK. Never expose secret in browsers, mobile apps, or other untrusted clients.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edgecron_python-1.0.0.tar.gz.
File metadata
- Download URL: edgecron_python-1.0.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
398fbbe2976765cb585dcf7fa9d12656edf3dd27e0345b094feb3da73f3ff14e
|
|
| MD5 |
8f437ec4e4621666ceddfde6d05a743a
|
|
| BLAKE2b-256 |
017ccc599bff548a6854a071ddaf0275254b860a38bea0ff95eaba00f85bfd23
|
Provenance
The following attestation bundles were made for edgecron_python-1.0.0.tar.gz:
Publisher:
publish-python-pypi.yml on edgecron/edgecron-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgecron_python-1.0.0.tar.gz -
Subject digest:
398fbbe2976765cb585dcf7fa9d12656edf3dd27e0345b094feb3da73f3ff14e - Sigstore transparency entry: 2045162482
- Sigstore integration time:
-
Permalink:
edgecron/edgecron-python@3d99aaf40c24a666c14bc81d320678193c812673 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/edgecron
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-pypi.yml@3d99aaf40c24a666c14bc81d320678193c812673 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgecron_python-1.0.0-py3-none-any.whl.
File metadata
- Download URL: edgecron_python-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2046578b1e12828dfc6aa133551283d0bb7e20d795ef63db1f523c00846c9b75
|
|
| MD5 |
653fdb6a8029bf4f7ffac752d30b827f
|
|
| BLAKE2b-256 |
8fb67e9b8345eec05ebaed0f538c2af3e83b119252051727cb23a1b61bf145c0
|
Provenance
The following attestation bundles were made for edgecron_python-1.0.0-py3-none-any.whl:
Publisher:
publish-python-pypi.yml on edgecron/edgecron-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgecron_python-1.0.0-py3-none-any.whl -
Subject digest:
2046578b1e12828dfc6aa133551283d0bb7e20d795ef63db1f523c00846c9b75 - Sigstore transparency entry: 2045162628
- Sigstore integration time:
-
Permalink:
edgecron/edgecron-python@3d99aaf40c24a666c14bc81d320678193c812673 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/edgecron
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-pypi.yml@3d99aaf40c24a666c14bc81d320678193c812673 -
Trigger Event:
push
-
Statement type: