A micro-library for returning boolean values explicitly with Booleans.true() and Booleans.false().
Project description
Booleans
A micro-library for returning boolean values explicitly.
Installation
pip install Booleans
Usage
from Booleans import Booleans
if Booleans.true():
print("This is True!")
if not Booleans.false():
print("This is False!")
def is_even(num):
if num % 2 == 0:
return Booleans.true()
else:
return Booleans.false()
print(is_even(54)) # True
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
booleans-0.1.0.tar.gz
(2.2 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 booleans-0.1.0.tar.gz.
File metadata
- Download URL: booleans-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db36cfeed93d9987291f123c4358abdd777f93ab391810a5007229d59e20c24e
|
|
| MD5 |
a20130cf1fab0e3a2b148be0f384e747
|
|
| BLAKE2b-256 |
5b1a7f3144da15f285b888c86d676e01fa94fc50d0a79b1f773869e0c0fd8004
|
File details
Details for the file booleans-0.1.0-py3-none-any.whl.
File metadata
- Download URL: booleans-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91f54efec0915c52669de21f24086dd040b10ef5d7dcf6ceeaf36fe7d4ea7725
|
|
| MD5 |
f903ac6d041e6aeef36175f9fe33f95b
|
|
| BLAKE2b-256 |
0c62d4b2d87378dbfd20921784d82a74901d9d923661b3187f2d713a5b7016c2
|