Learn to Code ยท zero-dependency ยท MIT

larzfake

Reproducible fake data.

Real tests and demos need data - names, emails, sentences, numbers, dates. larzfake generates it, and is fully deterministic when seeded so the same seed always produces the same data (essential for reliable tests). Ideal for tests, demos and seeding.

larzscript pkg install fake
View on GitHub →Learn the stack

What you get

Try it

import "fake" as fake
fake.seed(42)
print(fake.name())
print(fake.email())
print(fake.sentence(6))
print(fake.number(1, 100))
Output
Pia Kerr
kai.nash84@mail.test
Quick system data builds the dog.
67

Why it's in the Larz Stack

larzfake is a real Larzscript package (larzscript pkg install fake) - 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.