Skip to content
amarbaroPublic

About

Index of the amarbaro Mojo libraries: each tested against an oracle, with API docs and an agent skill

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

mojo-libs

Index of the amarbaro Mojo libraries. Each one is its own repository with tests against an oracle, a CI badge, docs/api.md, docs/design.md and an agent skill in skills/.

Install

Every library is a conda package on prefix.dev/amarbaro/amarbaro, named mojo-<name>; the import name is in each README.

pixi init app && cd app
pixi workspace channel add https://conda.modular.com/max https://prefix.dev/amarbaro/amarbaro
pixi add mojo-json

Toolchains: Mojo 1.2 stable; the weekly matrix also builds every library on the current nightly, and reports the ones whose scripts/ci.sh cannot select one (xmojo pins 1.2.0).

library what version toolchain our deps ci
mojo-aio epoll event loop for Mojo: readiness events, timers, non-blocking TCP 0.1.1 mojo>=1.2.0,<1.3 - ci
mojo-amdgpu AMD GPU telemetry for Mojo from sysfs and hwmon, no ROCm needed: VRAM, busy, power, temperature, clocks, KFD holders 0.1.5 mojo>=1.2.0,<1.3 - ci
mojo-args Command-line parsing for Mojo with Python argparse behaviour: subcommands, typed flags, --help 0.1.4 mojo>=1.2.0,<1.3 - ci
mojo-bench Benchmark harness for Mojo with statistics: warmup, auto iteration count, median, MAD, p95, seeded bootstrap CI, compare 0.1.1 mojo>=1.2.0,<1.3 - ci
mojo-bento BentoML's serving core as a Mojo library: an HTTP/1.1 server and typed JSON endpoints that answer like BentoML 1.4 0.1.3 mojo>=1.2.0,<1.3 mojo-aio, mojo-gguf-core, mojo-json, mojo-posix, mojo-safetensors, mojo-systemd ci
mojo-cv Computer vision for Mojo: OpenCV-style 2D ops, calibration, 3D geometry and CAD export, each checked against cv2 5.0 or an exact oracle 0.1.5 max==26.7.0 - ci
mojo-gguf-core Read (mmapped, zero copy) and write GGUF files from Mojo, as gguf-py does 0.1.5 mojo>=1.2.0,<1.3 - ci
mojo-gguf GGUF tooling in Mojo, byte-identical with llama.cpp's converters, quantizer and gguf-py scripts 0.2.1 mojo>=1.2.0,<1.3 mojo-uregex ci
mojo-gzip gzip, zlib and raw deflate for Mojo through the system libz, plus crc32 and adler32 0.1.4 mojo>=1.2.0,<1.3 - ci
mojo-hashlib Hashing and shell quoting for Mojo, byte-identical with Python hashlib and shlex 0.1.4 mojo>=1.2.0,<1.3 - ci
mojo-imkit Immediate-mode GUI for Mojo, composed on the GPU: SDL3 window, FreeType text, widgets as one draw list 0.10.0 max==26.7.0 - ci
mojo-inotify Watch files and directories from Mojo with Linux inotify, pollable 0.1.5 mojo>=1.2.0,<1.3 - ci
mojo-json JSON for Mojo, byte-identical with Python json 0.1.4 mojo>=1.2.0,<1.3 - ci
mojo-log Structured logging for Mojo: levels, key=value fields, text and JSON-lines, stderr/file/journald sinks 0.1.1 mojo>=1.2.0,<1.3 - ci
mojo-msgpack MessagePack encode and decode for Mojo, pure Mojo, zero-copy str and bin views 0.1.1 mojo>=1.2.0,<1.3 - ci
mojo-posix POSIX processes, signals and sockets for Mojo: spawn with cwd/env/pgid, signalfd, poll 0.1.6 mojo>=1.2.0,<1.3 - ci
mojo-proptest Property tests for Mojo: seeded generators, shrinking, a failure that names the seed and the minimal case 0.2.0 mojo>=1.2.0,<1.3 - ci
mojo-pyformat Python-exact number formatting for Mojo: {:.Nf}, {:,}, {:g}, {:%}, rounding on the exact binary value 0.2.2 mojo>=1.2.0,<1.3 - ci
mojo-safetensors Read (mmapped, zero copy) and write safetensors files from Mojo, as the reference does 0.1.5 mojo>=1.2.0,<1.3 mojo-json ci
mojo-sqlite SQLite bindings for Mojo, measured against Python sqlite3 0.1.5 mojo>=1.2.0,<1.3 - ci
mojo-systemd sd_notify for Mojo: READY, STATUS, WATCHDOG, STOPPING to systemd 0.1.4 mojo>=1.2.0,<1.3 - ci
mojo-tokenizers Hugging Face tokenizer.json runtime for Mojo: byte-level BPE (GPT-2, Llama 3, Qwen) 0.1.1 mojo>=1.2.0,<1.3 mojo-json, mojo-uregex ci
mojo-toml TOML 1.1 parser for Mojo, passes the full toml-test suite 0.2.4 mojo>=1.2.0,<1.3 - ci
mojo-uregex Unicode-aware backtracking regex engine for Mojo: \p{L} classes, lookahead, case-insensitive groups, PCRE alternation semantics, built for LLM tokenizers 0.3.3 mojo==1.2.0 - ci
mojo-vattn Flash-attention forward for video DiT self-attention in Mojo, gfx1100 0.1.4 max==26.7.0 - ci
mojo-zstd zstd and lz4 frame compression for Mojo, pure Mojo with no C library 0.2.0 mojo>=1.2.0,<1.3 - ci
xmojo XML for Mojo: parse into structs, stream records, write back, checked against expat 0.2.2 mojo==1.2.0 - ci
mojo-mmap Memory-mapped files for Mojo: zero-copy Span views, read and write, madvise, msync 0.1.3 mojo>=1.2.0,<1.3 - ci
mojo-semver Semantic Versioning 2.0 for Mojo: parse, precedence, bump, match, identical to Python semver 0.1.2 mojo>=1.2.0,<1.3 - ci
mojo-glob Shell-style wildcards for Mojo: fnmatch and glob (recursive **, root_dir), identical to Python 0.1.2 mojo>=1.2.0,<1.3 - ci
mojo-prometheus Prometheus metrics for Mojo: counters, gauges, histograms, summaries with labels, text exposition byte-identical with prometheus_client 0.1.2 mojo>=1.2.0,<1.3 mojo-pyformat >=0.2.0,<0.3 ci
mojo-subprocess subprocess.run for Mojo: capture stdout/stderr, input, timeout, cwd/env, same results as Python 0.1.2 mojo>=1.2.0,<1.3 mojo-posix >=0.1.0,<0.2 ci
mojo-xxhash xxHash for Mojo: XXH32, XXH64, XXH3-64 and XXH3-128 with seeds and streaming, pure Mojo, identical to the reference 0.1.2 mojo>=1.2.0,<1.3 - ci
mojo-csv CSV reader/writer with CPython csv parity 0.1.2 mojo>=1.2.0,<1.3 - ci
mojo-uuid RFC UUID values, parsing, formatting and generation for Mojo 0.1.2 mojo>=1.2.0,<1.3 mojo-hashlib >=0.1.2,<0.2 ci
mojo-base64 Base16/32/64 encode/decode matching CPython base64 0.1.2 mojo>=1.2.0,<1.3 - ci
mojo-tls TLS 1.3 and 1.2 client and server for Mojo, with X.509, in pure Mojo: no OpenSSL, no C library 0.1.2 mojo>=1.2.0,<1.3 mojo-aio ci
mojo-struct Pack and unpack binary data like CPython struct 0.1.0 mojo>=1.2.0,<1.3 - ci
mojo-zip zipfile read/write for Mojo, pure Mojo: stored + deflate (zlib port), zip64, CRC, CPython zipfile behaviour 0.1.0 mojo>=1.2.0,<1.3 - ci
mojo-supervision Roboflow supervision ported to Mojo, each op checked against Python supervision 0.1.1 mojo>=1.2.0,<1.3 mojo-cv, mojo-gzip, mojo-json ci

Tools (command-line programs, not libraries): mojo-ablate, behavior steering for local models in Mojo: directions, rank-1 edit, TPE, BF16 bake.

The table is generated from each library's pyproject.toml by tools/gen.mojo; scripts/check.sh fails when it is stale, and scripts/check.sh --write refreshes it. Toolchain is the pin the library builds with; "our deps" are other libraries from this table.

Every library follows one checklist from plan to publish: file layout, memory-capped builds, docs and skill, stable and nightly Mojo, review. Its mechanical half is mojo-lib-audit.

License

Apache-2.0, see LICENSE.

About

Index of the amarbaro Mojo libraries: each tested against an oracle, with API docs and an agent skill

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages