pythonic-fp-circulararray 6.0.0__tar.gz → 6.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/CHANGELOG.rst +7 -1
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/PKG-INFO +7 -7
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/README.rst +2 -2
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/pyproject.toml +18 -16
- pythonic_fp_circulararray-6.0.2/src/pythonic_fp/circulararray/__init__.py +35 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/src/pythonic_fp/circulararray/auto.py +230 -138
- pythonic_fp_circulararray-6.0.2/src/pythonic_fp/circulararray/auto.pyi +49 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/src/pythonic_fp/circulararray/fixed.py +196 -109
- pythonic_fp_circulararray-6.0.2/src/pythonic_fp/circulararray/fixed.pyi +39 -0
- pythonic_fp_circulararray-6.0.2/src/pythonic_fp/circulararray/py.typed +0 -0
- pythonic_fp_circulararray-6.0.0/src/pythonic_fp/circulararray/__init__.py +0 -36
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/.gitignore +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/LICENSE +0 -0
- /pythonic_fp_circulararray-6.0.0/src/pythonic_fp/circulararray/py.typed → /pythonic_fp_circulararray-6.0.2/src/pythonic_fp/circulararray/__init__.pyi +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/tests/auto/test_ca.py +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/tests/auto/test_ca_capacity.py +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/tests/auto/test_ca_fold_with_none.py +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/tests/auto/test_repr_str_auto.py +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/tests/fixed/test_caf.py +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/tests/fixed/test_caf_capacity.py +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/tests/fixed/test_caf_fold_with_none.py +0 -0
- {pythonic_fp_circulararray-6.0.0 → pythonic_fp_circulararray-6.0.2}/tests/fixed/test_repr_str_fixed.py +0 -0
|
@@ -17,7 +17,13 @@ See `Semantic Versioning 2.0.0 <https://semver.org>`_.
|
|
|
17
17
|
Releases and Important Milestones
|
|
18
18
|
---------------------------------
|
|
19
19
|
|
|
20
|
-
PyPI 6.0.
|
|
20
|
+
PyPI 6.0.1 - 2026-01-08
|
|
21
|
+
~~~~~~~~~~~~~~~~~~~~~~~
|
|
22
|
+
|
|
23
|
+
Docstring improvements based on lessons learned from my PyPI
|
|
24
|
+
boring-math-abstract-algebra project.
|
|
25
|
+
|
|
26
|
+
PyPI 6.0.0 - 2025-09-26
|
|
21
27
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
22
28
|
|
|
23
29
|
Changed how "optional" iterator in initializer signature is handled.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythonic-fp-circulararray
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.2
|
|
4
4
|
Summary: Circular Array
|
|
5
5
|
Keywords: auto resizing,circular array,circulararray,dequeue,indexable,pop,push
|
|
6
6
|
Author-email: "Geoffrey R. Scheller" <geoffrey@scheller.com>
|
|
@@ -11,14 +11,14 @@ Classifier: Framework :: Pytest
|
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
15
|
Classifier: Typing :: Typed
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: pythonic-fp-gadgets>=
|
|
17
|
+
Requires-Dist: pythonic-fp-gadgets>=4.0.2
|
|
18
18
|
Requires-Dist: pytest>=8.4.1 ; extra == "test"
|
|
19
19
|
Project-URL: Changelog, https://github.com/grscheller/pythonic-fp-circulararray/blob/main/CHANGELOG.rst
|
|
20
|
-
Project-URL: Documentation, https://grscheller.github.io/pythonic-fp/circulararray/development/build/html/
|
|
21
|
-
Project-URL: Homepage, https://github.
|
|
20
|
+
Project-URL: Documentation, https://grscheller.github.io/pythonic-fp/circulararray/development/build/html/
|
|
21
|
+
Project-URL: Homepage, https://grscheller.github.io/pythonic-fp/homepage/build/html/
|
|
22
22
|
Project-URL: Source, https://github.com/grscheller/pythonic-fp-circulararray
|
|
23
23
|
Provides-Extra: test
|
|
24
24
|
|
|
@@ -54,7 +54,7 @@ Python module implementing stateful circular array data structures.
|
|
|
54
54
|
|
|
55
55
|
Part of the
|
|
56
56
|
`pythonic-fp
|
|
57
|
-
<https://grscheller.github.io/pythonic-fp
|
|
57
|
+
<https://grscheller.github.io/pythonic-fp>`_
|
|
58
58
|
PyPI projects.
|
|
59
59
|
|
|
60
60
|
Documentation
|
|
@@ -62,7 +62,7 @@ Documentation
|
|
|
62
62
|
|
|
63
63
|
Documentation for this project is hosted on
|
|
64
64
|
`GitHub Pages
|
|
65
|
-
<https://grscheller.github.io/pythonic-fp/circulararray
|
|
65
|
+
<https://grscheller.github.io/pythonic-fp/circulararray>`_.
|
|
66
66
|
|
|
67
67
|
Copyright and License
|
|
68
68
|
---------------------
|
|
@@ -30,7 +30,7 @@ Python module implementing stateful circular array data structures.
|
|
|
30
30
|
|
|
31
31
|
Part of the
|
|
32
32
|
`pythonic-fp
|
|
33
|
-
<https://grscheller.github.io/pythonic-fp
|
|
33
|
+
<https://grscheller.github.io/pythonic-fp>`_
|
|
34
34
|
PyPI projects.
|
|
35
35
|
|
|
36
36
|
Documentation
|
|
@@ -38,7 +38,7 @@ Documentation
|
|
|
38
38
|
|
|
39
39
|
Documentation for this project is hosted on
|
|
40
40
|
`GitHub Pages
|
|
41
|
-
<https://grscheller.github.io/pythonic-fp/circulararray
|
|
41
|
+
<https://grscheller.github.io/pythonic-fp/circulararray>`_.
|
|
42
42
|
|
|
43
43
|
Copyright and License
|
|
44
44
|
---------------------
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["flit_core>=3.12,<4"]
|
|
3
|
+
build-backend = "flit_core.buildapi"
|
|
4
|
+
|
|
1
5
|
[project]
|
|
2
6
|
name = "pythonic-fp-circulararray"
|
|
3
|
-
version = "6.0.
|
|
7
|
+
version = "6.0.2"
|
|
4
8
|
readme = "README.rst"
|
|
5
9
|
requires-python = ">=3.13"
|
|
6
|
-
license = { file = "LICENSE" }
|
|
7
10
|
authors = [{ name = "Geoffrey R. Scheller", email = "geoffrey@scheller.com" }]
|
|
8
11
|
keywords = [
|
|
9
12
|
"auto resizing",
|
|
@@ -20,18 +23,18 @@ classifiers = [
|
|
|
20
23
|
"Intended Audience :: Developers",
|
|
21
24
|
"License :: OSI Approved :: Apache Software License",
|
|
22
25
|
"Operating System :: OS Independent",
|
|
23
|
-
"Programming Language :: Python :: 3.
|
|
26
|
+
"Programming Language :: Python :: 3.14",
|
|
24
27
|
"Typing :: Typed",
|
|
25
28
|
]
|
|
26
29
|
dependencies = [
|
|
27
|
-
"pythonic-fp-gadgets>=
|
|
30
|
+
"pythonic-fp-gadgets>=4.0.2",
|
|
28
31
|
]
|
|
29
32
|
dynamic = ["description"]
|
|
30
33
|
|
|
31
34
|
[project.urls]
|
|
32
35
|
Changelog = "https://github.com/grscheller/pythonic-fp-circulararray/blob/main/CHANGELOG.rst"
|
|
33
|
-
Documentation = "https://grscheller.github.io/pythonic-fp/circulararray/development/build/html/
|
|
34
|
-
Homepage = "https://github.
|
|
36
|
+
Documentation = "https://grscheller.github.io/pythonic-fp/circulararray/development/build/html/"
|
|
37
|
+
Homepage = "https://grscheller.github.io/pythonic-fp/homepage/build/html/"
|
|
35
38
|
Source = "https://github.com/grscheller/pythonic-fp-circulararray"
|
|
36
39
|
|
|
37
40
|
[project.optional-dependencies]
|
|
@@ -39,17 +42,11 @@ test = [
|
|
|
39
42
|
"pytest>=8.4.1",
|
|
40
43
|
]
|
|
41
44
|
|
|
42
|
-
[build-system]
|
|
43
|
-
requires = ["flit_core>=3.12,<4"]
|
|
44
|
-
build-backend = "flit_core.buildapi"
|
|
45
|
-
|
|
46
45
|
[tool.flit.module]
|
|
47
46
|
name = "pythonic_fp.circulararray"
|
|
48
47
|
|
|
49
48
|
[tool.mypy]
|
|
50
|
-
enable_incomplete_feature = "NewGenericSyntax"
|
|
51
49
|
explicit_package_bases = true
|
|
52
|
-
implicit_reexport = false
|
|
53
50
|
local_partial_types = true
|
|
54
51
|
namespace_packages = true
|
|
55
52
|
warn_redundant_casts = true
|
|
@@ -63,19 +60,24 @@ dmypy = false
|
|
|
63
60
|
strict = true
|
|
64
61
|
report_progress = true
|
|
65
62
|
|
|
66
|
-
[tool.pytest
|
|
67
|
-
addopts =
|
|
63
|
+
[tool.pytest]
|
|
64
|
+
addopts = [
|
|
65
|
+
"-ra",
|
|
66
|
+
]
|
|
68
67
|
consider_namespace_packages = true
|
|
69
68
|
testpaths = ["tests/"]
|
|
70
69
|
|
|
71
70
|
[tool.ruff]
|
|
72
|
-
target-version = "
|
|
71
|
+
target-version = "py314"
|
|
73
72
|
|
|
74
73
|
[tool.ruff.lint.flake8-quotes]
|
|
75
74
|
docstring-quotes = "double"
|
|
76
75
|
|
|
77
76
|
[tool.ruff.lint.per-file-ignores]
|
|
78
|
-
"tests
|
|
77
|
+
"tests/**/*.py" = [
|
|
78
|
+
"E731",
|
|
79
|
+
"C901",
|
|
80
|
+
]
|
|
79
81
|
"**/*.py" = ["E741"]
|
|
80
82
|
|
|
81
83
|
[tool.ruff.format]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Copyright 2024-2026 Geoffrey R. Scheller
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""
|
|
16
|
+
Circular Array
|
|
17
|
+
--------------
|
|
18
|
+
|
|
19
|
+
.. admonition:: Stateful circular array data structures.
|
|
20
|
+
|
|
21
|
+
- O(1) pops and pushes either end
|
|
22
|
+
- O(1) size determination
|
|
23
|
+
- O(1) indexing
|
|
24
|
+
- Two types of circular arrays, fixed and variable capacity
|
|
25
|
+
|
|
26
|
+
.. note::
|
|
27
|
+
|
|
28
|
+
- Class constructors ``CA`` and ``CAF`` take an optional iterator to populate circular array.
|
|
29
|
+
- Factory Functions ``ca`` and ``caf`` take a variable number of parameters to populate circular array.
|
|
30
|
+
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
__author__ = 'Geoffrey R. Scheller'
|
|
34
|
+
__copyright__ = 'Copyright (c) 2023-2026 Geoffrey R. Scheller'
|
|
35
|
+
__license__ = 'Apache License 2.0'
|