Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A simple task scheduler, built on top of gevent.

Project Description

A very simplistic task scheduler built around gevent.


  1. Create a task scheduler instance:

    from greentasks import TaskScheduler
    scheduler = TaskScheduler()
  2. Implement a task:

    from greentasks import Task
    class AwesomeTask(Task):
        name = 'awesome'
        delay = 10
        periodic = True
        def run(self, arg1, kw=None):
            return arg1
  3. Schedule the task for asynchronous execution:

    packaged_task = scheduler.schedule(AwesomeTask)
  4. Wait for the result (if needed):

    result = packaged_task.result.get()

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(11.5 kB) Copy SHA256 Hash SHA256
Source None Sep 15, 2016
(18.3 kB) Copy SHA256 Hash SHA256
Source None Sep 15, 2016

Supported By

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 Google Google Cloud Servers