Module implementing an indexable circlar array data structure
Project description
PyPI grscheller.circular-array Project
Python module implementing an indexable circular array data structure.
- See the grscheller.circular-array project on PyPI
- Detailed API documentation all versions
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 is more likely restricted than augmented.
Usage
from grscheller.circular_array import CircularArray
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f786077203363c59f8ced034d9c83ef9f853852aa515db30c54cad6d0d58b58 |
|
MD5 | c6b9329a27fa0be79661b777b1d86d6f |
|
BLAKE2b-256 | 80cd9962deb59e5b3a4961efdb2d92c7d7179d3cf6d8e224891cfcc15c94325f |
Close
Hashes for grscheller_circular_array-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb9d56a6592e6b9d99045456c9717c5c4bb0cc6ef74c12c28b947cf4905cb5f2 |
|
MD5 | 47d31e3dc17cab9071febc9c3b987593 |
|
BLAKE2b-256 | 05df58eb2e0bbe17bacadfd0bf8362cf484a17c4619011393bf5d6e34ff6d588 |