pythonic-fp-booleans 2.1.0__tar.gz → 3.0.0__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_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/CHANGELOG.rst +5 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/PKG-INFO +5 -5
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/README.rst +3 -3
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/pyproject.toml +2 -2
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/__init__.py +1 -1
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/flavored.py +13 -12
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/.gitignore +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/LICENSE +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/__init__.pyi +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/flavored.pyi +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/py.typed +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/subtypable.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/subtypable.pyi +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/truthy_falsy.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/truthy_falsy.pyi +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_bool_vs_fbool.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_bool_vs_sbool.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_flavored.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_flavored_non_shortcut_logic.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_flavored_sbool.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_subtypable_non_shortcut_logic.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_true_false.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_true_false_non_shortcut_logic.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_typing.py +0 -0
- {pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_variance.py +0 -0
|
@@ -17,6 +17,11 @@ See `Semantic Versioning 2.0.0 <https://semver.org>`_.
|
|
|
17
17
|
Releases and Important Milestones
|
|
18
18
|
---------------------------------
|
|
19
19
|
|
|
20
|
+
PyPI 2.2.0 - 2025-12-02
|
|
21
|
+
~~~~~~~~~~~~~~~~~~~~~~~
|
|
22
|
+
|
|
23
|
+
Docstring updates.
|
|
24
|
+
|
|
20
25
|
PyPI 2.1.0 - 2025-12-02
|
|
21
26
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
22
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythonic-fp-booleans
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Subtypable Boolean Class Hierarchy
|
|
5
5
|
Keywords: booleans,subtypable
|
|
6
6
|
Author-email: "Geoffrey R. Scheller" <geoffrey@scheller.com>
|
|
@@ -14,7 +14,7 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
15
|
Classifier: Typing :: Typed
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: pythonic-fp-gadgets>=4.0.
|
|
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-booleans/blob/main/CHANGELOG.rst
|
|
20
20
|
Project-URL: Documentation, https://grscheller.github.io/pythonic-fp/booleans/development/build/html/
|
|
@@ -31,8 +31,8 @@ PyPI project
|
|
|
31
31
|
|
|
32
32
|
Subtypable Boolean like classes.
|
|
33
33
|
|
|
34
|
-
While still compatible with Python shortcut logic, these classes
|
|
35
|
-
composed with Python’s bitwise operators.
|
|
34
|
+
While still compatible with Python shortcut logic, these singleton classes
|
|
35
|
+
can be non-shortcut logically composed with Python’s bitwise operators.
|
|
36
36
|
|
|
37
37
|
Part of the
|
|
38
38
|
`pythonic-fp
|
|
@@ -49,6 +49,6 @@ Documentation for this project is hosted on
|
|
|
49
49
|
Copyright and License
|
|
50
50
|
---------------------
|
|
51
51
|
|
|
52
|
-
Copyright (c) 2025 Geoffrey R. Scheller. Licensed under the Apache
|
|
52
|
+
Copyright (c) 2025-2026 Geoffrey R. Scheller. Licensed under the Apache
|
|
53
53
|
License, Version 2.0. See the LICENSE file for details.
|
|
54
54
|
|
|
@@ -7,8 +7,8 @@ PyPI project
|
|
|
7
7
|
|
|
8
8
|
Subtypable Boolean like classes.
|
|
9
9
|
|
|
10
|
-
While still compatible with Python shortcut logic, these classes
|
|
11
|
-
composed with Python’s bitwise operators.
|
|
10
|
+
While still compatible with Python shortcut logic, these singleton classes
|
|
11
|
+
can be non-shortcut logically composed with Python’s bitwise operators.
|
|
12
12
|
|
|
13
13
|
Part of the
|
|
14
14
|
`pythonic-fp
|
|
@@ -25,5 +25,5 @@ Documentation for this project is hosted on
|
|
|
25
25
|
Copyright and License
|
|
26
26
|
---------------------
|
|
27
27
|
|
|
28
|
-
Copyright (c) 2025 Geoffrey R. Scheller. Licensed under the Apache
|
|
28
|
+
Copyright (c) 2025-2026 Geoffrey R. Scheller. Licensed under the Apache
|
|
29
29
|
License, Version 2.0. See the LICENSE file for details.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pythonic-fp-booleans"
|
|
3
|
-
version = "
|
|
3
|
+
version = "3.0.0"
|
|
4
4
|
readme = "README.rst"
|
|
5
5
|
requires-python = ">=3.13"
|
|
6
6
|
license = { file = "LICENSE" }
|
|
@@ -19,7 +19,7 @@ classifiers = [
|
|
|
19
19
|
"Typing :: Typed",
|
|
20
20
|
]
|
|
21
21
|
dependencies = [
|
|
22
|
-
"pythonic-fp-gadgets>=4.0.
|
|
22
|
+
"pythonic-fp-gadgets>=4.0.2",
|
|
23
23
|
]
|
|
24
24
|
dynamic = ["description"]
|
|
25
25
|
|
{pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/flavored.py
RENAMED
|
@@ -13,28 +13,29 @@
|
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
15
|
"""
|
|
16
|
-
|
|
16
|
+
.. admonition:: Class Favored Booleans: ``F_Bool``.
|
|
17
17
|
|
|
18
|
-
When different flavors of the truth matter. Each ``FBool`` is
|
|
19
|
-
an ``SBool`` subtype corresponds to a hashable value
|
|
20
|
-
called its flavor.
|
|
18
|
+
When different flavors of the truth matter. Each ``FBool`` is
|
|
19
|
+
an ``SBool`` subtype corresponds to a hashable value
|
|
20
|
+
called its flavor.
|
|
21
21
|
|
|
22
|
-
.. warning::
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
.. warning::
|
|
23
|
+
|
|
24
|
+
Combining ``FBool`` instances of different flavors
|
|
25
|
+
with bitwise operators will just result in an ``SBool``.
|
|
26
26
|
|
|
27
27
|
----
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
.. admonition:: Function truthy: ``truthy(flavor: Hashable)``.
|
|
30
30
|
|
|
31
|
-
Returns the truthy ``FBool`` of a particular ``flavor``.
|
|
31
|
+
Returns the truthy singleton ``FBool`` of a particular ``flavor``.
|
|
32
32
|
|
|
33
33
|
----
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
.. admonition:: Function falsy: ``falsy(flavor: Hashable)``.
|
|
36
|
+
|
|
37
|
+
Returns the falsy singleton ``FBool`` of a particular ``flavor``.
|
|
36
38
|
|
|
37
|
-
Returns the falsy ``FBool`` of a particular ``flavor``.
|
|
38
39
|
"""
|
|
39
40
|
|
|
40
41
|
import threading
|
|
File without changes
|
|
File without changes
|
{pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/__init__.pyi
RENAMED
|
File without changes
|
{pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/flavored.pyi
RENAMED
|
File without changes
|
|
File without changes
|
{pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/subtypable.py
RENAMED
|
File without changes
|
{pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/subtypable.pyi
RENAMED
|
File without changes
|
{pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/truthy_falsy.py
RENAMED
|
File without changes
|
{pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/src/pythonic_fp/booleans/truthy_falsy.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythonic_fp_booleans-2.1.0 → pythonic_fp_booleans-3.0.0}/tests/test_flavored_non_shortcut_logic.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|