Skip to content

Releases: jkomalley/envbool

v0.1.1

25 Apr 16:30

Choose a tag to compare

What's Changed

Packaging & Metadata

  • Fixed the license badge in the README — switched from the shields.io PyPI endpoint to the GitHub endpoint, which correctly handles PEP 639 license expressions that the legacy PyPI field doesn't expose.
  • Added keywords and [project.urls] (Homepage, Repository, Issues, Changelog) to pyproject.toml so PyPI displays sidebar links.
  • Bumped dev dependencies: ruff 0.15.12, ty 0.0.32, pre-commit 4.6.0.

No functional changes to the library or CLI.

v0.1.0

25 Apr 04:57

Choose a tag to compare

Initial release. Ships with:

  • envbool(var) — reads an env var and returns a bool
  • to_bool(value) — coerces an arbitrary string to bool
  • Strict mode via strict=True — raises InvalidBoolValueError on unrecognized values
  • Customizable value sets via extend_truthy / extend_falsy / truthy / falsy
  • CLI with exit-code semantics (0 truthy, 1 falsy) and --print flag for subshell use
  • TOML config support (envbool.toml or [tool.envbool] in pyproject.toml)