Developer Tooling · zero-dependency · MIT

larzflags

Feature flags & rollouts.

Feature flags with deny/allow lists, targeting rules, stable percentage rollouts via deterministic bucketing, and weighted variants for A/B tests — reproducible by design.

larzscript pkg install flags
View on GitHub →Learn the stack

What you get

Try it

import "flags" as flags
let f = flags.rule("new-checkout", 25)
print(flags.enabled(f, "user-42"))
let v = flags.variant("button-color", {"blue": 50, "green": 50}, "user-42")
print(v)
Output
false
blue

Why it's in the Larz Stack

larzflags is a real Larzscript package (larzscript pkg install flags) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.