/ezQueue

Zero dependancy in memory queue

Primary LanguagePythonOtherNOASSERTION

ezqueue

Zero dependency in-memory queue

Python codecov Documentation Status Build Deploy

Installation

$ pip install -i https://test.pypi.org/simple/ ezqueue

Features

  • Fix queue size
  • Key, value queue

Dependencies

  • Zero

Usage

from ezqueue import ezqueue

queue = ezqueue(3)
   
for i in range(2):
    queue.put(i, { "msg": "Hello world" })

for i in range(1):
    queue.put(i, { "msg": "Hello world!" })

print(queue.getQueue())

Documentation

The official documentation is hosted on Read the Docs: https://ezqueue.readthedocs.io/en/latest/

Contributors

We welcome and recognize all contributions. You can see a list of current contributors in the contributors tab.

Credits

This package was created with Cookiecutter and the UBC-MDS/cookiecutter-ubc-mds project template, modified from the pyOpenSci/cookiecutter-pyopensci project template and the audreyr/cookiecutter-pypackage.