altunyurt / hpredis
A drop-in replacement for hiredis-py, written in Mojo, with a zero-copy highway mode for bulk payloads.
Over time
2026-10-07 to 2026-10-12; peak 3,595 lines
2026-10-07 to 2026-10-12; 69 commits, counted up by commit date
mojo_issues hasn't read this repository's issues and pull requests yet.
Dependencies
Declared in its manifests at HEAD (toolchain left out): fakeredis, hiredis, ipython, numpy, pandas, polars, pyarrow, pytest, pytest-memray, redis, ruff, ty.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| adarshsoloman/pyromojo | Native Mojo implementations of Python libraries, with correctness testing and reproducible performance benchmarks. | 86% |
| lee101/mojojojo-compiler | A Mojo-native, hybrid compiler for arbitrary Python | 84% |
| pavelhorak/pion | Pion โ A Redis-compatible key-value store in Mojo | 84% |
| thatstoasty/gojo | Experiments in porting over Golang stdlib into Mojo. | 84% |
| ormeilu/mojo-requests-poc | Pure Mojo implementation of Python's requests library (Proof-of-Concept) | 84% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
1 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
| Date | Tag | Name | From | Mojo version | Commit |
|---|---|---|---|---|---|
| 2026-10-11 | v0.2.0 | – | git tag | 1.1.0 | 402bcaad56 |
| 2026-10-11 | v0.1.12 | – | git tag | 1.1.0 | e88e45378f |
| 2026-10-11 | v0.1.11 | – | git tag | 1.1.0 | ab23278f20 |
| 2026-10-11 | v0.1.10 | – | git tag | 1.1.0 | 85bd7c5522 |
| 2026-10-11 | v0.1.9 | – | git tag | 1.1.0 | 808feb1f38 |
| 2026-10-11 | v0.1.8 | – | git tag | 1.1.0 | 7dcdc3e3cf |
| 2026-10-10 | v0.1.7 | – | git tag | 1.1.0 | e7831c093c |
| 2026-10-09 | v0.1.6 | – | git tag | 1.1.0 | 0686f16d0d |
| 2026-10-09 | v0.1.5 | – | git tag | 1.1.0 | 0eec1f95e5 |
| 2026-10-09 | v0.1.4 | – | git tag | 1.1.0 | f5091bc3ec |
| 2026-10-09 | v0.1.3 | – | git tag | 1.1.0 | 1503ffcc46 |
| 2026-10-08 | v0.1.2 | – | git tag | 1.1.0 | a827c37c96 |
| 2026-10-08 | v0.1.1 | – | git tag | 1.1.0 | e0ad9608b7 |
| 2026-10-08 | v0.1.0 | – | git tag | 1.1.0 | 39aecc6b4d |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-10-07 | mojo_version | – | 1.1.0 | f88ec6bc35 |
| 2026-10-07 | tooling | none | uv | f88ec6bc35 |
Commits
Commit types: Feature 4% · Fix 10% · Mojo version 1% · Refactor 3% · Performance 36% · Docs 16% · Tests 1% · Build and chores 13% · Other 14%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-10-12 | b67ac97e1f | Docs | docs: name the highway terms in a table | 3,595 | uv | 1.1.0 |
| 2026-10-11 | 4b0e72933e | Docs | docs: no wheels are published; show how to build and install one | 3,593 | uv | 1.1.0 |
| 2026-10-11 | 3af10bbef6 | Docs | docs: say when highway pays off (many payloads, not a single bulk) | 3,593 | uv | 1.1.0 |
| 2026-10-11 | 402bcaad56 | Build and chores | release: bump version to 0.2.0 | 3,593 | uv | 1.1.0 |
| 2026-10-11 | 5d6381128e | Build and chores | chore: strip trailing whitespace, drop a historical 'now' in drain docs | 3,593 | uv | 1.1.0 |
| 2026-10-11 | f13694d3f7 | Docs | docs: feature comparison by capability, metadata out of the table | 3,593 | uv | 1.1.0 |
| 2026-10-11 | e88e45378f | Performance | perf: native pack_command in the core | 3,593 | uv | 1.1.0 |
| 2026-10-11 | b0e88455f8 | Performance | perf: pack_command joins buffer objects without copying | 3,326 | uv | 1.1.0 |
| 2026-10-11 | 5be324b61e | Docs | docs: drain() and close() are hpredis extensions, not hiredis API | 3,326 | uv | 1.1.0 |
| 2026-10-11 | 1245bac0c4 | Docs | docs: rewrite README around per-feature samples | 3,326 | uv | 1.1.0 |
| 2026-10-11 | f842403a59 | Docs | docs: note the Redis server drift pitfall in the benchmark README | 3,326 | uv | 1.1.0 |
| 2026-10-11 | ce6ffbb723 | Performance | bench: run redis-py's benchmarks with hpredis slid in | 3,326 | uv | 1.1.0 |
| 2026-10-11 | b4efbc4c76 | Tests | test: drive redis-py's sync and async hiredis parsers with hpredis | 3,326 | uv | 1.1.0 |
| 2026-10-11 | ab23278f20 | Docs | docs: add runnable examples (drop-in, numpy, Arrow/pandas/polars, FT.SEARCH) | 3,326 | uv | 1.1.0 |
| 2026-10-11 | 53e8d6b644 | Build and chores | chore: drop stale comments, unused test helper and generated metadata | 3,326 | uv | 1.1.0 |
| 2026-10-11 | 1a85f27d60 | Performance | perf: fast container-count parse in the scan path too | 3,328 | uv | 1.1.0 |
| 2026-10-11 | 01fa1486b8 | Performance | perf: fast container-count parse in _parse_node | 3,328 | uv | 1.1.0 |
| 2026-10-11 | 73bea40a57 | Docs | docs: FT.SEARCH highway recipe | 3,283 | uv | 1.1.0 |
| 2026-10-11 | 4101707b0a | Feature | feat: zero-copy Arrow binary_view import (hpredis.arrow) | 3,283 | uv | 1.1.0 |
| 2026-10-11 | 1d728322e4 | Feature | feat: highway_ints / highway_floats / highway_gather table decoders | 3,207 | uv | 1.1.0 |
| 2026-10-11 | 8f3507cecc | Performance | bench: print the legend (unit, statistic, scope) with every run | 2,924 | uv | 1.1.0 |
| 2026-10-11 | 85bd7c5522 | Build and chores | chore: move the CRLF scan benchmark to src/benchmark/ | 2,924 | uv | 1.1.0 |
| 2026-10-11 | a1551b3708 | Build and chores | chore: move the benchmark matrix to src/benchmark/ | 2,790 | uv | 1.1.0 |
| 2026-10-11 | 808feb1f38 | Performance | perf: make highway a comptime parameter of _scan_stack | 2,790 | uv | 1.1.0 |
| 2026-10-11 | 7dcdc3e3cf | Performance | perf: record highway slices in the resumable scan (chunked one-pass) | 2,785 | uv | 1.1.0 |
| 2026-10-11 | 2ed6d2213f | Performance | perf: raw-pointer fast path for +, :, $ replies; has_data/len in the core | 2,719 | uv | 1.1.0 |
| 2026-10-10 | e7831c093c | Performance | perf: core-owned feed โ no Python frame on the socket-read path | 2,572 | uv | 1.1.0 |
| 2026-10-10 | 51e4206676 | Performance | perf: core-owned gets โ no Python frame on the reply path | 2,497 | uv | 1.1.0 |
| 2026-10-10 | fe174744be | Performance | perf: read gets/drain int arguments off the raw pointer | 2,391 | uv | 1.1.0 |
| 2026-10-10 | 4af2161076 | Performance | perf: keep arena capacity across batches; call container helpers directly | 2,379 | uv | 1.1.0 |
| 2026-10-10 | 3a0553035a | Performance | perf: raw fastcall methods and one-call gets; drop the prefetch queue | 2,347 | uv | 1.1.0 |
| 2026-10-09 | 0686f16d0d | Performance | perf: call CPython helpers through external_call, not the binding object | 2,269 | uv | 1.1.0 |
| 2026-10-09 | 0eec1f95e5 | Performance | perf: scan stack for nested containers spanning chunks | 2,244 | uv | 1.1.0 |
| 2026-10-09 | af849161d3 | Performance | perf: resumable completeness scan for chunked highway replies | 2,168 | uv | 1.1.0 |
| 2026-10-09 | 07cadd66e6 | Performance | perf: resumable scan for chunked maps and sets | 2,158 | uv | 1.1.0 |
| 2026-10-09 | 9ec6d4865f | Performance | perf: direct error factory in drain; cache hot-path refs; deletion pass | 2,146 | uv | 1.1.0 |
| 2026-10-09 | b19dc2cf90 | Fix | fix: hiredis parity for oversized lengths, verbatim replies, highway ints | 2,066 | uv | 1.1.0 |
| 2026-10-09 | f5091bc3ec | Refactor | refactor: drop the dead non-tuple guard in _handle_gets_result | 2,043 | uv | 1.1.0 |
| 2026-10-09 | 06af221361 | Build and chores | chore: ignore the gecici scratch directory | 2,043 | uv | 1.1.0 |
| 2026-10-09 | 8a53bccad3 | Performance | perf: parse clean containers in prefetch; latch drained replies | 2,043 | uv | 1.1.0 |
| 2026-10-09 | 1503ffcc46 | Performance | perf: reapply POD error codes and 64-bit table stores | 2,027 | uv | 1.1.0 |
| 2026-10-09 | 2567949a17 | Docs | docs: rewrite README; make the redis-py drop-in route work | 1,960 | uv | 1.1.0 |
| 2026-10-08 | a827c37c96 | Fix | fix: never raise in Reader.__del__; rebuild a stale extension | 1,960 | uv | 1.1.0 |
| 2026-10-08 | e0ad9608b7 | Performance | perf: cap drain, merge scanners, structural highway table, POD errors | 1,960 | uv | 1.1.0 |
| 2026-10-08 | 39aecc6b4d | Fix | fix: match hiredis maxbuf semantics and unhashable-key errors | 1,997 | uv | 1.1.0 |
| 2026-10-08 | dd12c6d1c7 | Feature | added pytest-memray for testwise limiting max used memory | 1,978 | uv | 1.1.0 |
| 2026-10-08 | e4311cfbe5 | Build and chores | build: make the repo self-contained (no untracked dev/ needed) | 1,978 | uv | 1.1.0 |
| 2026-10-08 | 7967300e4e | Performance | perf: batch and C-build error replies; direct exception propagation | 1,978 | uv | 1.1.0 |
| 2026-10-08 | c46db6c874 | Fix | fix: hiredis parity for doubles, counts, drain, pushes; faster feed/parse | 1,868 | uv | 1.1.0 |
| 2026-10-08 | 4456c8549d | Fix | fix: segfault on huge lengths, leaks, RESP3 gaps; resumable chunk scan | 1,707 | uv | 1.1.0 |
The latest 50 of 69 commits; all of them are in the JSON.