pythonic-fp.queues 5.1.3__py3-none-any.whl → 5.2.0__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.
- pythonic_fp_queues-5.2.0.dist-info/METADATA +51 -0
- pythonic_fp_queues-5.2.0.dist-info/RECORD +9 -0
- pythonic_fp/queues/__init__.pyi +0 -0
- pythonic_fp/queues/de.pyi +0 -31
- pythonic_fp/queues/fifo.pyi +0 -24
- pythonic_fp/queues/lifo.pyi +0 -23
- pythonic_fp_queues-5.1.3.dist-info/METADATA +0 -65
- pythonic_fp_queues-5.1.3.dist-info/RECORD +0 -13
- {pythonic_fp_queues-5.1.3.dist-info → pythonic_fp_queues-5.2.0.dist-info}/WHEEL +0 -0
- {pythonic_fp_queues-5.1.3.dist-info → pythonic_fp_queues-5.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pythonic-fp-queues
|
|
3
|
+
Version: 5.2.0
|
|
4
|
+
Summary: Queues geared to different use cases.
|
|
5
|
+
Keywords: queue,fifo,lifo,dqueue
|
|
6
|
+
Author-email: "Geoffrey R. Scheller" <geoffrey@scheller.com>
|
|
7
|
+
Requires-Python: >=3.14
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Framework :: Pytest
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
16
|
+
Classifier: Typing :: Typed
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: pythonic-fp-circulararray>=6.2.2,<6.4
|
|
19
|
+
Requires-Dist: pythonic-fp-fptools>=6.1,<6.2
|
|
20
|
+
Requires-Dist: pythonic-fp-gadgets>=4.5,<6
|
|
21
|
+
Project-URL: Changelog, https://github.com/grscheller/pythonic-fp-queues/blob/main/CHANGELOG.md
|
|
22
|
+
Project-URL: Documentation, https://grscheller.github.io/pythonic-fp-queues/release/html/
|
|
23
|
+
Project-URL: Homepage, https://grscheller.github.io/pythonic-fp/
|
|
24
|
+
Project-URL: Source, https://github.com/grscheller/pythonic-fp-queues
|
|
25
|
+
|
|
26
|
+
# Pythonic FP - Queues
|
|
27
|
+
|
|
28
|
+
Queue-like datastructures.
|
|
29
|
+
|
|
30
|
+
PyPI project
|
|
31
|
+
[pythonic-fp-queues](https://pypi.org/project/pythonic-fp-queues).
|
|
32
|
+
Part of the
|
|
33
|
+
[pythonic-fp](https://grscheller.github.io/pythonic-fp/)
|
|
34
|
+
PyPI projects.
|
|
35
|
+
|
|
36
|
+
## Documentation
|
|
37
|
+
|
|
38
|
+
Documentation and other links for this project are hosted on
|
|
39
|
+
[GitHub Pages](https://grscheller.github.io/pythonic-fp/projects/queues.html).
|
|
40
|
+
|
|
41
|
+
| module | class | name |
|
|
42
|
+
|:------ |:-----:|:---- |
|
|
43
|
+
| pythonic_fp.queues.fifo | FIFOQueue | First-In-First-Out Queue |
|
|
44
|
+
| pythonic_fp.queues.lifo | LIFOQueue | Last-In-First-Out Queue |
|
|
45
|
+
| pythonic_fp.queues.de | DEQueue | Double-Ended Queue |
|
|
46
|
+
|
|
47
|
+
## Copyright and License
|
|
48
|
+
|
|
49
|
+
Copyright (c) 2023-2026 Geoffrey R. Scheller. Licensed under the Apache
|
|
50
|
+
License, Version 2.0. See the LICENSE file for details.
|
|
51
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
pythonic_fp/queues/__init__.py,sha256=NOkkXOQaHmiemvY4Ke5ZdFJCl3_P3bmV87Xz5Y-R9cU,1028
|
|
2
|
+
pythonic_fp/queues/de.py,sha256=ICPHkGz0JKIk8aLk75ZUSPS6T9jSTynkJ-2A5Sy_iig,8532
|
|
3
|
+
pythonic_fp/queues/fifo.py,sha256=qQhv57VuF2QuaRtGJhCtj5qtGPjoGKlQS9RbZIGsvmY,6803
|
|
4
|
+
pythonic_fp/queues/lifo.py,sha256=lQAzoCOzQrw3gF2A_GgF_4XkYpNivswPyZS-Qp5bxYw,6471
|
|
5
|
+
pythonic_fp/queues/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
pythonic_fp_queues-5.2.0.dist-info/licenses/LICENSE,sha256=IJMkVWQUVy-SonK6SMaMotDQ6Zb-lVi2bUTiGp1GUO8,10774
|
|
7
|
+
pythonic_fp_queues-5.2.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
8
|
+
pythonic_fp_queues-5.2.0.dist-info/METADATA,sha256=-PaB9pdP3i3zyHGry3_VT_Yi7Nc8w3DeiB7t3PEJ8aQ,1898
|
|
9
|
+
pythonic_fp_queues-5.2.0.dist-info/RECORD,,
|
pythonic_fp/queues/__init__.pyi
DELETED
|
File without changes
|
pythonic_fp/queues/de.pyi
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
from collections.abc import Callable, Iterable, Iterator
|
|
2
|
-
from pythonic_fp.fptools.maybe import MayBe
|
|
3
|
-
from typing import overload
|
|
4
|
-
|
|
5
|
-
__all__ = ['DEQueue', 'de_queue']
|
|
6
|
-
|
|
7
|
-
class DEQueue[D]:
|
|
8
|
-
def __init__(self, *dss: Iterable[D]) -> None: ...
|
|
9
|
-
def __bool__(self) -> bool: ...
|
|
10
|
-
def __len__(self) -> int: ...
|
|
11
|
-
def __eq__(self, other: object) -> bool: ...
|
|
12
|
-
def __iter__(self) -> Iterator[D]: ...
|
|
13
|
-
def __reversed__(self) -> Iterator[D]: ...
|
|
14
|
-
def copy(self) -> DEQueue[D]: ...
|
|
15
|
-
def pushl(self, *ds: D) -> None: ...
|
|
16
|
-
def pushr(self, *ds: D) -> None: ...
|
|
17
|
-
def popl(self) -> MayBe[D]: ...
|
|
18
|
-
def popr(self) -> MayBe[D]: ...
|
|
19
|
-
def peakl(self) -> MayBe[D]: ...
|
|
20
|
-
def peakr(self) -> MayBe[D]: ...
|
|
21
|
-
@overload
|
|
22
|
-
def foldl[L](self, f: Callable[[D, D], D]) -> MayBe[D]: ...
|
|
23
|
-
@overload
|
|
24
|
-
def foldl[L](self, f: Callable[[L, D], L], start: L) -> MayBe[L]: ...
|
|
25
|
-
@overload
|
|
26
|
-
def foldr[R](self, f: Callable[[D, D], D]) -> MayBe[D]: ...
|
|
27
|
-
@overload
|
|
28
|
-
def foldr[R](self, f: Callable[[D, R], R], start: R) -> MayBe[R]: ...
|
|
29
|
-
def map[U](self, f: Callable[[D], U]) -> DEQueue[U]: ...
|
|
30
|
-
|
|
31
|
-
def de_queue[D](*ds: D) -> DEQueue[D]: ...
|
pythonic_fp/queues/fifo.pyi
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
from collections.abc import Callable, Iterable, Iterator
|
|
2
|
-
from pythonic_fp.fptools.maybe import MayBe
|
|
3
|
-
from typing import overload
|
|
4
|
-
|
|
5
|
-
__all__ = ['FIFOQueue', 'fifo_queue']
|
|
6
|
-
|
|
7
|
-
class FIFOQueue[D]:
|
|
8
|
-
def __init__(self, *dss: Iterable[D]) -> None: ...
|
|
9
|
-
def __bool__(self) -> bool: ...
|
|
10
|
-
def __len__(self) -> int: ...
|
|
11
|
-
def __eq__(self, other: object) -> bool: ...
|
|
12
|
-
def __iter__(self) -> Iterator[D]: ...
|
|
13
|
-
def copy(self) -> FIFOQueue[D]: ...
|
|
14
|
-
def push(self, *ds: D) -> None: ...
|
|
15
|
-
def pop(self) -> MayBe[D]: ...
|
|
16
|
-
def peak_last_in(self) -> MayBe[D]: ...
|
|
17
|
-
def peak_next_out(self) -> MayBe[D]: ...
|
|
18
|
-
@overload
|
|
19
|
-
def fold[T](self, f: Callable[[D, D], D]) -> MayBe[D]: ...
|
|
20
|
-
@overload
|
|
21
|
-
def fold[T](self, f: Callable[[T, D], T], start: T) -> MayBe[T]: ...
|
|
22
|
-
def map[U](self, f: Callable[[D], U]) -> FIFOQueue[U]: ...
|
|
23
|
-
|
|
24
|
-
def fifo_queue[D](*ds: D) -> FIFOQueue[D]: ...
|
pythonic_fp/queues/lifo.pyi
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
from collections.abc import Callable, Iterable, Iterator
|
|
2
|
-
from pythonic_fp.fptools.maybe import MayBe
|
|
3
|
-
from typing import overload
|
|
4
|
-
|
|
5
|
-
__all__ = ['LIFOQueue', 'lifo_queue']
|
|
6
|
-
|
|
7
|
-
class LIFOQueue[D]:
|
|
8
|
-
def __init__(self, *dss: Iterable[D]) -> None: ...
|
|
9
|
-
def __bool__(self) -> bool: ...
|
|
10
|
-
def __len__(self) -> int: ...
|
|
11
|
-
def __eq__(self, other: object) -> bool: ...
|
|
12
|
-
def __iter__(self) -> Iterator[D]: ...
|
|
13
|
-
def copy(self) -> LIFOQueue[D]: ...
|
|
14
|
-
def push(self, *ds: D) -> None: ...
|
|
15
|
-
def pop(self) -> MayBe[D]: ...
|
|
16
|
-
def peak(self) -> MayBe[D]: ...
|
|
17
|
-
@overload
|
|
18
|
-
def fold[T](self, f: Callable[[D, D], D]) -> MayBe[D]: ...
|
|
19
|
-
@overload
|
|
20
|
-
def fold[T](self, f: Callable[[T, D], T], start: T) -> MayBe[T]: ...
|
|
21
|
-
def map[U](self, f: Callable[[D], U]) -> LIFOQueue[U]: ...
|
|
22
|
-
|
|
23
|
-
def lifo_queue[D](*ds: D) -> LIFOQueue[D]: ...
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: pythonic-fp-queues
|
|
3
|
-
Version: 5.1.3
|
|
4
|
-
Summary: Queues
|
|
5
|
-
Keywords: queue,fifo,lifo,dqueue
|
|
6
|
-
Author-email: "Geoffrey R. Scheller" <geoffrey@scheller.com>
|
|
7
|
-
Requires-Python: >=3.13
|
|
8
|
-
Description-Content-Type: text/x-rst
|
|
9
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
-
Classifier: Framework :: Pytest
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
-
Classifier: Operating System :: OS Independent
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
-
Classifier: Typing :: Typed
|
|
16
|
-
License-File: LICENSE
|
|
17
|
-
Requires-Dist: pythonic-fp-circulararray>=6.0.4
|
|
18
|
-
Requires-Dist: pythonic-fp-fptools>=5.2.0
|
|
19
|
-
Requires-Dist: pythonic-fp-gadgets>=4.1.0
|
|
20
|
-
Requires-Dist: pytest>=8.4.1 ; extra == "test"
|
|
21
|
-
Project-URL: Changelog, https://github.com/grscheller/pythonic-fp-queues/blob/main/CHANGELOG.rst
|
|
22
|
-
Project-URL: Documentation, https://grscheller.github.io/pythonic-fp/projects/queues.html
|
|
23
|
-
Project-URL: Homepage, https://grscheller.github.io/pythonic-fp/
|
|
24
|
-
Project-URL: Source, https://github.com/grscheller/pythonic-fp-queues
|
|
25
|
-
Provides-Extra: test
|
|
26
|
-
|
|
27
|
-
Pythonic FP - Queues
|
|
28
|
-
====================
|
|
29
|
-
|
|
30
|
-
PyPI project
|
|
31
|
-
`pythonic-fp-queues
|
|
32
|
-
<https://pypi.org/project/pythonic-fp-queues>`_.
|
|
33
|
-
|
|
34
|
-
+-------------------------+-----------+--------------------------+
|
|
35
|
-
| module | class | name |
|
|
36
|
-
+=========================+===========+==========================+
|
|
37
|
-
| pythonic_fp.queues.fifo | FIFOQueue | First-In-First-Out Queue |
|
|
38
|
-
+-------------------------+-----------+--------------------------+
|
|
39
|
-
| pythonic_fp.queues.lifo | LIFOQueue | Last-In-First-Out Queue |
|
|
40
|
-
+-------------------------+-----------+--------------------------+
|
|
41
|
-
| pythonic_fp.queues.de | DEQueue | Double-Ended Queue |
|
|
42
|
-
+-------------------------+-----------+--------------------------+
|
|
43
|
-
|
|
44
|
-
Part of the
|
|
45
|
-
`pythonic-fp
|
|
46
|
-
<https://grscheller.github.io/pythonic-fp/>`_
|
|
47
|
-
PyPI projects.
|
|
48
|
-
|
|
49
|
-
Documentation
|
|
50
|
-
-------------
|
|
51
|
-
|
|
52
|
-
Documentation and other links for this project are hosted on
|
|
53
|
-
`GitHub Pages
|
|
54
|
-
<https://grscheller.github.io/pythonic-fp/projects/queues.html>`_.
|
|
55
|
-
|
|
56
|
-
Documentation for this project is hosted on
|
|
57
|
-
`GitHub Pages
|
|
58
|
-
<https://grscheller.github.io/pythonic-fp-queues/development/html/>`_.
|
|
59
|
-
|
|
60
|
-
Copyright and License
|
|
61
|
-
---------------------
|
|
62
|
-
|
|
63
|
-
Copyright (c) 2023-2026 Geoffrey R. Scheller. Licensed under the Apache
|
|
64
|
-
License, Version 2.0. See the LICENSE file for details.
|
|
65
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
pythonic_fp/queues/__init__.py,sha256=NOkkXOQaHmiemvY4Ke5ZdFJCl3_P3bmV87Xz5Y-R9cU,1028
|
|
2
|
-
pythonic_fp/queues/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
pythonic_fp/queues/de.py,sha256=ICPHkGz0JKIk8aLk75ZUSPS6T9jSTynkJ-2A5Sy_iig,8532
|
|
4
|
-
pythonic_fp/queues/de.pyi,sha256=db74UiSLFme25Yhc28Hhw3EKb2GfvU4wNBJtkTlr_e4,1150
|
|
5
|
-
pythonic_fp/queues/fifo.py,sha256=qQhv57VuF2QuaRtGJhCtj5qtGPjoGKlQS9RbZIGsvmY,6803
|
|
6
|
-
pythonic_fp/queues/fifo.pyi,sha256=19TGU3Qg91hCLo5A-5p9vmREcl38EUWhIAvJZtlb1eA,885
|
|
7
|
-
pythonic_fp/queues/lifo.py,sha256=lQAzoCOzQrw3gF2A_GgF_4XkYpNivswPyZS-Qp5bxYw,6471
|
|
8
|
-
pythonic_fp/queues/lifo.pyi,sha256=HdJ-t7R2w3VfCT06raCTXespdUZfpBgMepBlcxDvyuk,832
|
|
9
|
-
pythonic_fp/queues/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
pythonic_fp_queues-5.1.3.dist-info/licenses/LICENSE,sha256=IJMkVWQUVy-SonK6SMaMotDQ6Zb-lVi2bUTiGp1GUO8,10774
|
|
11
|
-
pythonic_fp_queues-5.1.3.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
12
|
-
pythonic_fp_queues-5.1.3.dist-info/METADATA,sha256=CeQO0Dt1zxfeu94F7ziEET_hegfeZUjlpzzoIzzdQr4,2392
|
|
13
|
-
pythonic_fp_queues-5.1.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|