Pythonic FP - Circular Array

PyPI project pythonic-fp.circulararray.

Module for a circular array data structure

  • O(1) pops either end

  • O(1) amortized pushes either 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

  • comparisons compare identity before equality, like builtins do

  • in boolean context returns True when not empty, False when empty

Part of of the pythonic-fp namespace projects.

Getting Started

Getting Started

Getting started with the PyPI pythonic-fp.circulararray project.

PyPI Releases

Documentation for pythonic-fp.circulararray PyPI releases.

Documentation

Programming API:

Package pythonic_fp.circulararray

For a proposed PyPI pythonic-fp.circulararray project v5.2.1 release.

CHANGELOG:

Change log for the pythonic-fp circulararray PyPI project.