pythonic-fp-circulararray 6.0.1__py3-none-any.whl → 6.0.3__py3-none-any.whl

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.
@@ -3,37 +3,37 @@ from typing import overload
3
3
 
4
4
  __all__ = ['CAF', 'caf']
5
5
 
6
- class CAF[I]:
7
- def __init__(self, *items: Iterable[I], cap: int = 2) -> None: ...
8
- def __iter__(self) -> Iterator[I]: ...
9
- def __reversed__(self) -> Iterator[I]: ...
6
+ class CAF[X]:
7
+ def __init__(self, *xs: Iterable[X], cap: int = 2) -> None: ...
8
+ def __iter__(self) -> Iterator[X]: ...
9
+ def __reversed__(self) -> Iterator[X]: ...
10
10
  def __bool__(self) -> bool: ...
11
11
  def __len__(self) -> int: ...
12
- def __getitem__(self, idx: int) -> I: ...
13
- def __setitem__(self, idx: int, val: I) -> None: ...
12
+ def __getitem__(self, idx: int) -> X: ...
13
+ def __setitem__(self, idx: int, val: X) -> None: ...
14
14
  def __delitem__(self, idx: int) -> None: ...
15
15
  def __eq__(self, other: object) -> bool: ...
16
- def pushl(self, item: I) -> None: ...
17
- def pushr(self, item: I) -> None: ...
18
- def popl(self) -> I: ...
19
- def popr(self) -> I: ...
20
- def popld(self, default: I) -> I: ...
21
- def poprd(self, default: I) -> I: ...
22
- def poplt(self, maximum: int) -> tuple[I, ...]: ...
23
- def poprt(self, maximum: int) -> tuple[I, ...]: ...
16
+ def pushl(self, item: X) -> None: ...
17
+ def pushr(self, item: X) -> None: ...
18
+ def popl(self) -> X: ...
19
+ def popr(self) -> X: ...
20
+ def popld(self, default: X) -> X: ...
21
+ def poprd(self, default: X) -> X: ...
22
+ def poplt(self, maximum: int) -> tuple[X, ...]: ...
23
+ def poprt(self, maximum: int) -> tuple[X, ...]: ...
24
24
  def rotl(self, n: int = 1) -> None: ...
25
25
  def rotr(self, n: int = 1) -> None: ...
26
- def map[U](self, f: Callable[[I], U]) -> CAF[U]: ...
26
+ def map[Y](self, f: Callable[[X], Y]) -> CAF[Y]: ...
27
27
  @overload
28
- def foldl[L](self, f: Callable[[I, I], I]) -> I: ...
28
+ def foldl[L](self, f: Callable[[X, X], X]) -> X: ...
29
29
  @overload
30
- def foldl[L](self, f: Callable[[L, I], L], start: L) -> L: ...
30
+ def foldl[L](self, f: Callable[[L, X], L], start: L) -> L: ...
31
31
  @overload
32
- def foldr[R](self, f: Callable[[I, I], I]) -> I: ...
32
+ def foldr[R](self, f: Callable[[X, X], X]) -> X: ...
33
33
  @overload
34
- def foldr[R](self, f: Callable[[I, R], R], start: R) -> R: ...
34
+ def foldr[R](self, f: Callable[[X, R], R], start: R) -> R: ...
35
35
  def capacity(self) -> int: ...
36
36
  def empty(self) -> None: ...
37
37
  def fraction_filled(self) -> float: ...
38
38
 
39
- def caf[T](*items: T, cap: int = 2) -> CAF[T]: ...
39
+ def caf[T](*ts: T, cap: int = 2) -> CAF[T]: ...
@@ -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.3
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
@@ -62,11 +62,11 @@ 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
  ---------------------
69
69
 
70
- Copyright (c) 2023-2025 Geoffrey R. Scheller. Licensed under the Apache
70
+ Copyright (c) 2023-2026 Geoffrey R. Scheller. Licensed under the Apache
71
71
  License, Version 2.0. See the LICENSE file for details.
72
72
 
@@ -0,0 +1,11 @@
1
+ pythonic_fp/circulararray/__init__.py,sha256=MYPgNiLNoBf84VldZ7r0iszP13kaG0AxJF3pOOUETJg,1193
2
+ pythonic_fp/circulararray/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ pythonic_fp/circulararray/auto.py,sha256=u7PPffiRhCs3EXDkH65REi0ZYGLEnEgOf7NT8RQHQ5c,21119
4
+ pythonic_fp/circulararray/auto.pyi,sha256=kSJ3b7tleHTZIWy3QmYPTmJJ54xNb4lC8ipNBhtyGsA,1786
5
+ pythonic_fp/circulararray/fixed.py,sha256=SJ6vlp0g3NlTAwWRk3PPTtA8uoJlg0kMg5JCBg13Ji0,17125
6
+ pythonic_fp/circulararray/fixed.pyi,sha256=SUtEp8QWNKwJKJ5PzqL3MIuAHfAkIJU1Dy_BlqaWb48,1503
7
+ pythonic_fp/circulararray/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ pythonic_fp_circulararray-6.0.3.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
9
+ pythonic_fp_circulararray-6.0.3.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
10
+ pythonic_fp_circulararray-6.0.3.dist-info/METADATA,sha256=uWOl3wbd0dRLcYDz-OLpg-yuCVQyPqyw_eEGjIb0c2M,2697
11
+ pythonic_fp_circulararray-6.0.3.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- pythonic_fp/circulararray/__init__.py,sha256=LBeypPlXTlFvBa4DgScR1uh6aPCIOaon9xRmPxr00jQ,1528
2
- pythonic_fp/circulararray/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- pythonic_fp/circulararray/auto.py,sha256=a6sIoGYJRuWdKyIOr_nppX3YRd9LtYkKcqSGx3vVOV4,19930
4
- pythonic_fp/circulararray/auto.pyi,sha256=k92FjH9PblzfusOS3RFF29LtwgKAjaxAocuqENuhPEw,1798
5
- pythonic_fp/circulararray/fixed.py,sha256=atsagw_M6Bl9S3AAeV9ymNf-CFa-0KgR6y6iiTaQHVE,15873
6
- pythonic_fp/circulararray/fixed.pyi,sha256=n0A0ENgy7vSugeBNcgIUiMZtXzUii05CnuTTRj7VELI,1509
7
- pythonic_fp/circulararray/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- pythonic_fp_circulararray-6.0.1.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
9
- pythonic_fp_circulararray-6.0.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
10
- pythonic_fp_circulararray-6.0.1.dist-info/METADATA,sha256=3vyieYyMYDVKTLuWyXnzsII9R8Xnb6q5E7xlqJUxZao,2697
11
- pythonic_fp_circulararray-6.0.1.dist-info/RECORD,,