Pythonic FP - Circular Array project

Part of of the pythonic-fp namespace projects.

Overview

PyPI project pythonic.circular-array implements a full featured, generic, stateful circular array data structure.

  • O(1) amortized pushes and pops either end

  • O(1) indexing

  • Auto-resizing larger when necessary, can be manually compacted if desired

  • Iterable, can safely be mutated while iterators continue iterating over previous state

  • Fully supports slicing

Documentation

Installation

Installing and importing the module.

API docs

Detailed API documentation.

Development

CHANGELOG

CHANGELOG for the current and predecessor projects.