cronguard (Python)
Report scheduled job runs to Cronguard. Standard library only; Python 3.9+.
pip install cronguard-sdk
The package is published as cronguard-sdk and imported as cronguard.
from cronguard import Monitor
monitor = Monitor("https://ping.cronguard.dev/ping/<key>") # or set CRONGUARD_PING_URL
with monitor.run() as run: # start ping now; success, or fail with the traceback
run.log("exported 1,204 rows")
export()
@monitor.job # decorator form
def nightly_cleanup():
...
run = monitor.start() # manual form
code = subprocess.call(["./backup.sh"])
run.exit(code) # 0 is success, anything else a failure
Each run gets a run ID, so overlapping runs are timed correctly. Pings retry three times and
never raise: if Cronguard is unreachable, a warning is logged on the cronguard logger.
Run the tests with python -m unittest discover -s tests from this directory.
Metadata
Release files for cronguard-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cronguard_sdk-0.1.0.tar.gz | 4.0 kB | With provenance | Details for cronguard_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cronguard_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cronguard_sdk-0.1.0-py3-none-any.whl |
Total release size: 7.6 kB
Release files / cronguard_sdk-0.1.0.tar.gz
| Download URL | cronguard_sdk-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
731b634f089b76809c83bddcf761b998f2f820a7e0bc7248c38061f7517fcbce
|
|
BLAKE2b-256 checksum How to use checksums |
6a3b5c9517ccbe499457629e0a85fd34fa56c1a96fc3d382f3fdb1ddc317343f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.
Transparency logRelease files / cronguard_sdk-0.1.0-py3-none-any.whl
| Download URL | cronguard_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c32c758ae4d6dd31572b3f815b183a5336fa421e127a51fdd3c07f473f409c43
|
|
BLAKE2b-256 checksum How to use checksums |
7daa981b2d47228e73e37331aa7b12468a0c60ee8dc0ce06f88e5798190eeb78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.
Transparency logSecurity for cronguard-sdk 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cronguard_sdk-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.