This release is a pre-release and may not be stable for production use.
Motivation
Twisted provides excellent support for creating delayed calls and looping calls, but when a daemon runs for extended periods of time, it is often necessary to schedule tasks to run in a manner that would be more easily described by a schedule instead of a number of seconds delay. The twistedschedule module provides an interface for describing a schedule and a single implementation, a subset of the cron schedules from linux/Unix. In order to use these schedules, a ScheduledCall class has been created that acts like the twisted.internet.task.LoopingCall class. In the future, an extension of the twisted.application.internet.TimerService may be provided that would use the ScheduledCall instead of LoopingCall to provide a similar service.
Cron
The cron syntax used follows the crontab syntax listed on the Wikipedia page with the exceptions of the names of the days of the week which is not supported and the shortcuts which are also not supported.
1.0b1
twistedschedule.task.ScheduledCall completed
twistedschedule.cron.CronSchedule completed
unittests added for twistedschedule.task.ScheduledCall
unittests added for twistedschedule.cron
0.1
Planning phase. A few different ideas were tested before deciding upon the current implementation.
Metadata
Release files for twistedschedule 1.0b1
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 |
|---|---|---|---|---|
| twistedschedule-1.0b1.tar.gz | 11.1 kB | Without provenance | Details for twistedschedule-1.0b1.tar.gz |
Release files / twistedschedule-1.0b1.tar.gz
| Download URL | twistedschedule-1.0b1.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f277d57db41eb566ec712f41de4d9cee8f06a80996f63724782214c2567e4fc
|
|
BLAKE2b-256 checksum How to use checksums |
186479eae6b6b7b5f9fe1e43259ebc3564d0efe1d134b259345d8e49d35462fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for twistedschedule 1.0b1
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.