Circular Array
Project description
PyPI project pythonic-fp-circulararray.
Python module implementing stateful circular array data structures.
variable storage capacity circular array
O(1) pops either end
O(1) amortized pushes either end
O(1) indexing, fully supports slicing
auto-resizing more storage capacity when necessary, manually compatible
iterable, safely mutates while iterators iterating over previous state
comparisons compare identity before equality, like builtins
in boolean context, falsy when empty, otherwise truthy
function ca produces auto-resizing circular array from arguments
fixed storage capacity circular array
O(1) pops and pushes either end
O(1) indexing, does not support slicing
fixed total storage capacity
iterable, safely mutates while iterators iterating over previous state
comparisons compare identity before equality, like builtins
in boolean context, falsy when either empty or full, otherwise truthy
function caf produces fixed capacity circular array from arguments
Part of the pythonic-fp PyPI projects.
Documentation
Documentation and other links for this project are hosted on GitHub Pages.
Copyright and License
Copyright (c) 2023-2026 Geoffrey R. Scheller. Licensed under the Apache License, Version 2.0. See the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pythonic_fp_circulararray-6.1.1.tar.gz.
File metadata
- Download URL: pythonic_fp_circulararray-6.1.1.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.33.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df6c0ee0b97ca9c7443a2b3b12a46ab251f6beed3bd6e76ce36cf35e2fa13393
|
|
| MD5 |
7a548ee28a26032a93864941f9b39171
|
|
| BLAKE2b-256 |
7827125bedb8ef230a4e43efc4d7cf9b975f52899df60f545c9d9ddee705d628
|
File details
Details for the file pythonic_fp_circulararray-6.1.1-py3-none-any.whl.
File metadata
- Download URL: pythonic_fp_circulararray-6.1.1-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.33.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cbe9d94f9af0b9623050d63f3f48f72eb03d725f4e0d3cab5755f98e10930b2
|
|
| MD5 |
35a7e77bf5a0cb1cd082e86ee03e7669
|
|
| BLAKE2b-256 |
be7d90fec50b2f9f33843c3104be3513e5db39a22b113b19a5894c8e5e1ed216
|