This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Task scheduling tools for python

Project Description

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

Release History

Release History

This version
History Node

1.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
py-task-1.1.tar.gz (10.2 kB) Copy SHA256 Checksum SHA256 Source Sep 24, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting