Skip to main content

Crono API Client

Python client for the 🔮 Crono API: https://crono.com/

>>> import crono_api_client as crono
>>> crono.request('POST', https://your.app/').after(hours=42)

How to

Install package:

$ pip install crono_api_client

Configure .env variables:

CRONO_API_URL=… 
CRONO_API_KEY=…

Get all jobs:

>>> job_uuids = crono.jobs()

Get a job:

>>> job_json = crono.job(<string:job_uuid>)

Schedule a job:

>>> job_uuid = crono.<task>(<args>, <kwargs>).<trigger>(<args>, <kwargs>)
>>> # or
>>> job_uuid = crono.<trigger>(<args>, <kwargs>).<task>(<args>, <kwargs>)

Delete a job:

>>> job_uuid = crono.delete(<string:job_uuid>)

Development

Packaging

# Generating distribution archives
$ python setup.py sdist bdist_wheel

# Uploading the distribution archives
$ twine upload --skip-existing dist/*

Metadata

Release files for crono-api-client 0.1.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crono-api-client 0.1.17
File Size Uploaded Provenance
crono-api-client-0.1.17.tar.gz 2.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for crono-api-client 0.1.17
File Interpreter ABI Platform
crono_api_client-0.1.17-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / crono-api-client-0.1.17.tar.gz

Download URL crono-api-client-0.1.17.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
745b2ae15afa8064c915eb327f12b5a653ce303bc2ab94e4edf69b9f20ab67e2
BLAKE2b-256 checksum
How to use checksums
07529004ae06743b179f65a47c2ca48c54201e1eccdc2b1c4f9ad2146133dd91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3

Release files / crono_api_client-0.1.17-py3-none-any.whl

Download URL crono_api_client-0.1.17-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60ff31a6c7a89a3a23a31897af58c51b084c942364ba00e4d733fcbf429cbf56
BLAKE2b-256 checksum
How to use checksums
fd6c52c6fbf48c4b512c823fffe501f2e86ce67a1659ae3806de15f82cff988a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3

Security for crono-api-client 0.1.17

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page