PySqliteQueue
============
.. image:: https://travis-ci.org/mrk-andreev/PySqliteQueue.svg?branch=master
:target: https://travis-ci.org/mrk-andreev/PySqliteQueue
.. image:: https://api.codeclimate.com/v1/badges/6193af027c24e08e7422/maintainability
:target: https://codeclimate.com/github/mrk-andreev/PySqliteQueue/maintainability
:alt: Maintainability
.. image:: https://badge.fury.io/py/PySqliteQueue.svg
:target: https://badge.fury.io/py/PySqliteQueue
.. image:: https://img.shields.io/pypi/l/PySqliteQueue.svg
User installation
~~~~~~~~~~~~
pip install -U PySqliteQueue
Example
~~~~~~~~~~~~
from pysqlitequeue import SqliteQueue
q = SqliteQueue(database=':memory:')
q.put({'key': 'value'})
q.peek() # Retrieves, but does not remove, the head of this queue, or returns null if this queue is empty.
q.poll() # Retrieves and removes the head of this queue, or returns null if this queue is empty.
q.size()
q.empty()
============
.. image:: https://travis-ci.org/mrk-andreev/PySqliteQueue.svg?branch=master
:target: https://travis-ci.org/mrk-andreev/PySqliteQueue
.. image:: https://api.codeclimate.com/v1/badges/6193af027c24e08e7422/maintainability
:target: https://codeclimate.com/github/mrk-andreev/PySqliteQueue/maintainability
:alt: Maintainability
.. image:: https://badge.fury.io/py/PySqliteQueue.svg
:target: https://badge.fury.io/py/PySqliteQueue
.. image:: https://img.shields.io/pypi/l/PySqliteQueue.svg
User installation
~~~~~~~~~~~~
pip install -U PySqliteQueue
Example
~~~~~~~~~~~~
from pysqlitequeue import SqliteQueue
q = SqliteQueue(database=':memory:')
q.put({'key': 'value'})
q.peek() # Retrieves, but does not remove, the head of this queue, or returns null if this queue is empty.
q.poll() # Retrieves and removes the head of this queue, or returns null if this queue is empty.
q.size()
q.empty()
Metadata
Release files for PySqliteQueue 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PySqliteQueue-1.0.4.tar.gz | 2.2 kB | Details |
Release files / PySqliteQueue-1.0.4.tar.gz
| Download URL | PySqliteQueue-1.0.4.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d468c88dfeea1d1ea8d4c674004b9513b509dacf6448e58ef1b9e69544aec3b1
|
|
BLAKE2b-256 checksum How to use checksums |
b9e05623b42822853f635c9df3b78afcc5716927dd3b0f40e8d8495b6b976261
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|