circular-buffer
Efficient circular buffer implementation in Python with optional Numba JIT compilation
Usage
import circular_buffer
buffer_of_int_type = circular_buffer.for_instances_like(123)
buf = buffer_of_int_type(size = 10, autoexpand = True)
for i in range(12):
buf.push_back(i)
assert buf.pop_front() == 0
assert buf.front() == 1
assert buf.back() == 11
Remember to install numba JIT compiler package to get a small extra speedup. numba can be
automatically installed if you install this package via pip install circular-buffer[numba].
Metadata
Release files for circular-buffer 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| circular-buffer-0.2.0.tar.gz | 3.7 kB | Without provenance | Details for circular-buffer-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| circular_buffer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for circular_buffer-0.2.0-py3-none-any.whl |
Total release size: 8.1 kB
Release files / circular-buffer-0.2.0.tar.gz
| Download URL | circular-buffer-0.2.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32f563f1bda03f863a5e881a0e2d6faac6b71de922ea6c24888150c377c70f73
|
|
BLAKE2b-256 checksum How to use checksums |
89c2b7ff5251a874e1fd7790e8c46fdc87011cfd73b3fdc03091e22075ea00d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.1
|
Release files / circular_buffer-0.2.0-py3-none-any.whl
| Download URL | circular_buffer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26678b4f49a335595487f6610a5f936aa61928538e73ef3d05aebc3f1f0227d1
|
|
BLAKE2b-256 checksum How to use checksums |
bebfdd3b80371c40eb251b8cef251c52e8ab8528b38b98a9c7fb0ab6e1ff1182
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.1
|
Security for circular-buffer 0.2.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.