Skip to main content
https://travis-ci.org/scisco/boolean.svg?branch=develop https://badge.fury.io/py/boolean.svg License

Converts strings such as “true”, “True”, “y”, “n”, … to their equivalent Boolean value.

Installation

$ pip install boolean

Usage

>>> from boolean import boolean
>>> boolean('True')
True
>>> boolean('t')
True
>>> boolean('f')
False
>>> boolean('False')
False

Release files for boolean 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boolean 1.1.0
File Size Uploaded
boolean-1.1.0.tar.gz 4.6 kB Details

Release files / boolean-1.1.0.tar.gz

Download URL boolean-1.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2556c3ada0b57a5fabf59fa83dec2cc3a2790da3564d89724d8658cd6909f246
BLAKE2b-256 checksum
How to use checksums
ed4940a19091b45d774cf7d1ce2dc8dd5ee894b51926881f4f3322d699f6ca4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page