Preparing for system design interviews?  Try bugzed.com →

str2bool

JSON →
library 1.1 ·python maintenance
verified Jun 28, 2026

This library provides a simple function to convert string representations to boolean values. It explicitly recognizes 'yes', 'true', 'y', 't', '1' as True, and 'no', 'false', 'n', 'f', '0' as False, with case-insensitivity. This version (1.1) was released in 2017 and is currently in maintenance mode with no active development.

total hits 13
actors 5 distinct systems
last hit 19d ago Bingbot
GPTBot
4
Script
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France