🐍 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
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python_strtobool-1.0.3.tar.gz | 6.6 kB | With provenance | Details for python_strtobool-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_strtobool-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for python_strtobool-1.0.3-py3-none-any.whl |
Total release size: 13.0 kB
Release files / python_strtobool-1.0.3.tar.gz
| Download URL | python_strtobool-1.0.3.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b05e8a732025907e0ab900693cf574bb275d0ef3473e3255dbb2958e0db32e1b
|
|
BLAKE2b-256 checksum How to use checksums |
f74df4ae4d70c309cd1a1a20b4de4eb4e1f7c75a5e119120625cfc29e8417ecf
|
| 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-py3-none-any.whl
| Download URL | python_strtobool-1.0.3-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9f6988be13660fbb451023fe2966aae423b48c8f67bd5948f7dc315184575d2
|
|
BLAKE2b-256 checksum How to use checksums |
604248f58917a897d3fab179294501fa751cbd520f61f498e6cb5d7abd112de5
|
| 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 logSecurity for python-strtobool 1.0.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for python_strtobool-1.0.3.tar.gz
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 logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.