pythonic-fp-circulararray 6.0.1__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.
Files changed (23) hide show
  1. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/CHANGELOG.rst +2 -2
  2. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/PKG-INFO +2 -2
  3. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/pyproject.toml +15 -13
  4. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/src/pythonic_fp/circulararray/__init__.py +7 -9
  5. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/src/pythonic_fp/circulararray/auto.py +220 -139
  6. pythonic_fp_circulararray-6.0.2/src/pythonic_fp/circulararray/auto.pyi +49 -0
  7. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/src/pythonic_fp/circulararray/fixed.py +187 -110
  8. pythonic_fp_circulararray-6.0.2/src/pythonic_fp/circulararray/fixed.pyi +39 -0
  9. pythonic_fp_circulararray-6.0.1/src/pythonic_fp/circulararray/auto.pyi +0 -49
  10. pythonic_fp_circulararray-6.0.1/src/pythonic_fp/circulararray/fixed.pyi +0 -39
  11. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/.gitignore +0 -0
  12. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/LICENSE +0 -0
  13. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/README.rst +0 -0
  14. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/src/pythonic_fp/circulararray/__init__.pyi +0 -0
  15. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/src/pythonic_fp/circulararray/py.typed +0 -0
  16. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/tests/auto/test_ca.py +0 -0
  17. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/tests/auto/test_ca_capacity.py +0 -0
  18. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/tests/auto/test_ca_fold_with_none.py +0 -0
  19. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/tests/auto/test_repr_str_auto.py +0 -0
  20. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/tests/fixed/test_caf.py +0 -0
  21. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/tests/fixed/test_caf_capacity.py +0 -0
  22. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/tests/fixed/test_caf_fold_with_none.py +0 -0
  23. {pythonic_fp_circulararray-6.0.1 → pythonic_fp_circulararray-6.0.2}/tests/fixed/test_repr_str_fixed.py +0 -0
@@ -17,8 +17,8 @@ See `Semantic Versioning 2.0.0 <https://semver.org>`_.
17
17
  Releases and Important Milestones
18
18
  ---------------------------------
19
19
 
20
- PyPI 6.0.1 - 2026-01-TBD
21
- ~~~~~~~~~~~~~~~~~~~~~~~~
20
+ PyPI 6.0.1 - 2026-01-08
21
+ ~~~~~~~~~~~~~~~~~~~~~~~
22
22
 
23
23
  Docstring improvements based on lessons learned from my PyPI
24
24
  boring-math-abstract-algebra project.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pythonic-fp-circulararray
3
- Version: 6.0.1
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,7 +11,7 @@ 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.13
14
+ Classifier: Programming Language :: Python :: 3.14
15
15
  Classifier: Typing :: Typed
16
16
  License-File: LICENSE
17
17
  Requires-Dist: pythonic-fp-gadgets>=4.0.2
@@ -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.1"
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,7 +23,7 @@ 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.13",
26
+ "Programming Language :: Python :: 3.14",
24
27
  "Typing :: Typed",
25
28
  ]
26
29
  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.ini_options]
67
- addopts = "-ra"
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 = "py313"
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/*" = ["C901"]
77
+ "tests/**/*.py" = [
78
+ "E731",
79
+ "C901",
80
+ ]
79
81
  "**/*.py" = ["E741"]
80
82
 
81
83
  [tool.ruff.format]
@@ -1,4 +1,4 @@
1
- # Copyright 2024-2025 Geoffrey R. Scheller
1
+ # Copyright 2024-2026 Geoffrey R. Scheller
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -18,17 +18,15 @@ Circular Array
18
18
 
19
19
  .. admonition:: Stateful circular array data structures.
20
20
 
21
- +-------------------------------------+-------------------------------------------+
22
- | Module | Description |
23
- +=====================================+===========================================+
24
- | **pythonic_fp.circulararray.auto** | Variable storage capacity circular array. |
25
- +-------------------------------------+-------------------------------------------+
26
- | **pythonic_fp.circulararray.fixed** | Fixed storage capacity circular array. |
27
- +-------------------------------------+-------------------------------------------+
28
-
29
21
  - O(1) pops and pushes either end
30
22
  - O(1) size determination
31
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.
32
30
 
33
31
  """
34
32