The Larz Stack
162 pure-Larzscript libraries for money, data, security, web and AI โ each depending on nothing but the language's own OS/scripting builtins. No dependency tree, no supply-chain surface, just readable code you can vendor anywhere.
Money & Payments
Handle money correctly โ exact values, ledgers, invoices and billing.
Category-based budget tracking on real Money
moneylarzcartCompute an order total the right way, to the cent.
moneylarzcurrencyFormat and parse money for humans, per locale.
moneylarzdiscountStack discounts and promos correctly, to the cent.
moneylarzescrowHold funds, release to a payee, or refund
moneylarzfxCurrency conversion with a settable rate table
moneylarzinvoiceBuild and format invoices from Money line items
moneylarzledgerDouble-entry accounting that always balances.
moneylarzloanInterest and amortization, Money-aware
moneylarzluhnThe Luhn checksum - validate card-shaped numbers
moneylarzmoneyExact money, never a float.
moneylarznettingSettle a tangle of debts with the fewest payments.
moneylarzpdfGenerate real PDFs from scratch.
moneylarzsplitSplit a bill fairly, down to the last cent.
moneylarzsubscriptionSubscription billing as a state machine.
moneylarztaxSales tax / VAT / GST, done correctly to the cent.
Data & Storage
Persist, query and serialize โ embedded DB, safe SQL, caching and every format.
Encode and decode base64
datalarzcacheCaching that grows with you.
datalarzcborCBOR encode/decode (RFC 8949).
datalarzchartData to inline SVG charts.
datalarzdbCrash-safe single-file database.
datalarzmigrateSchema migrations, any backend.
datalarzpackMessagePack-compatible serialization.
datalarzsearchFull-text search with BM25.
datalarzsqlInjection-safe SQL builder.
datalarztableQuery and render tabular data.
datalarztomlTOML read and write.
datalarzyamlA practical YAML subset.
Security & Identity
RFC-verified crypto, secrets, two-factor auth, QR and decentralised identity.
Simple IP allow/deny lists
securitylarzapikeyGenerate and verify opaque API keys
securitylarzcryptReal SHA-256, HMAC & PBKDF2, pure Larzscript.
securitylarzidSelf-certifying identity & credentials.
securitylarzipIPv4 parsing, validation and CIDR matching
securitylarzjwtSigned JSON tokens
securitylarznetbridgeReverse SSH tunnels through a relay.
securitylarzpsktunnelRemote exec + TCP forwarding through a relay, pure Larzscript
securitylarzpassword_strengthPassword strength scoring
securitylarzqrQR codes from scratch.
securitylarzsessionSigned cookie sessions + CSRF.
securitylarzsshReal SSH via libssh bound into the interpreter
securitylarztotpTOTP/HOTP two-factor auth.
securitylarzvaultEncrypted secrets store.
Web & Protocols
HTTP, HTML, templates, RPC, WebSockets and server-sent events.
One backend, N merchant apps, each with its own signed webhook.
weblarzhtmlXSS-safe HTML builder.
weblarzhttpA requests-style HTTP client.
weblarzindexnowTell every search engine a page changed, in one request.
weblarzmarkMarkdown to HTML + static SEO.
weblarzmimeLook up a MIME type from a filename
weblarzrpcJSON-RPC 2.0 over HTTP.
weblarzsitemapGrow a sitemap.xml the way a real site actually does.
weblarzsseServer-Sent Events.
weblarzwebhookSign and verify webhook payloads with HMAC-SHA256
weblarzwsWebSocket server & client (RFC 6455).
AI
Neural networks, genetic algorithms, and tool-calling agents โ the building blocks of AI, from scratch.
Communication & Formats
Email, calendars, phone numbers and XML โ the formats apps exchange.
Build, parse and send MIME email the easy way.
commlarzicaliCalendar (RFC 5545) build and parse.
commlarzimapThe read side: search and fetch mail over real IMAP.
commlarzphoneParse, validate and format phone numbers to E.164.
commlarzsmtpReal SMTP sending, via curl.
commlarzstatuscardA clean, branded status-alert email, ready to send.
commlarzxmlErgonomic XML builder + XXE-safe parser.
Learn to Code
Tools for learning and teaching programming โ draw, practise, and see how code runs.
Classic algorithms you can watch run.
learnlarzasciiNumbers as readable text pictures.
learnlarzbaseConvert number bases and see why.
learnlarzbitsBitwise operations made visible.
learnlarzcalcA calculator that explains itself.
learnlarzcaseConvert naming conventions.
learnlarzcommandCommand pattern with undo/redo.
learnlarzcsvFriendly CSV, companion to larzjson.
learnlarzdateDate arithmetic from first principles.
learnlarzdiffHuman-readable value diffs.
learnlarzenvLoad .env files, keep secrets safe.
learnlarzeventsA pub/sub event emitter.
learnlarzfakeReproducible fake data.
learnlarzfsmFinite state machines.
learnlarzgameA tiny text-adventure engine.
learnlarzgreetThe tiniest possible Larzscript package
learnlarzheapA binary heap / priority queue.
learnlarzjsonFriendly JSON with human errors.
learnlarzkataCoding exercises with instant feedback.
learnlarzlogStructured logging for real apps.
learnlarzlogicBoolean logic you can see.
learnlarzmarkdownMarkdown to HTML.
learnlarzmathMath worked out step by step.
learnlarznumHuman-friendly number formatting.
learnlarzpaginatePagination done right.
learnlarzqueryQuery a list of dicts like a database.
learnlarzquizQuizzes + spaced-repetition flashcards.
learnlarzratelimitToken-bucket rate limiting.
learnlarzraytraceA real ray tracer, rendered to a real image.
learnlarzregexExplain regular expressions in plain English.
learnlarzretryRetry & circuit breaker.
learnlarzromanRoman numerals, explained.
learnlarzrouterURL routing like a web framework.
learnlarzsandboxRun learner code safely-ish.
learnlarzscriptA money-native programming language.
learnlarzstoreA tiny persistent document store.
learnlarzstrClassic string algorithms.
learnlarztemplateA tiny template engine.
learnlarztestA tiny, readable test framework.
learnlarztextEveryday text helpers.
learnlarztimeHuman-friendly time.
learnlarztraceWatch your code run, line by line.
learnlarztreeA binary search tree.
learnlarztrieA trie for autocomplete.
learnlarzturtleTurtle graphics that draw to SVG.
learnlarztypeA typing-practice engine.
learnlarzunitUnit conversion that shows its working.
learnlarzurlURL helpers for web apps.
learnlarzvalidateValidate input against a schema.
Developer Tooling
Logging, CLIs, jobs, scheduling, metrics and the everyday dev kit.
Your access log already lists every site linking to you.
toolinglarzactorThe actor model.
toolinglarzargsSimple command-line argument parsing
toolinglarzbenchMicro-benchmarking.
toolinglarzbusIn-process pub/sub.
toolinglarzcliFunctions into CLIs.
toolinglarzcolorTerminal colour, done right.
toolinglarzconfLayered typed configuration.
toolinglarzcronCron expressions + scheduler.
toolinglarzflagsFeature flags & rollouts.
toolinglarzlimitRate limiting.
toolinglarzlogtailRead only what a log file gained since last time.
toolinglarzmetricsMetrics + Prometheus export.
toolinglarzmonitorDebounced ok/fail alerting.
toolinglarzprogressProgress bars & spinners.
toolinglarzpromptInteractive CLI prompts.
toolinglarzquotaOne shared quota multiple apps draw from together.
toolinglarzseenWhich of these ids are actually new since last time?
toolinglarzstateWorkflows & state machines.
toolinglarztaskDurable job queue, no broker.
toolinglarztuiPretty terminal UI - panels, tables and rules.
toolinglarzwatchFile & directory watcher.
Utilities
Small sharp tools โ time, ids, slugs, graphs, stats, diffing and more.
Real two-body orbital mechanics + the Tsiolkovsky rocket equation
utilitylarzneowsA real client for NASA's live Near-Earth-Object tracking feed
utilitylarzanomalyThe same math flags bot traffic AND finds SEO opportunities.
utilitylarzarchiveSafe zip/tar archives.
utilitylarzbackupManifest-based backup integrity + retention.
utilitylarzbarcodeEAN-13 and Code 128 barcodes as SVG.
utilitylarzcrdtState that merges from any two replicas, always.
utilitylarzdurationParse compact duration strings, and back
utilitylarzfetchA real HTTP GET, from the LarzOS terminal
utilitylarzfsFilesystem helpers
utilitylarzfuzzyFuzzy string matching.
utilitylarzgeoGeospatial basics.
utilitylarzgraphGraph algorithms.
utilitylarzmatrixLinear algebra, no numpy.
utilitylarznetLarzOS's own real networking
utilitylarzpathfindReal A* search over a grid.
utilitylarzpipeLazy composable pipelines.
utilitylarzqueueA FIFO queue
utilitylarzrandomA small seeded pseudo-random generator
utilitylarzsemverSemantic Versioning 2.0.
utilitylarzsetA real set type
utilitylarzslugSlugify with transliteration.
utilitylarzstackA LIFO stack
utilitylarzstatsStatistics without numpy.
utilitylarzstringString helpers beyond the built-in methods
utilitylarzstructEssential data structures.
utilitylarzunitsUnit conversion + dimensional checks.
utilitylarzuuidSortable IDs โ UUIDv7, ULID, nanoid.
Blockchain
The deterministic VM and primitives behind LarzChain.