Maybe-Boolean
The Maybe type from the maybe_boolean package creates a new boolean-like value that could could be true OR false when evaluated. Once it is evaluated to a boolean value, it keeps its identity. Install the library with pip install maybe-bool.
Short Example
from maybe_boolean import Maybe
val = Maybe()
if val:
print(val) # prints `True`
else:
print(val) # prints `False`
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maybe-bool-1.0.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maybe-bool-1.0.0.tar.gz.
File metadata
- Download URL: maybe-bool-1.0.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6e24df836806e3644e7a097a141b5185e980130527407dc104d4b7436a3e768
|
|
| MD5 |
4e4e2138f431fb8c3d60c98454ba847d
|
|
| BLAKE2b-256 |
4c83a81cdaa966f7a7e952ec83a777f6a2965e359a0b364c7a061922a9f1efae
|
File details
Details for the file maybe_bool-1.0.0-py3-none-any.whl.
File metadata
- Download URL: maybe_bool-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
482f3d389dde3362c30a8434118615e89d972d09a5ec6c1e7b338fb7f5cbac70
|
|
| MD5 |
e1503830468ab6bae4425aaf5b1a2dad
|
|
| BLAKE2b-256 |
f2caaada824b9ceb1de3ef4bf1927f309fa532553a08ef7d7a234c9d48c8a4e3
|