skip to navigation
skip to content

carotte 0.0.4

Carotte is a very lightweight Celery on zmq

Latest Version: 0.2.0

Carotte is a very lightweight Celery on zmq.


pip install carotte

Getting started

Create your

from carotte import task

def hello_world(name):
    return 'Hello %s!' % name

Run your worker (default on “tcp://”):

carotte --tasks-module tasks

Run your client:

>>> from carotte import Client
>>> client = Client()
>>> task = client.run_task('hello_world', ['foo'])
>>> task.success
>>> True
>>> task.result
>>> 'Hello foo!'
File Type Py Version Uploaded on Size
carotte-0.0.4.tar.gz (md5) Source 2014-03-14 5KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 15 downloads in the last week
  • 330 downloads in the last month