Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Apr 04:57
· 4 commits to main since this release

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)