Skip to main content

Create and interact with Redis-based data structures in Python

Project description

QR

QR helps you create and work with deque, queue, and stack data structures for Redis.

Redis is well-suited for implementations of these abstract data structures, and QR makes the work even easier in Python. QR works best for (and simplifies) the creation of bounded deques, queues, and stacks (herein, DQS’s), with a defined size of elements.

Quick Setup

You’ll need Redis itself, and the current Python interface for Redis, redis-py. Put qr.py in your PYTHONPATH and you’re all set.

qr.py also creates an instance of the redis-py interface object. You may already have instantiated the object in your code, so you’ll want to ensure consistent namespacing. You can remove this line of code, modify the namespacing, or adjust your existing namespacing – whatever works best for you.

Full documentation is in README.md, or at http://github.com/tnm/qr

Project details


Download files

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

Source Distribution

qr-0.1.3.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page