Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple queue lib base on sqlite3

Project description

# A simple queue lib base on sqlite3

----------

Feature:
- Local disk queue base on sqlite3
- Simple and easy to use


Usage:

```python

from sqlqueue import Queue
queue = Queue('myqueue')

print queue.get_nowait()
>>> None

queue.put('sqlqueue')
queue.put(1)
queue.put({'foo':1, 'bar':2})

print queue.get_nowait()
>>> 'sqlqueue'
print queue.get_nowait()
>>> 1
print queue.get_nowait()
>>> {'bar': 2, 'foo': 1}

```


This is a copy from [http://flask.pocoo.org/snippets/88/](http://flask.pocoo.org/snippets/88/) with little alternation



Project details


Release history Release notifications

Download files

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

Files for sqlqueue, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size sqlqueue-1.0.2-py2.py3-none-any.whl (2.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page