https://github.com/jwcnewton/ezqueue
Zero dependancy in memory queue
https://github.com/jwcnewton/ezqueue
Last synced: about 1 month ago
JSON representation
Zero dependancy in memory queue
- Host: GitHub
- URL: https://github.com/jwcnewton/ezqueue
- Owner: jwcnewton
- License: other
- Created: 2021-07-16T15:26:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-19T07:28:17.000Z (almost 4 years ago)
- Last Synced: 2025-06-05T04:07:29.318Z (about 1 month ago)
- Language: Python
- Size: 15.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
# ezqueue
Zero dependency in-memory queue[]()
[](https://codecov.io/gh/jwcnewton/ezqueue)
[](https://ezqueue.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/jwcnewton/ezqueue/actions/workflows/build.yml)
[](https://github.com/jwcnewton/ezqueue/actions/workflows/deploy.yml)## Installation
```bash
$ pip install -i https://test.pypi.org/simple/ ezqueue
```## Features
- Fix queue size
- Key, value queue## Dependencies
- Zero
## Usage
```py
from ezqueue import ezqueuequeue = 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](https://github.com/jwcnewton/ezqueue/graphs/contributors).
### Credits
This package was created with Cookiecutter and the UBC-MDS/cookiecutter-ubc-mds project template, modified from the [pyOpenSci/cookiecutter-pyopensci](https://github.com/pyOpenSci/cookiecutter-pyopensci) project template and the [audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage).