serp-queue
Drop-in replacement for CPython's queue module: thread-safe Queue and
LifoQueue whose items are dynamic values (PyVal: None/bool/int/float/str/bytes
and lists/dicts of those), deep-copied across the thread boundary. This is the
data channel for serp-threading. Native builds use a Mutex+Condvar table in
the runtime; under CPython the serp_queue_core delegate uses stdlib queue.
API
Queue(maxsize=0),LifoQueue(maxsize=0)put(item, block=True, timeout=None),put_nowait(item)— raiseFullget(block=True, timeout=None),get_nowait()— raiseEmptyqsize(),empty(),full(),maxsizetask_done(),join()
Divergences: no PriorityQueue/SimpleQueue; items are copies, not shared
references; qsize() is exact.
Install
serp add serp-queue
pip install serp-queue
Metadata
Release files for serp-queue 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| serp_queue-0.1.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| serp_queue-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / serp_queue-0.1.0.tar.gz
| Download URL | serp_queue-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ae375d30011b49c49ea37ccb97cba971a6ff589e4e82f92766ab5e4e66b8581
|
|
BLAKE2b-256 checksum How to use checksums |
c52962ba5f13e3f3b70569c6c1a59ae7193a8c6d897249ce0162f60c4be093d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / serp_queue-0.1.0-py3-none-any.whl
| Download URL | serp_queue-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c4583e3d8eb7e8f131e9770b63a06a6fd98951690cc88b71abc44317cd8f96d
|
|
BLAKE2b-256 checksum How to use checksums |
a10db58b12ba96d0d0a8127671658bfe4f8671fb584d8f3a1fc71f18d4efaa1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency log