All Projects → chris104957 → Django Carrot

chris104957 / Django Carrot

Licence: apache-2.0
A lightweight task queue for Django using RabbitMQ

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Django Carrot

Django Celery Docker Example
Example Docker setup for a Django app behind an Nginx proxy with Celery workers
Stars: ✭ 149 (+156.9%)
Mutual labels:  django, rabbitmq
python-task-queue
Asynchronous serverless task queue with timed leasing of tasks. Threaded implementations for SQS and local filesystem.
Stars: ✭ 24 (-58.62%)
Mutual labels:  asynchronous-tasks, task-queue
Django Rq
A simple app that provides django integration for RQ (Redis Queue)
Stars: ✭ 1,361 (+2246.55%)
Mutual labels:  django, task-queue
Distributed Multi User Scrapy System With A Web Ui
Django based application that allows creating, deploying and running Scrapy spiders in a distributed manner
Stars: ✭ 88 (+51.72%)
Mutual labels:  django, rabbitmq
Flower
Real-time monitor and web admin for Celery distributed task queue
Stars: ✭ 5,036 (+8582.76%)
Mutual labels:  rabbitmq, task-queue
gohive
🐝 A Highly Performant and easy to use goroutine pool for Go
Stars: ✭ 41 (-29.31%)
Mutual labels:  asynchronous-tasks, task-queue
Visual Chatbot
☁️ 👀 💬 Visual Chatbot
Stars: ✭ 161 (+177.59%)
Mutual labels:  django, rabbitmq
Crawl
selenium异步爬取网页图片
Stars: ✭ 13 (-77.59%)
Mutual labels:  django, rabbitmq
Letsmapyournetwork
Lets Map Your Network enables you to visualise your physical network in form of graph with zero manual error
Stars: ✭ 305 (+425.86%)
Mutual labels:  django, rabbitmq
Chatire
💬 Real time Chat application built with Vue, Django, RabbitMQ and uWSGI WebSockets.
Stars: ✭ 278 (+379.31%)
Mutual labels:  django, rabbitmq
Asynq
Asynq: simple, reliable, and efficient distributed task queue in Go
Stars: ✭ 934 (+1510.34%)
Mutual labels:  asynchronous-tasks, task-queue
Django Celery Tutorial
Django Celery Tutorial
Stars: ✭ 48 (-17.24%)
Mutual labels:  django, rabbitmq
Flight Ticket Booksystem
大三下数据库课设 - 机票预订系统 - Django
Stars: ✭ 55 (-5.17%)
Mutual labels:  django
Awesome Python Primer
自学入门 Python 优质中文资源索引,包含 书籍 / 文档 / 视频,适用于 爬虫 / Web / 数据分析 / 机器学习 方向
Stars: ✭ 57 (-1.72%)
Mutual labels:  django
Django Icons
Icons for Django
Stars: ✭ 55 (-5.17%)
Mutual labels:  django
Dj Paypal
Paypal integration for Django - Inspired by Dj-Stripe
Stars: ✭ 55 (-5.17%)
Mutual labels:  django
Django Tsvector Field
Django field for tsvector (PostgreSQL full text search vector) with managed stored procedure and triggers.
Stars: ✭ 56 (-3.45%)
Mutual labels:  django
Evalai
☁️ 🚀 📊 📈 Evaluating state of the art in AI
Stars: ✭ 1,087 (+1774.14%)
Mutual labels:  django
Django Extra Views
Django's class-based generic views are awesome, let's have more of them.
Stars: ✭ 1,078 (+1758.62%)
Mutual labels:  django
Opentaps seas
opentaps Smart Energy Applications Suite
Stars: ✭ 55 (-5.17%)
Mutual labels:  django

.. image:: https://coveralls.io/repos/github/chris104957/django-carrot/badge.svg?branch=master :target: https://coveralls.io/github/chris104957/django-carrot?branch=master

.. image:: https://readthedocs.org/projects/django-carrot/badge/?version=latest :target: http://django-carrot.readthedocs.io/en/latest/?badge=

.. image:: https://travis-ci.org/chris104957/django-carrot.svg?branch=master :target: https://travis-ci.org/chris104957/django-carrot.svg?branch=master

.. image:: https://coveralls.io/repos/github/chris104957/django-carrot/badge.svg?branch=master :target: https://coveralls.io/github/chris104957/django-carrot?branch=master)

.. image:: https://badge.fury.io/py/django-carrot.svg :target: https://badge.fury.io/py/django-carrot

.. image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg :target: https://opensource.org/licenses/Apache-2.0

.. image:: /docs/source/images/carrot-logo-big.png :align: center

django-carrot is a lightweight task queue backend for Django projects that uses the RabbitMQ message broker, with an emphasis on quick and easy configuration and task tracking

Installation

Install django-carrot:

.. code-block:: bash

pip install django-carrot

Install and run RabbitMQ

.. code-block:: bash

brew install rabbitmq
brew services start rabbitmq

Configuration

  1. Add carrot to your Django project's settings module:

.. code-block:: python

INSTALLED_APPS = [
    ...
    'carrot',
    ...
]
  1. Apply the carrot migrations to your project's database:

.. code-block:: python

python manage.py migrate carrot

Usage

To start the service:

.. code-block:: bash

python manage.py carrot_daemon start

To run tasks asynchronously:

.. code-block:: python

from carrot.utilities import publish_message

def my_task(**kwargs):
    return 'hello world'

publish_message(my_task, hello=True)

To schedule tasks to run at a given interval

.. code-block:: python

from carrot.utilities import create_scheduled_task

create_scheduled_task(my_task, {'seconds': 5}, hello=True)

.. note:: The above commands must be made from within the Django environment

Docker

A sample docker config is available here <https://github.com/chris104957/django-carrot-docker>_

Full documentation

The full documentation is available here <https://django-carrot.readthedocs.io/>_

Support

If you are having any issues, please log an issue <https://github.com/chris104957/django-carrot/issues/new>_

Contributing

Django-carrot uses Packagr <https://www.packagr.app/>_ to share development builds. If you'd like access to it, please send me your email address at [email protected] so I can give you access

License

The project is licensed under the Apache license.

Icons made by Trinh Ho from www.flaticon.com <www.flaticon.com>_ is licensed by CC 3.0 BY

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].