Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-19T07:28:17.000Z (over 3 years ago)
- Last Synced: 2024-10-10T14:28:34.680Z (2 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- 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[![Python](https://img.shields.io/badge/python-3.7-blue)]()
[![codecov](https://codecov.io/gh/jwcnewton/ezqueue/branch/main/graph/badge.svg)](https://codecov.io/gh/jwcnewton/ezqueue)
[![Documentation Status](https://readthedocs.org/projects/ezqueue/badge/?version=latest)](https://ezqueue.readthedocs.io/en/latest/?badge=latest)
[![Build](https://github.com/jwcnewton/ezqueue/workflows/build/badge.svg)](https://github.com/jwcnewton/ezqueue/actions/workflows/build.yml)
[![Deploy](https://github.com/jwcnewton/ezqueue/actions/workflows/deploy.yml/badge.svg)](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).