Learn to Code · zero-dependency · MIT

larzgreet

The tiniest possible Larzscript package - hello, world.

Two functions, one constant - the smallest real, installable Larzscript package, kept in the stack as the plainest possible example of what a package IS: a main.lz, a docstring, a couple of functions, nothing hidden.

larzscript pkg install greet
View on GitHub →Learn the stack

What you get

Try it

import "greet" as greet
print(greet.hello("World"))
print(greet.shout("larzscript"))
Output
Hello, World!
HELLO, LARZSCRIPT!

Why it's in the Larz Stack

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