This release is a pre-release and may not be stable for production use.
🐍 Python strtobool
Convert string to boolean value using str_to_bool function.
🛠 Usage
from str_to_bool import str_to_bool
# Convert string to boolean value
value = str_to_bool('true')
📝 Supported values
All values are case-insensitive. Any value not listed below will raise a ValueError.
True values
truetyesyon1
False values
falsefnonoff0
📦 Installation
Pip
pip install python-strtobool
Poetry
poetry add python-strtobool
📜 License
This project is released under the Apache-2.0 License. See the LICENSE file for more details.
Metadata
Release files for python-strtobool 1.0.3.dev2241213103971001004
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_strtobool-1.0.3.dev2241213103971001004.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_strtobool-1.0.3.dev2241213103971001004-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / python_strtobool-1.0.3.dev2241213103971001004.tar.gz
| Download URL | python_strtobool-1.0.3.dev2241213103971001004.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c026bd26179d10a7ff995e13b9e9664a75ce3d45d36cd4f9140763e08b0918d
|
|
BLAKE2b-256 checksum How to use checksums |
e744661eb7c2d43b42bcb898a1d38b95f217391831340ea6a79c064d2d30c5e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 13, 2024.
Transparency logRelease files / python_strtobool-1.0.3.dev2241213103971001004-py3-none-any.whl
| Download URL | python_strtobool-1.0.3.dev2241213103971001004-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
825bad705fe7eee093c201745426f160f38ebbba2c260675ba7ccb985bcf9385
|
|
BLAKE2b-256 checksum How to use checksums |
517b6fef937f438a70440a446e4964562f4fa06a53d0f0562d5db9cbdf040379
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 13, 2024.
Transparency log