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
What you get
- The smallest real package in the stack
- hello()/shout() - two functions, no ceremony
- A VERSION constant, for the pattern
- The plainest possible "how a package works" example
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.