fque
Overview
Fast Queue (short fque) is a simplified version of the built-in queue.Queue() with basic functionality but higher performance. The inspiration behind this library is to have a highly performant queue that allows inter-thread communication with high throughputs.
fque runs 10x faster than the standard queue implementation by relying on pythons built-in deque and implementing just the minimum needed locks.
Usage
The library can be directly installed from pypi
pip install fque
The usage resembles queue.Queue() but with just the basic functions needed to share information across threads:
import fque
q = fque.Queue()
q.put(1)
result = q.get()
The Queue object accepts a maxsize parameter and the .get() function accepts a block and timeout, same as the standard queue.Queue(). The empty and full checkers are also implemented. Other features as the timeouts for put are not going to be implemented as they reduce the performance of the queue.
Licence & Copyright
Licensed under the MIT License.
Metadata
Release files for fque 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| fque-0.0.5.tar.gz | 3.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fque-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / fque-0.0.5.tar.gz
| Download URL | fque-0.0.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5517576f690dddea32491693611eb345676e4a7c73986982bb5f8852646f71a1
|
|
BLAKE2b-256 checksum How to use checksums |
e7b6b89160c67614da0cb34ca8e5d1d312ec2fdc84940d638428383c12b0c4a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / fque-0.0.5-py3-none-any.whl
| Download URL | fque-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a41023b09c37a8c03ba186c2705055521bfc960072f360449ef89e9427beb7b
|
|
BLAKE2b-256 checksum How to use checksums |
c4532810c575f88e262cdd4a04a77b00f03593c05efbcf5049dffa2db9627d45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for fque 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.