39 projects
serpentine-lang
Serpentine: AOT compiler for an ownership-disciplined Python subset (serp CLI)
serp-fang
Fang — Serpentine's httpx-style sync HTTP(S) client: Client/Response/stream, redirects, cookies, auth, forms, JSON, multipart, gzip, streamed downloads (pure Serpentine over serp-socket TLS, dual-runs under CPython)
serpentine-argparse
Serpentine argparse-lite: flags, options, positionals, subcommands and help text in the Serpentine subset
serpentine-io
Serpentine file helpers: read/write text+bytes, line reading, file copy, and a buffered ByteReader (pure Serpentine, dual-runs under CPython)
serp-zlib
Serpentine compression: zlib/raw-deflate/gzip compress+decompress and crc32/adler32 (runtime-backed; stdlib zlib delegate under CPython)
serp-zipfile
Serpentine ZIP archives: read/write stored + DEFLATE entries with CRC verification (pure Serpentine over serp-zlib, dual-runs under CPython)
serp-venom
Venom — Serpentine's FastAPI drop-in: module-level app, @app.get/post decorators with parameter injection (path/query/serp_molt bodies), HTTPException(status_code=, detail=), JSONResponse, TestClient(app), serp_uvicorn.run, event-loop and threaded HTTP servers (pure Serpentine over serp-http-server, dual-runs under CPython)
serp-uuid
Serpentine uuid4 from OS randomness (runtime-backed; stdlib uuid delegate under CPython)
serp-url
Serpentine URL toolkit: url_parse, quote/unquote, quote_plus/unquote_plus, urlencode, parse_query (pure Serpentine, dual-runs under CPython)
serp-tomllib
Serpentine read-only TOML parser (kind-tagged TVal values) written in the Serpentine subset
serp-threading
Serpentine drop-in `threading`: Thread/Timer, Lock/RLock/Event/Semaphore/Condition/Barrier, thread-local storage (runtime-backed; stdlib threading delegate under CPython)
serp-test
Serpentine test library: assertion helpers for `serp test` (pure Serpentine, dual-runs under CPython)
serp-subprocess
Serpentine drop-in `subprocess`: run/check_output/Popen with pipes, timeouts, env and shell (runtime-backed; stdlib subprocess delegate under CPython)
serp-structs
Serpentine data-structure helpers: min-heap, bisect, generic deque and counter tallies in the Serpentine subset
serp-strings
Serpentine string helpers: wrap/fill/indent/dedent/padding/expandtabs written in the Serpentine subset
serp-statistics
Serpentine statistics: mean/median/variance/stdev/quantiles written in the Serpentine subset
serp-sqlite
Serpentine drop-in sqlite3 subset: Connection/Cursor over the system SQLite library (runtime-backed; stdlib sqlite3 delegate under CPython)
serp-socket
Serpentine TCP/UDP sockets: connect/listen/accept/send/recv + UDP datagrams with timeouts (runtime-backed; stdlib socket delegate under CPython)
serp-secrets
Serpentine CSPRNG tokens: token_hex/token_urlsafe/randbelow (runtime-backed; stdlib secrets delegate under CPython)
serp-scales
Scales: pandas drop-in DataFrame/Series for Serpentine (pure Serpentine, PyVal columns; groupby, pivot, rolling, query, merge, concat, datetime, CSV/JSON)
serp-re
Serpentine regex subset engine (literals, classes, * + ?, groups, alternation, anchors) written in the Serpentine subset
serp-random
Serpentine random library: drop-in CPython random facade (MT19937, seeded sequences byte-identical under CPython and native builds)
serp-queue
Serpentine drop-in `queue`: thread-safe Queue/LifoQueue with blocking put/get, timeouts, task_done/join (runtime-backed; stdlib queue delegate under CPython)
serp-pathlib
Serpentine path helpers: join/parent/name/suffix/stem/parts plus filesystem queries over serp-os
serp-os
Serpentine OS primitives: env vars, cwd, mkdir/rmdir/remove/listdir (runtime-backed; CPython delegate)
serp-molt
Serpentine data-validation library: a drop-in pydantic v2 replacement written in the Serpentine subset (compiles natively, runs under CPython)
serp-math
Serpentine math library: sqrt/sin/cos/tan/log/exp/pow/floor/ceil + pi/e/inf/nan (runtime-backed; delegates to CPython's math when interpreted)
serp-log
Serpentine logging library: level-filtered loggers with stdout and append-file sinks (pure Serpentine)
serp-itertools
Serpentine drop-in facade for CPython's itertools (lazy iterator classes: count/cycle/repeat/chain/islice/takewhile/...)
serp-http-server
Serpentine minimal HTTP/1.1 server: blocking accept/respond loop with request parsing (pure Serpentine over serp-socket, dual-runs under CPython)
serp-datetime
Serpentine UTC date/time: civil-calendar Dt dataclass, unix conversions, ISO-8601 parse/format (pure Serpentine over serp-time)
serp-coil
Coil: a numpy drop-in for Serpentine — dense float64/int64/bool arrays with numpy-exact printing, broadcasting, reductions, ufuncs and small dense linear algebra
serp-asyncio
Serpentine drop-in `asyncio`: Event/Lock/Semaphore/BoundedSemaphore/Queue over the baton task runtime (run/sleep/create_task/gather/Task are language-level; real asyncio under CPython)
serp-time
Serpentine time library: time()/monotonic()/sleep() (runtime-backed; delegates to CPython's time when interpreted)
serp-json
Serpentine JSON library: loads/dumps written in the Serpentine subset (compiles natively, runs under CPython)
serp-hashlib
Serpentine hash digests: sha256/sha1/md5 hex of UTF-8 text (runtime-backed; stdlib hashlib delegate under CPython)
serp-csv
Serpentine CSV reader/writer with RFC 4180 quoting, written in the Serpentine subset
serp-base64
Serpentine base64/base32/base16 codecs written in the Serpentine subset (str <-> str via UTF-8)
serpentine-shim
Runtime no-op shim for the Serpentine ownership vocabulary (Owned, Ref, Mut, Shared, Weak, move)