py-task is a task scheduling tools for Python.
Support repeat trigger
Support cron trigger
Easy to use in Python
Installation
The lastest stable is py-task-1.0.tar.gz
python setup.py install
Getting Start
demo for py-task:
from task import task
from task import task_container
from task.job import job
from task.trigger import cron_trigger
class MyJob(job.Job):
def __init__(self):
pass
def execute(self):
print 'Hello now is ' + str(time.time())
cron = '0-59/5 10,15,20 * * * * 2015'
new_task = task.Task('Task', MyJob(), cron_trigger.CronTrigger(cron))
container.add_task(new_task)
container.start_all()
Documentation
Full documentation is hosted on [HERE](). Sources are available in the docs/ directory.
License
py-task is licensed under the Apache License, Version 2.0. See LICENSE for full license text
Metadata
Release files for py-task 1.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 | |
|---|---|---|---|---|
| py-task-1.1.tar.gz | 10.2 kB | Without provenance | Details |
Release files / py-task-1.1.tar.gz
| Download URL | py-task-1.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e0c40fc6140193b2b2a662ea428b64e2d919c95c0337cdf7e2ec7e784b15b13
|
|
BLAKE2b-256 checksum How to use checksums |
f3c61a451a19bf553c913f82399481abed032323b32407f60d5df2dba79434e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for py-task 1.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.