Pythonic FP - Circular Array Data Structure

Circular array data structure, indexable and sliceable. Part of the PyPI pythonic-fp Namespace Projects.

class CA
full featured circular array data structure
double sided with amortized O(1) pushes and pops each end
O(1) indexing, fully supports slicing
Auto-resizing larger when necessary, manually compatible
Iterable, can safely mutate while iterators continue iterating over previous state

PyPI pythonic_fp.circulararray release documentation