Module implementing an indexable circlar array data structure
Project description
PyPI grscheller.circular-array Project
Circular Array
- Python module implementing an indexable, double sided queue
- See grscheller.circular-array project on PyPI
- See Detailed API documentation on GH-Pages
- See Source code on GitHub
Overview
The CircularArray class implements an auto-resizing, indexable, double sided queue data structure. O(1) indexing and O(1) pushes and pops either end. Useful as an improved version of a Python list. Used in a has-a relationship by grscheller.datastructure when implementing other data structures where its functionality was more likely restricted than augmented.
Usage
from grscheller.circular_array import CircularArray
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for grscheller_circular_array-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 904ed81f7ecb0650a98021da6c82b88a8f2f0b9d71e68bc3444cbf966b239bed |
|
MD5 | affacb4a90303f6a87458cce5e2a69cd |
|
BLAKE2b-256 | 30e2cf0731205039ce1e45232d1a1354cac3cebdd418966f7f99ad804144d8a0 |
Close
Hashes for grscheller_circular_array-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c970683eddf330d752de2e9ef20c8c1d8f2051218ab77a5fa96139632880085 |
|
MD5 | da1ba7238f550bcdbb6d8f200c89ee70 |
|
BLAKE2b-256 | 7f9fbc2ae2845c2514841a9317e4d31eb133def90a43f392947b8a83d12bf10d |