72 projects
larzchain
LarzCoin (LARZ) — a fair-launch, proof-of-work cryptocurrency. Pure Python, zero dependencies. Earned, never sold.
larzbarcode
EAN-13 and Code 128 barcodes as SVG - zero dependencies
larztui
Pretty terminal UI - panels, tables and rules - zero dependencies
larzxml
Ergonomic XML builder and XXE-safe parser - zero dependencies
larzphone
Parse, validate and format phone numbers to E.164 - offline, zero dependencies
larzemail
Build, parse and send MIME email the easy way - zero dependencies
larzical
iCalendar RFC 5545 build and parse - zero dependencies
larzqr
QR code generation from scratch - Reed-Solomon ECC and masking, zero dependencies
larzwatch
Portable, poll-based file and directory watching in pure Python. Detects create/modify/delete, no native backends. Zero dependencies.
larzsql
An injection-safe SQL query builder: SELECT/INSERT/UPDATE/DELETE with bound parameters and validated identifiers. Pure Python, zero dependencies.
larzprompt
Interactive, testable command-line prompts: text, confirm, select, integer, password, with validation and defaults. Pure Python, zero dependencies.
larzarchive
Create and extract zip/tar archives with safe (zip-slip-proof) extraction by default. Pure Python, zero dependencies.
larzflags
Feature flags with deterministic percentage rollout, targeting rules, allow/deny lists, and variants. Pure Python, zero dependencies.
larzhtml
Build HTML in Python, safely: text and attributes are escaped by default (XSS-safe). Composable tag builders. Zero dependencies.
larzsemver
Semantic Versioning 2.0.0 in pure Python: parse, compare (spec precedence), sort, bump, and range matching (caret/tilde/x-ranges). Zero dependencies.
larzprogress
Progress bars and spinners that stay silent when output is not a terminal. Pure Python, zero dependencies.
larzgeo
Geospatial basics in pure Python: haversine distance, bearing, geohash, bounding box, point-in-polygon. No GDAL/shapely, zero dependencies.
larzactor
Actor-model concurrency without locks: mailboxes, tell/ask, supervision. Safe stateful concurrency in pure Python, zero dependencies.
larzpipe
Lazy, composable data pipelines: fluent map/filter/batch/window/group_by over any iterable. Pure Python, zero dependencies.
larzbench
Ergonomic micro-benchmarking in pure Python: time a callable with real stats and compare implementations. Zero dependencies.
larzmatrix
Small-matrix linear algebra in pure Python: arithmetic, transpose, determinant, inverse, and solving Ax=b. No numpy, zero dependencies.
larzcbor
CBOR (RFC 8949) encode/decode in pure Python - the IETF binary format (WebAuthn/COSE/IoT), with canonical map ordering. Zero dependencies.
larzuuid
Modern sortable IDs in pure Python: UUIDv7, ULID, and nanoid. Time-ordered, index-friendly. Zero dependencies.
larzstats
Descriptive statistics, correlation, linear regression, and the normal distribution in pure Python. No numpy/scipy, zero dependencies.
larzunits
Unit conversion with dimensional checking (length, mass, time, temperature, data, volume) and a Quantity type. Pure Python, zero dependencies.
larzslug
Slugify text into URL/filename-safe slugs with Unicode transliteration and uniqueness. Pure Python, zero dependencies.
larzdiff
Human-readable diffs of two values - dicts, lists, strings, zero third-party deps
larztoml
TOML read and write in pure Python (back to 3.8): tables, arrays of tables, typed values, dates, comments. Zero dependencies.
larzyaml
A practical YAML subset (load + dump) in pure Python: nested maps/sequences, typed scalars, flow collections, comments. Zero dependencies.
larzfuzzy
Fuzzy string matching in pure Python: Levenshtein, similarity ratio, Jaro-Winkler, and best-match extraction. Zero dependencies.
larzsearch
Full-text search with BM25 relevance ranking and fuzzy matching, in pure Python. No Elasticsearch, zero dependencies.
larzsse
Server-Sent Events (SSE): a thread-safe broadcaster and a client, over plain HTTP. Pure Python, no async, zero dependencies.
larzsession
Signed, timestamped cookie sessions + CSRF tokens (HMAC), no server-side store. Pure Python, zero dependencies.
larzmetrics
Application metrics (counters, gauges, histograms) with Prometheus text export. Pure Python, zero dependencies.
larzstruct
Data structures the stdlib leaves out: Bloom filter, Trie, union-find (disjoint set), ring buffer. Pure Python, zero dependencies.
larzfaker
Deterministic, seedable fake data (names, emails, money, dates, records) for tests, demos, and seeds. Pure Python, zero dependencies.
larzsubscription
Subscription billing as a state machine: trials, renewals, dunning, proration, cancellation. Exact Decimal money, zero dependencies.
larztotp
TOTP/HOTP two-factor auth codes (RFC 6238/4226) with provisioning URIs. Pure Python stdlib, zero dependencies.
larzledger
Exact double-entry accounting in pure Python: balanced debits/credits, normal-side balances, trial balance. Decimal money, zero dependencies.
larzws
WebSockets in pure Python — RFC 6455 server and client with framing, masking, ping/pong, and fragmentation. No async, zero dependencies.
larzgraph
Graphs and everyday algorithms (BFS/DFS, Dijkstra, components, topological sort, cycles, SCC) in pure Python. Zero dependencies.
larzmigrate
Schema migrations for SQL (any DB-API) and larzdb: ordered up/down, rollback, checksum drift detection. Pure Python, zero dependencies.
larzbus
In-process pub/sub event bus with wildcard topics, async delivery, and dead-letter handling. Pure Python, zero dependencies.
larzjson
Friendly JSON - human error messages, pretty-print, plain-English structure, zero third-party deps
larztable
Query and render tabular data in one small object: fluent filter/sort/aggregate + pretty terminal tables, CSV, Markdown. Pure Python, zero dependencies.
larzcolor
Terminal color and style that auto-disables on non-TTY/NO_COLOR, so escape codes never leak into pipes or logs. Pure Python, zero dependencies.
larzretry
Resilience - retry with backoff and a circuit breaker for flaky operations, zero dependencies
larztemplate
A tiny template engine - variables, loops and branches, render HTML, zero dependencies
larzpack
Compact MessagePack-compatible binary serialization with canonical, deterministic output. Pure Python, zero dependencies.
larzpdf
Money-native PDF documents in pure Python: invoices, receipts, and flowing documents with exact decimal totals. No reportlab. Zero dependencies.
larztime
Human-friendly durations and relative time from plain numbers, zero dependencies
larzcli
Define a function, get a CLI. Type-hint-driven command-line interfaces with subcommands and CLI-env-default layering. Pure Python, zero dependencies.
larzlog
Structured logging - readable text or JSON logs, level-filtered, with context, zero dependencies
larzlimit
Rate limiting in pure Python: token bucket, sliding & fixed window, per-key, with a decorator and WSGI middleware. Zero dependencies.
larzcron
Cron expression parsing and an in-process scheduler in pure Python. Ranges, steps, names, macros, next/previous, cron + interval jobs. Zero dependencies.
larzconf
Layered, typed application configuration: defaults + files + .env + environment variables. Zero dependencies.
larzhttp
An ergonomic HTTP client in pure Python — requests-style API over urllib, with sessions, JSON, retries, timeouts, gzip. Zero dependencies.
larzstate
Durable, resumable workflows with retries and saga compensation, plus a finite state machine. Pure Python, zero dependencies.
larzrpc
JSON-RPC 2.0 over HTTP, client and server, in pure Python. Decorator to expose functions, attribute-style client, batches, notifications. Zero dependencies.
larzid
Decentralized identity & verifiable credentials in pure Python — self-certifying DIDs and signed claims (Ed25519). No blockchain required.
larzvalidate
Validate input data against a schema with clear errors, zero dependencies
larzvm
A deterministic, gas-metered stack virtual machine in pure Python — a smart-contract / sandboxed script engine. Zero dependencies.
larzvault
Encrypted secrets manager: passphrase-locked vault file (scrypt + ChaCha20-Poly1305) with env injection. Pure Python.
larztask
Durable background job/task queue in pure Python. Retries, backoff, scheduling, priorities, dead-letter, multi-worker. Zero dependencies, no broker.
larzmark
Markdown to HTML plus an SEO-first static site generator (Open Graph, JSON-LD, sitemap). Zero dependencies.
larzdb
Crash-safe, single-file, embedded document + key-value database. ACID, atomic transactions, Mongo-style queries. Zero dependencies.
larzcrypt
Batteries-included pure-Python cryptography: hashing, HKDF, ChaCha20-Poly1305, X25519, Ed25519, ECDSA, JWT, sealed boxes. Zero dependencies.
larzchart
Data to inline SVG charts in pure Python. Line, bar, pie, area, sparkline. No matplotlib. Zero dependencies.
larzcache
Caching in pure Python: LRU + TTL, durable file cache, tiered cache, and a memoize decorator. Thread-safe, zero dependencies.
larzagent
Tiny, zero-dependency AI agent framework: tool-calling loop, function-to-schema tools, and memory over any OpenAI-compatible endpoint.
larzmoney
Exact, penny-perfect money for Python. Integer minor units, never a float. Zero dependencies.
larz
The money-native web framework — payments, paywalls and metering as first-class primitives. Zero dependencies.