a package to convert the input value to a boolean type
Project description
a package to convert the input value to a boolean type
Usage
pip install yors_pano_str_to_bool
from yors_pano_str_to_bool import to_bool
to_bool('true') # True
to_bool('false') # False
to_bool('enable') # True
to_bool('disable') # False
to_bool('1') # True
to_bool('0') # False
to_bool(True) # True
to_bool(False) # False
author
ymc-github ymc.github@gmail.com
license
MIT or APACHE-2.0
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
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 yors_pano_str_to_bool-1.0.0.tar.gz.
File metadata
- Download URL: yors_pano_str_to_bool-1.0.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.6 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e77092b111b9bf4387087583c1037a89c1fb9a9b1512f3488cba74023db1a12
|
|
| MD5 |
4097ef06de20b58e2de51d28518233ef
|
|
| BLAKE2b-256 |
311be4ca94fff74eac691a640c53a89f3c464254721be9566227b97889478fe4
|
File details
Details for the file yors_pano_str_to_bool-1.0.0-py3-none-any.whl.
File metadata
- Download URL: yors_pano_str_to_bool-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.6 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41da313e36664d697cda66ccc74e3495f5d532070d40ef05351e15b52f3b217d
|
|
| MD5 |
0457b0af368c42b925ef4821d21a6375
|
|
| BLAKE2b-256 |
aad6eaa880f02fc1f5b5187ca4811332c022b6cd1bb9f5cbce97fb75eade2291
|