Skip to main content

pycronie

This is a small python project to schedule python function as cron like jobs, using a decorator syntax.

Currently only async function are executed as part of an asyncio event loop.

Installing

To install this project use

pip install pycronie

Example

To schedule a async function one must import the cron decorator and use it on any async function:

from pycronie import Cron

cron = Cron()

@cron.cron("* * * * *")
async def cron_function():
    pass

To run the eventloop use cron.run_cron():

crom pycronie import Cron

cron = Cron()
cron.run_cron()

Release files for pycronie 0.3.0

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

Source distribution (sdist)

Source distribution for pycronie 0.3.0
File Size Uploaded
pycronie-0.3.0.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycronie 0.3.0
File Interpreter ABI Platform
pycronie-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / pycronie-0.3.0.tar.gz

Download URL pycronie-0.3.0.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5c2f77d27ab7a3b9752d3837ef31ff7a03c50ab9fb3a62387ecb09df3a2baa44
BLAKE2b-256 checksum
How to use checksums
7277c427734de86cc03e040f802eee2cdb5ce21f0f5e371756849a27f0253710
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / pycronie-0.3.0-py3-none-any.whl

Download URL pycronie-0.3.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ff75229efd1c462d8febe2eb962e1df607c49ab197fd168abd2a5425725c703
BLAKE2b-256 checksum
How to use checksums
0b3daa833d27c1f70705c17c954e9816ea00a98492ddc9f2cb5377b1305f34aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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