CscTrackerQueueScheduler
This project is a Python job scheduling and queuing library. It allows jobs to be scheduled to run at specific periods and queues these jobs for execution.
Key Features
-
Job Scheduling: The Scheduler service (
SchedulerService) allows jobs to be scheduled for execution at specified intervals. It supports intervals in seconds, minutes, hours, days, and weeks, as well as daily scheduling at a specific time. -
Queue Service: Scheduled tasks are put in a queue (
QueueService) for execution. Tasks can be queued with or without priority, which determines their order of execution.
Installing
Install and update using pip:
pip install csctracker-queue-scheduler
Documentation and Examples
COMING SOON
Simple Example
from csctracker_queue_scheduler.models.enums.time_unit import TimeUnit
from csctracker_queue_scheduler.services.scheduler_service import SchedulerService
def my_function(): print("Hello, world!")
SchedulerService.start_scheduled_job(
function=my_function, period=5, time_unit=TimeUnit.SECONDS)
In the above example, my_function would be scheduled to run every 5 minutes.
Testing
Currently, this project does not have automated tests. They may be added in the future as needed.
Contributing
If you would like to contribute to this project, feel free to fork the repository, make your changes, and propose a pull request.
License
This project is under the MIT license. Please refer to the LICENSE file for more details.
Metadata
Release files for csctracker-queue-scheduler 26.47.1
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 |
|---|---|---|---|---|
| csctracker_queue_scheduler-26.47.1.tar.gz | 9.1 kB | Without provenance | Details for csctracker_queue_scheduler-26.47.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| csctracker_queue_scheduler-26.47.1-py3-none-any.whl | Python 3 | none | any | Details for csctracker_queue_scheduler-26.47.1-py3-none-any.whl |
Total release size: 18.0 kB
Release files / csctracker_queue_scheduler-26.47.1.tar.gz
| Download URL | csctracker_queue_scheduler-26.47.1.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b7aae80b1ad0d24fbe7977cae256f319cb14778e30adc8011e616182712758b
|
|
BLAKE2b-256 checksum How to use checksums |
18db075e57acd6170f3ec0728637705a3a56b26d106045d897c092ebb89398e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / csctracker_queue_scheduler-26.47.1-py3-none-any.whl
| Download URL | csctracker_queue_scheduler-26.47.1-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cdc201d5af883405a40adfcc3c57e27946de048894236bcff2299aaf317456e
|
|
BLAKE2b-256 checksum How to use checksums |
b9e52084362efd701b959251a710f7be7403491f1bafe9edcf1f9b9f593761a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for csctracker-queue-scheduler 26.47.1
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.