Scheduling python functions for execution.
Project description
dcnr-scheduler
Minimal example package. After installation:
from dcnr_scheduler import ScheduledRun, ScheduledPlan
from datetime import datetime
@ScheduledRun("at * on mon-fri freq 30/hour")
def print_msg(plan:ScheduledPlan, curr_dt:datetime):
print(curr_dt, 'Hello world')
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
dcnr_scheduler-0.2.0.tar.gz
(10.9 kB
view details)
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 dcnr_scheduler-0.2.0.tar.gz.
File metadata
- Download URL: dcnr_scheduler-0.2.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98e8e4a7949f6d09e1818339c5ef1581425f0d318a9625d53158aac133cba9a5
|
|
| MD5 |
8068bb8ecf58548516fcaaa52b26df51
|
|
| BLAKE2b-256 |
deff67b7f8ac25362b19b9541f07c39a96649fbc0d05112937a556a0bcde2471
|
File details
Details for the file dcnr_scheduler-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dcnr_scheduler-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4562f22de17aa7b8486094f38d938bef10552293ffca7d39a42062717ce884d4
|
|
| MD5 |
8bda663855dac8453518d615b4f2e66e
|
|
| BLAKE2b-256 |
4ccfe4444afcd8c1de05aea953fc926c7534015c0f38fe25b3b64fdb613307d6
|