skip to navigation
skip to content

Not Logged In

carotte 0.0.6

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 worker --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.6.tar.gz (md5) Source 2014-04-03 6KB
  • Downloads (All Versions):
  • 15 downloads in the last day
  • 102 downloads in the last week
  • 526 downloads in the last month