$npx skillfedfor your agent

str2bool

Convert string to boolean

SkipPyPI UtilitiesReleased Dec 2017243.4K downloads / mopermissive licenseSource build

Decision gist · record as of 2026-08-14

sdist only — str2bool-1.1.zip · builds from source
v1.1 · released 2017-12-25

No. While the package is permissively licensed and has no known vulnerabilities, its high install friction, dormant maintenance status (last release 2017-12-25), and lack of active development make it a poor choice for new projects. Only consider it if you're maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation friction is high due to distribution as a .zip file.
  • The package is dormant—last release was 2017-12-25 and last commit 2024-07-02—so expect no active maintenance or updates.

License · maintenance · safety

permissive license (permissive) — Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions.

last release 2017-12-25 (3154 days) · last repo commit 2024-07-02 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 243,415 downloads/mo, #8,797 on PyPI

Verify before relying

pip install str2bool

from str2bool import str2bool
print(str2bool('Yes'))  # True
print(str2bool('no'))   # False
  • Whether the high install friction (.zip distribution) reflects current PyPI hosting or a historical artifact
  • Whether Python 2.7 support claim (per classifiers) is actually functional or outdated
Same gist for agents: .md · .json

What it is and what it does

str2bool is a minimal utility that parses common string representations of truth values into Python booleans. It recognizes 'yes', 'true', 'y', 't', '1' as True and 'no', 'false', 'n', 'f', '0' as False, treating input case-insensitively. The package has no runtime dependencies and is designed as a drop-in function for simple string-to-bool conversion tasks.

The package is production-stable but dormant—its last release was 2017-12-25 and it receives no active development. It remains functional for its narrow use case but will not receive bug fixes or feature updates. The high install friction and lack of recent maintenance make it a legacy choice.

Use it for

  • Parse command-line arguments or config file values that come in as strings like 'yes'/'no' or 'true'/'false'
  • Convert user input from web forms or APIs into boolean flags without writing custom parsing logic
  • Handle legacy data imports where boolean values are stored as string representations
  • Quick boolean coercion in scripts where case-insensitive parsing is needed

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

While the package is permissively licensed and has no known vulnerabilities, its high install friction, dormant maintenance status (last release 2017-12-25), and lack of active development make it a poor choice for new projects. Only consider it if you're maintaining legacy code that already depends on it.

Install

str2bool on PyPI

Before you install

Installation friction is high due to distribution as a .zip file. The package is dormant—last release was 2017-12-25 and last commit 2024-07-02—so expect no active maintenance or updates.

License in practice

Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions.

Quickstart

pip install str2bool

from str2bool import str2bool
print(str2bool('Yes'))  # True
print(str2bool('no'))   # False

Verify before relying

  • Whether the high install friction (.zip distribution) reflects current PyPI hosting or a historical artifact
  • Whether Python 2.7 support claim (per classifiers) is actually functional or outdated

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 3,154 days since the last release
Last repo commit
First released
Downloads243,415 / month, #8,797 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.6Topic :: Utilities

Evidence: str2bool-1.1.zip

Tags

Capabilities
string to boolean conversionparse yes no to boolstr2boolconvert string booleancase insensitive bool parsing
Topics
string-parsinglegacy-unmaintained
PyPI keywords
str2bool

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “string to boolean conversion”

  • str2boolConverts string representations like 'yes', 'true', '1', 'no',…
  • skia-pathopsPython bindings for Google Skia's Path Ops module, enabling boolean…
  • bitarrayProvides an efficient C-backed array type for storing and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also py2opsin · boolean.py · kanjize · pycosat · sqlalchemy-hana · esp-bool-parser · indic-numtowords · selfies · textsearch