This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Dead simple task queue using redis.

# tasks.py
import dsq
manager = dsq.create_manager()

@manager.task(queue='normal')
def add(a, b):
    print a + b

if __name__ == '__main__':
    add(1, 2)
$ python tasks.py
$ dsq worker -bt tasks normal

See full DSQ documentation.

Features

  • Low latency.
  • Expiring tasks (TTL).
  • Delayed tasks (ETA).
  • Retries (forever or particular amount).
  • Dead letters.
  • Queue priorities.
  • Worker lifetime.
  • Task execution timeout.
  • Task forwarder from one redis instance to another.
  • HTTP interface.
  • Inspect tools.
  • Supports 2.7, 3.4, 3.5 and PyPy.
  • 100% test coverage.

The goal is a simple design. There is no worker manager, one can use supervisord/circus/whatever to spawn N workers. Simple storage model. Queue is a list and scheduled tasks are a sorted set. There are no task keys. Tasks are items of list and sorted set. There is no any registry to manage workers, basic requirements (die after some lifetime and do not hang) can be handled by workers themselves. Worker do not store result by default.

Release History

Release History

0.6

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dsq-0.6.tar.gz (11.4 kB) Copy SHA256 Checksum SHA256 Source Jul 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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