Low-RAM ASGI HTTP server with a Zig backbone.
Project description
saltare
Low-RAM ASGI HTTP server with a Zig backbone. An alternative to uvicorn for FastAPI deployments where memory budget matters more than raw throughput.
Status: 1.5.0 — operational depth + distribution reach. Carries the v1.4 baseline (body streaming, cgroup awareness, mimalloc default,
sendfile(2), full compression suite gzip/brotli/zstd, 414/431 caps, W3Ctraceparent, Prometheus latency histogram,--reload, Django integration) and adds: musllinux wheels (Alpine),/debug/dispatchJSON introspection endpoint (no GIL) with Bearer-token gate (--dispatch-token),SIGHUPhot config reload (rate_limit_*,max_connections_per_ip,access_logswap from akey=valuefile without restart), compression counters on/metrics(saltare_response_compression_total{encoding}+_bytes_in_total+_bytes_out_total+_skipped_total{reason}),process_*Prometheus metrics (process_open_fds,process_cpu_seconds_total,process_start_time_seconds— Grafana / Prom-client conventions), pytest-rerunfailures for the previously-flakytest_streaming(3 reruns instead of skip), production runbook + day-2 ops table in README,make smoke-alpine(real Alpine container smoke test against the freshly-built musllinux wheel),make soak(sustained-load RSS-drift gate, defaults 1800 s @ 200 rps),--ktls(kernel TLS offload via OpenSSL ≥ 3.0 — closes the v1.4 sendfile-over-HTTPS gap; off by default). v1.4-cycle bug fixes (sendfile HEAD strip, supervisor SIGTERM forwarding,_pending_sendfilescleanup, encoder-param warnings, codec probe safe defaults, sendfile/head-write EINTR retry) all rolled forward.
Status: 1.4.0 (historical entry) — body streaming + cgroup awareness + mimalloc default +
sendfile(2)+.pycembed + tracemalloc cache + full compression suite (gzip single-shot + streaming, brotli, zstd) + 414 / 431 caps + W3Ctraceparentpropagation + Prometheus latency histogram. Production target is Linux x86_64. v1.4 lifts the long-standing 16 KiB body cap: when an incoming request'sContent-Lengthexceeds the read buffer, the dispatcher engages an ASGI-streaming path — the user app seeshttp.request {body=chunk, more_body=True}events and saltare reads + pushes more chunks as the kernel hands them over. Per-task RAM stays bounded by the dispatcher's 64 KiB backpressure threshold regardless of declared body length (was: 413 above 16 KiB). Plus: cgroup-v2 memory awareness auto-tunesmax_concurrent_connectionsfrom/sys/fs/cgroup/memory.maxwhen running under k8sresources.limits.memory, mimalloc is the defaultLD_PRELOADinDockerfile.production,saltare.sendfileASGI extension for zero-copy static-asset paths (sendfile(2)syscall, plain-HTTP only), 5-secondtracemallocsnapshot cache,.pycprecompile inDockerfilebuilder stage, full compression matrix: lazydlopen("libz.so.1")at src/zig/zlib.zig wired into--response-gzip(single-shot and chunked-streaming viaZ_SYNC_FLUSH) +--request-decompression, lazydlopen("libbrotlienc.so.1")at src/zig/brotli.zig wired into--response-brotli, lazydlopen("libzstd.so.1")at src/zig/zstd.zig wired into--response-zstd. Server-preference ordering (br > zstd > gzip) negotiates per-request fromAccept-Encodinghonouringq=0and*per RFC 7231 §5.3.4. Hardening:--max-request-urireturns 414 URI Too Long (default 8192 B),--max-request-head-bytesreturns 431 Request Header Fields Too Large. Observability:--latency-histogramemitssaltare_request_duration_seconds_bucketwith 14 fixed buckets (1 ms..60 s) on/metrics,--traceparent-propagationsurfaces W3C Trace Context onscopeand echoes back. Framework integrations:pip install saltare[django]adds src/saltare/contrib/django/ — drop"saltare.contrib.django"intoINSTALLED_APPSandmanage.py runserverruns your project under saltare (ASGI) instead of wsgiref, with autoreload + staticfiles preserved. Dev autoreload:--reloadwatches code andSIGTERMs + respawns the child on change (poll-based, noinotifydep — works inside containers / overlayfs / NFS). Saltare is the leanest of the three benchmarked ASGI servers — 46.52 / 45.24 / 45.29 MiB, vs uvicorn 48.91 / 49.86 / 54.55 MiB and Granian 52.90 / 50.26 / 49.78 MiB on the same host. Tests 66 core + 10 v1.3 + 8 v1.4 zlib + 11 v1.4 extras + 4 v1.4 sendfile (tests/test_v14_*); 99 total. Build is clean on Zig 0.16.0.
v1.4.x candidates (still pending)
- WebSocket per-message-deflate (RFC 7692) — handshake negotiation + per-message inflate/deflate state across
ws.zigframe builder. The HTTP path's zlib infra is reusable; the missing piece is the rsv1 / rsv-bit handling on the wire and the negotiation ofclient_no_context_takeover/server_no_context_takeoverin the upgrade response. - Streaming brotli + zstd — only the gzip path supports
Z_SYNC_FLUSHchunk-wise. brotli + zstd are single-shot for now; streaming-encode requires per-state encoder objects carried across_sendcalls (analogous to_gzip_co). - Free-threaded Python (
cp314t) evaluation, static-link OpenSSL build, HTTP/2 + ALPN — v1.5 candidates.
Status: 1.3.0 — lazy TLS + ~40 operational knobs, leanest of three (historical entry). Production target is Linux x86_64. v1.3 lands ~30 orthogonal features. RAM-floor cuts (default-on): lazy OpenSSL via
dlopen,mallopt(M_ARENA_MAX=1, M_TRIM_THRESHOLD=64K, M_TOP_PAD=64K, M_MMAP_THRESHOLD=64K),MALLOC_ARENA_MAX=1in the CLI re-exec env, gatedPYTHONOPTIMIZE=2auto re-exec, URL decode moved to Zig (dropsurllib.parseimport),tracebacklazy-imported (drops ~150 KiB),TCP_NODELAY+SO_KEEPALIVEon every accepted socket, periodicgc.collect(2)+malloc_trim(0)after 3 s of idle,gc.freeze()re-trigger inside the idle-maintenance pass. Operational knobs (opt-in, zero RAM when off):health_path,cors_preflight_allow_all, IPv6 listen (auto-detect fromhost), per-IP rate limiter,max_connections_per_ip,max_connection_lifetime,tracemalloc_path,favicon_204,access_log_path,request_id_header,server_timing,listen_backlog,tcp_keepidle/tcp_keepintvl/tcp_keepcnt,tcp_user_timeout_ms,auto_raise_nofile,tls_session_cache_size,startup_request(warm app),server_header(white-label / hide identity),proxy_protocol(v1 + v2 binary auto-detect — required behind L4 LBs), systemd socket activation (LISTEN_FDS=1),SIGUSR1JSON stats dump,workers=0auto-detectscpu_count(). Bug fixes / RFC compliance: WebSocket subprotocol (Sec-WebSocket-Protocolwas always being dropped), HTTP trailers (http.response.trailerswas silently ignored), HTTP/1.1 mandatoryHostvalidation, header-nametcharvalidation (RFC 7230 §3.2.6 — defends against\0/CRLF smuggling), HEAD method body strip (RFC 7230 §3.3.3 — same headers as GET, no body). Combined: saltare is the leanest of the three benchmarked ASGI servers — 46.4 / 45.4 / 45.4 MiB, vs uvicorn 49.30 / 49.51 / 54.68 MiB and Granian 57.18–57.71 MiB on the same host. Tests 66 passing core + 10 new intests/test_v13.py. Most v1.3 features are opt-in: defaults match v1.2.2 behaviour at zero RAM cost.
Why
uvicorn is fast and battle-tested, but a typical worker (Python + asyncio + FastAPI + your code) sits around 60–90 MB resident before the first request. A meaningful chunk is asyncio bookkeeping: Transport/Protocol/Task/Future objects per connection, plus Python bytes buffers.
saltare keeps these in Zig:
| Layer | uvicorn | saltare |
|---|---|---|
| Event loop | asyncio (Python) | epoll / kqueue (Zig) |
| Socket I/O | asyncio Transport | direct read/write (Zig) |
| HTTP/1.1 parser | httptools (C) |
hand-rolled (Zig) |
| Per-connection state | Python objects (~KB) | Zig structs (~hundreds B) |
| ASGI app callable | Python | Python (unchanged) |
Python only wakes up to dispatch a request to the user's ASGI app.
Architecture
PyInit__core
│
┌──────────────────────┴──────────────────────┐
│ │
[ Python ] [ Zig core ]
saltare.run(app) ─── _core.serve ───► bind / listen
saltare CLI epoll accept loop
HTTP/1.1 parser
chunked decoder
TLS via OpenSSL
WebSocket framing
timer wheel (idle
timeouts)
│
dispatch_request ◄─────┘
app(scope, receive, send) ─────────────────► send()/receive()
backed by Zig sockets
Benchmarks
Run with make bench (Docker; no Zig or Python needed on the host). The harness boots each server with the same FastAPI app, takes a /proc/<pid>/status reading at idle, drives a load with httpx, and samples VmRSS every 10 ms during the load to capture peaks. Granian (Rust + Python ASGI) is included as a third comparison point alongside uvicorn so saltare-vs-uvicorn isn't taken in isolation.
Optional extra workloads (off by default — pass through docker run):
# A 5000-conn idle-keepalive workload + a 1000-request /large workload.
docker run --rm saltare-bench python -m benchmarks.bench \
--high-conc-idle 5000 --large-requests 1000
# Increase the /large response size beyond 100 KiB (default).
docker run --rm -e BENCH_LARGE_BYTES=1048576 saltare-bench \
python -m benchmarks.bench --large-requests 200
Results on x86_64 (manylinux_2_28_x86_64 inside Docker, CPython 3.14.4, FastAPI 0.136, pydantic 2.13, uvicorn 0.x plain — no [standard] extras, granian 2.x ASGI), v1.4.0 with default settings (single worker except where noted). Same host, same image. Each server's launcher imports the FastAPI app at module level so RSS readings reflect the same import footprint — without that normalisation, granian's master appears artificially small (~37 MiB) because it spawns a worker subprocess that holds the actual app, and the bench harness reads the master's /proc/<pid>/status.
Sequential — 1 client, 1000 requests
| server | idle RSS | RSS after load | peak RSS | reqs ok | rps |
|---|---|---|---|---|---|
| saltare | 46.19 MiB | 46.32 MiB | 46.32 MiB | 1000 | 1051 |
| uvicorn | 48.41 MiB | 48.46 MiB | 48.46 MiB | 1000 | 1240 |
| granian | 56.87 MiB | 56.87 MiB | 56.87 MiB | 1000 | 1109 |
Concurrent — 100 clients × 20 requests (2000 total)
| server | idle RSS | RSS after load | peak RSS | reqs ok | rps |
|---|---|---|---|---|---|
| saltare | 44.68 MiB | 44.97 MiB | 45.00 MiB | 2000 | 1881 |
| uvicorn | 48.36 MiB | 49.34 MiB | 49.34 MiB | 2000 | 1849 |
| granian | 50.83 MiB | 50.83 MiB | 50.83 MiB | 2000 | 1760 |
Idle keep-alive — 500 connections held open
| server | idle RSS | RSS after load | peak RSS | reqs ok | conn rate |
|---|---|---|---|---|---|
| saltare | 44.71 MiB | 45.05 MiB | 45.05 MiB | 500 | 1334 |
| uvicorn | 48.56 MiB | 53.93 MiB | 53.93 MiB | 500 | 1412 |
| granian | 49.86 MiB | 49.86 MiB | 49.86 MiB | 500 | 943 |
Multi-worker idle — Pss across the whole cluster (saltare only)
| workers | observed | master Pss | Σ workers Pss | total Pss | vs naive N× single |
|---|---|---|---|---|---|
| 1 | — | 39.58 MiB | 0.00 MiB | 39.58 MiB | — |
| 4 | 4 | 14.61 MiB | 39.26 MiB | 53.88 MiB | 158.31 MiB (−66%) |
Pss (Proportional Set Size, from /proc/<pid>/smaps_rollup) accounts for shared CoW pages — summing across master + N workers gives the real physical RAM of the cluster, not the inflated Σ RSS you'd get by counting each shared page N times. The "naive N× single" column is what the cluster would cost if every worker was a fresh independent process (no CoW / no gc.freeze()); saltare sits at 34% of that — 4 workers add only ~4.85 MiB Pss per worker beyond the first, vs tripling the floor. Granian uses a different supervision model (multiprocessing.spawn, not pre-fork-CoW), so the harness doesn't include it in this column.
saltare is the leanest of the three on every workload. v1.3 ships ~17 orthogonal features, most opt-in and zero-RAM-cost when off. The default-on changes (lazy TLS,
malloptarena cap withMALLOC_ARENA_MAX=1injected into the CLI re-exec env, gatedPYTHONOPTIMIZE=2re-exec,TCP_NODELAY+SO_KEEPALIVEon accept, URL decode in Zig) trim the floor; the opt-in features (health/CORS/favicon intercepts, rate limiter, tracemalloc, request-id, server-timing, trailers, access-log file, per-IP conn cap, IPv6) all default off. Saltare leads granian by 10.8–11.7 MiB and uvicorn by 2.2–9.0 MiB on this run. Throughput is competitive — saltare beats both peers on concurrent, trails uvicorn slightly on sequential. Where saltare's architectural advantage shows most: idle-keepalive 500 conns adds +0.23 MiB to saltare (~470 B/conn) vs uvicorn's +5.38 MiB (~11 KiB/conn) and granian's 0.00 MiB — only uvicorn pays per-connection cost at idle.
v1.2.2 vs v1.2.1 on the same host (saltare-only A/B)
To isolate v1.2.2's effect from the FastAPI / Python version bump that lifted the floor across both servers, the bench harness was run twice in a row, same Docker image, swapping only saltare's source.
| workload (saltare peak RSS) | v1.2.1 baseline | v1.2.2 | delta |
|---|---|---|---|
| sequential | 45.70 MiB | 46.43 MiB | +0.73 MiB |
| concurrent | 45.44 MiB | 45.12 MiB | −0.32 MiB |
| idle-keepalive | 45.05 MiB | 44.59 MiB | −0.46 MiB |
| 1-worker Pss | 39.57 MiB | 40.47 MiB | +0.90 MiB |
| 4-worker per-extra Pss | 4.64 MiB | 4.51 MiB | −0.13 MiB |
Mixed signs, all within run-to-run noise (~±1 MiB on the worker baseline; glibc heap layout shifts between fresh python -m benchmarks.bench invocations). v1.2.2 is not a benign-workload RAM reduction — the gains land under streaming / WebSocket abuse that the harness doesn't exercise. Absolute rps in both runs is roughly half the v1.2.0 README numbers (sequential ~1000–1300 here vs 2447 there) because the host was a busy developer laptop rather than a clean CI box; the saltare/uvicorn ratio is unchanged.
Optional bench workloads
The harness now supports two extra workloads off by default. Pass through docker run:
# Large-response workload: 1000 GETs against /large (default 100 KiB body).
docker run --rm saltare-bench python -m benchmarks.bench --large-requests 1000
# Crank the response size to 1 MiB:
docker run --rm -e BENCH_LARGE_BYTES=1048576 saltare-bench \
python -m benchmarks.bench --large-requests 200
# 5000-conn idle-keepalive (needs `ulimit -n` headroom on the host):
docker run --rm --ulimit nofile=65535 saltare-bench \
python -m benchmarks.bench --high-conc-idle 5000
These exercise the v1.2.2 streaming backpressure (large-response) and the per-connection slope at scale (5000 idle conns) that the default workload doesn't touch.
Read this honestly:
- Per-connection slope vs uvicorn: 500 idle connections cost saltare +0.24 MiB (~490 B/conn) vs uvicorn's +5.37 MiB (~11 KiB/conn). That's a ~22× per-connection memory saving vs uvicorn for a realistic workload (clients that hold connections open between bursts of activity). Granian adds essentially nothing (
+0.00 MiB), so on per-conn slope saltare and granian are both comparable; saltare leads on the floor and on uvicorn-vs-anyone. - The reason: saltare's
pool.zigbundles the 16 KiB read buffer and the per-request headers array into a single pool node, returned to a free list as soon as a keep-alive connection goes idle. uvicorn's asyncio Transport keeps its per-connection buffers and Protocol/Task state alive for the lifetime of the socket. - The floor dropped ~2 MiB between v0.12.0 and v0.12.1 thanks to a
malloc_trim(0)call after lifespan startup — glibc returns the fragmented heap left over from the FastAPI/Pydantic import chain to the OS in one syscall. Sequential idle went from 45.56 MiB to 43.15 MiB. - Throughput parity (concurrent): saltare 3790 rps vs uvicorn 3951 rps — within ~4%. The remaining gap is primarily
httptools(uvicorn's tuned C parser) and uvicorn's tighter asyncio integration vs the bridge-driven dispatch. - Streaming dispatch (v0.12) cost a few percent on sequential because every HTTP request now runs as a long-lived asyncio Task with a per-request
recv_queueandoutgoinglist. Sequential RPS sits at ~2316 (was 2599 pre-streaming); concurrent and idle-keepalive workloads were largely unaffected because they were already gated by other costs. The new architecture pays off as soon as response sizes go up: a streaming endpoint that emits 10 MiB across 100 chunks now keeps RSS flat instead of buffering the whole 10 MiB in Pythonbytes— a saving the bench harness above doesn't measure (its FastAPI app returns ~30 bytes). - v0.16 buffer adaptivity is also bench-invisible. Read buffers shrink from 16 KiB → 4 KiB for the typical short request, saving ~12 KiB per in-flight request — but the bench's FastAPI app receives sub-1 KiB requests, so even the v0.15 16 KiB buffer was nearly empty. Wins show up in: services with high concurrency of small requests (savings compound across hundreds in-flight) and bursty traffic with valleys (
MADV_DONTNEEDreturns long-idle committed pages to the kernel after 30 s, so RSS shrinks back toward the floor instead of staying at peak forever). - The remaining ~42 MiB floor is Python + FastAPI itself. No userland server can shrink that without changing what the user app loads. Python 3.14 raises this floor a few MiB versus 3.12 because 3.14 imports more stdlib eagerly. Setting
MALLOC_ARENA_MAX=2in the environment shaves another 5–15 MiB on multi-threaded glibc systems (see Production deployment).
Where saltare's architectural win shows up most: long-lived idle connections (the WebSocket and keep-alive workloads above), very high concurrency (10k+ open sockets), and large streamed responses (file downloads, SSE, JSON over MB).
Roadmap
-
v0.1.0 — Build pipeline.
saltare._coreextension built with Zig viascikit-build-core. Listening socket + accept loop in Zig. Single fixed HTTP response. Local Docker build + cibuildwheel CI. -
v0.2.0 — HTTP/1.1 request parser in Zig (request line, headers,
Content-Lengthframing). Server echoes method + target back so the parser is observable end-to-end. Zero allocations per request. -
v0.3.0 — ASGI dispatcher. Persistent
asyncioloop reused across requests; per-requestloop.run_until_complete. Zig calls into Python via the C API only at dispatch time. FastAPI runs end-to-end (path params, JSON bodies, 404). No lifespan, no keep-alive, no streaming yet. -
v0.4.0 — Non-blocking event loop (epoll on Linux). Per-connection state machine in Zig with heap-allocated structs. Multiple connections progress in parallel; ASGI dispatch is the GIL serialization point. macOS (kqueue) raises
@compileErroruntil v0.4.x. -
v0.5.0 — HTTP/1.1 keep-alive. Persistent connections reset their state machine in place (read buffer compacted, write buffer freed, epoll switched back to read interest). Pipelined requests handled inline without an extra epoll round-trip.
-
v0.6.0 — Pooled read buffers. Idle keep-alive connections release their 16 KiB read buffer back to a shared pool; the next read event re-acquires one. RSS now scales with in-flight requests, not with open connections. Result: ~5× less per-connection memory than uvicorn at idle.
-
v0.7.0 — ASGI lifespan protocol. The dispatcher creates a long-lived asyncio Task that drives the app through
lifespan.startupbefore the I/O loop accepts connections, and throughlifespan.shutdownafter it stops. Apps usingFastAPI(lifespan=...)now get their startup/shutdown hooks executed. Apps that raise on lifespan scope (no support) are tolerated. -
v0.8.0 — Chunked Transfer-Encoding for request bodies. Decoder runs in place over the read buffer; resumable across kernel reads. Streaming response bodies (true chunked output) still buffer in Python and emit Content-Length — that lands when the dispatcher gets a callback path back into Zig.
-
v0.9.0 — TLS termination via OpenSSL. Pass
ssl_certfile=andssl_keyfile=tosaltare.run()to serve HTTPS. The connection state machine gains ahandshakingphase;doRead/doWriteroute through SSL_read/SSL_write and translate WANT_READ/WANT_WRITE into epoll interest changes. SSL_pending drained between keep-alive cycles.auditwheelbundles libssl/libcrypto into the wheel — self-contained, no host OpenSSL dependency. Single-cert/single-key, server-only (no mTLS, no SNI, no ALPN). -
v0.10.0 — WebSockets. RFC 6455 handshake, single-frame text/binary messages, ping auto-pong, close echo. Frames unmasked in place over the existing 16 KiB read buffer; outbound frames concatenated onto the same
write_bufthat HTTP responses use. Out of scope: continuation frames, message-level fragmentation, per-message deflate. -
v0.11.0 — Per-connection idle timeouts via a hashed timer wheel (
src/zig/timer.zig). Four configurable deadlines (header_timeout,keep_alive_timeout,body_timeout,write_timeout) with defaults of 5/5/30/30 seconds. Slowloris and slow-body attacks are now reaped instead of holdingConnectionstructs indefinitely. Wheel uses 128 buckets of 1 second; nodes are intrusive inConnection(24 B / conn) so arming and cancelling are allocation-free O(1). WS connections are exempt — long-lived idle sockets are expected there; ping/pong-driven WS keepalive lands post-v0.11. -
v0.12.0 — Streaming response bodies. Each HTTP request runs as a long-lived asyncio Task with its own
recv_queueandoutgoinglist; the app'ssend({type: "http.response.body", more_body: True/False})calls flow chunk-by-chunk through the bridge into Zig'swrite_bufinstead of being buffered into a single Pythonbytes. When the app does not declare a Content-Length, saltare addsTransfer-Encoding: chunkedautomatically. Concurrency uses a global "stalled list" of connections whose Task is parked on framework-internal awaits (e.g. FastAPI middleware chains): the main loop runs one global asyncio pump per iteration to advance every parked Task in lockstep, then drains each one — no per-connection multi-pumping, no level-triggered EPOLLOUT spin. Request bodies are still capped to the 16 KiB read buffer (request-side streaming lands in v0.12.x). -
v0.12.1 — Per-connection RAM polish. The
[64]Headerarray previously inlined intoConnection(~2 KiB) is now bundled into the samepool.zigBufferthat holds the read data, so it's released atomically when the connection goes idle: idle keep-alive cost drops from ~2 KiB to ~390 B per connection, taking the per-conn advantage over uvicorn from ~5× to ~28×. Amalloc_trim(0)call afterlifespan.startupreturns ~2 MiB of glibc heap fragmentation (left over from FastAPI/Pydantic imports) to the OS — the sequential-idle floor dropped from 45.56 MiB to 43.15 MiB. README gains a "Production deployment" section recommendingMALLOC_ARENA_MAX=2for another 5–15 MiB. -
v0.13.0 — Resource caps +
Expect: 100-continue. NewLimitsstruct (max_request_body,max_concurrent_connections,max_keepalive_requests) wired intoserve()and the CLI. Body cap fires 413 on declaredContent-Lengthoverflow and on incremental chunked-decode growth. Connection cap accepts overflow sockets (to drain the listen backlog) and immediately closes them. Keepalive-requests cap forcesConnection: closeon the Nth response, recycling pymalloc arenas.Expect: 100-continuewrites the interim response before reading the body, except when the declared body would exceed the cap (in which case the client gets a 413 directly). Caps add zero RAM cost in benign workloads; under adversarial load they convert the architectural advantage into a hard guarantee. -
v0.14.0 — Graceful shutdown + ASGI exception isolation. New
g_drainingatomic flag; the SIGTERM/SIGINT handler sets it (and a second signal promotes to immediate force-exit). Main loop, on first observing drain mode, removes the listen fd from epoll (stops accepting), stamps a deadline, and continues processing in-flight requests — exit happens wheng_active_connsreaches zero orshutdown_timeout(default 30 s) elapses. Idle keep-alive connections drain naturally viakeep_alive_timeout. After the loop exits,lifespan.shutdownruns as before, then the process exits 0. App exceptions during dispatch are caught at the bridge: pre-headers raises produce a synthesized 500, mid-stream raises close the connection — server keeps serving subsequent requests. Tests now 44/44 (5 new intest_shutdown.py, 3 of which exercise real SIGTERM viasubprocess). -
v0.15.0 — Observability + UDS.
Observabilitystruct (metrics_path,access_log,proxy_headers) all opt-in.metrics_path(e.g./metrics) intercepts requests in Zig and serves Prometheus text from atomic counters (saltare_open_connections,saltare_in_flight_requests,saltare_requests_total,saltare_responses_4xx_total/_5xx_total,saltare_bytes_sent_total/_received_total,saltare_process_resident_memory_bytesfrom/proc/self/statuson Linux).access_logemits a JSON line per completed request to stderr from a 4 KiB stack-buffered writer (status line parsed once from the wire bytes; bytes/latency tracked inConnection); a singlewrite(2)keeps lines atomic.proxy_headerslets the dispatcher readX-Forwarded-For(leftmost IP intoscope["client"]) andX-Forwarded-Proto(intoscope["scheme"]); only enable behind a trusted proxy.uds_pathmakesserve()bind anAF_UNIXsocket instead of TCP — the bind path is unlinked on shutdown so restarts don't fail withEADDRINUSE. All four off by default; bench numbers indistinguishable from v0.14. Tests now 50/50 (6 new intest_observability.py). -
v0.16.0 — Adaptive read buffer +
MADV_DONTNEED. The single 16 KiB pool from v0.6–v0.15 splits into two free lists: a 4 KiB primary covering the typical short request, and a 16 KiB overflow used either as the initial buffer for big payloads or as the upgrade target when a partial parse fills the small one (in-flight bytes are memcpy'd across;parsed.headersis invalidated and re-parsed because it pointed into the small buffer's headers array).Buffer.databecomes a[]u8slice (page-allocated via mmap so the OS can later reclaim its pages);Buffer.released_at_nsrecords when a buffer entered the free list. Each main-loop iteration callspool.sweepIdle(monoNs()), which walks both free lists and issuesMADV_DONTNEEDfor any block idle >30 s — page-aligned mmaps mean the kernel actually drops the physical pages. Linux only; macOS short-circuits the sweep. Bench numbers are within noise of v0.15 (the FastAPI bench app sends sub-1 KiB requests, so even the v0.15 16 KiB buffer was nearly empty); the wins manifest in real-world bursty traffic and high-concurrency-low-payload services.Headeroffset compression deferred — too much API churn for the marginal saving. -
v0.17.0 — Stability + Python RAM polish. Replaced the per-request
asyncio.Queuein_HttpStatewith a single-slot mailbox + on-demandFuture: the typical request that doesawait receive()once never allocates a Queue object, an internal deque, or a getters list. Saves ~300 B of GC churn per request, lower transient peak under concurrency, and conceptually simpler dispatcher (fewer asyncio internals to reason about). Also fixed thetest_fastapi_lifespan_startup_runsflake by adding a small retry around the first httpx call — the race was FastAPI's first-dispatch warm-up trip, not saltare itself, and 2 retries make it deterministic in CI. The pre-alpha status note now states explicitly that production is x86_64 Linux — macOS dev-builds still work for everything except the actual server (kqueue still@compileError). -
v0.18.0 — WebSocket keepalive + Python RAM polish. Server now sends an empty
pingframe everyws_keepalive_timeoutseconds (default 20) on each open WS; if no inbound frame (incl. pong) is observed in 2× that window, the connection is reaped. Implemented by reusing the existing timer wheel: WS upgrade arms it, every inbound frame updateslast_activity_ns, andfireExpired's WS branch is now ping-or-teardown rather than just teardown. Plus two Python-side wins: (1) header names are lowercased in Zig in-place insidebuildHeadersListso_dispatcher.pydrops the per-request.lower()list-comprehension and the per-header tuple rebuild it forced; (2) a 16-entry PyBytes cache for common header names (host, user-agent, content-type, etc) avoidsPyBytes_FromStringAndSizeon every cached header. Net: first run where saltare's concurrent rps (4006) edges past uvicorn's (3988), and ~0.2 MiB shaved across all three bench workloads. -
v1.0.0 — Pre-fork multi-worker. New
src/zig/master.zigmodule supervises N forked workers viapause()+waitpid(). Master flow: bind+listen via the existingbindAndListen; fork N children that each run the v0.18 single-worker flow (lifespan startup → accept loop on the inherited fd → lifespan shutdown →_exit); supervise. Children callprctl(PR_SET_PDEATHSIG, SIGTERM)so an SIGKILL'd master doesn't leave orphan workers. v1.0 policy on worker death: propagate shutdown to the rest, return — let the supervisor restart the pod. Each worker keeps its own counters;metrics_pathreports per-worker (aggregate across workers in your scraper). Newworkerskwarg onsaltare.run()and--workers NCLI flag (default 1, single-worker behaviour unchanged). Tests intests/test_multiworker.pyuse subprocess +/proc/<master>/task/.../childrento verify worker spawn, request serving, SIGTERM drain, and unexpected-worker-death propagation. -
v1.1.0 — Multi-worker RAM polish.
gc.freeze()is called once in the master right before the fork loop (and once per single-worker dispatch path, after lifespan startup) so CPython's cyclic-GC bookkeeping doesn't dirty CoW pages on each worker's first sweep — verified: 4 workers cost 51 MiB Pss instead of the naive 150 MiB (~66% saved).http.max_headerslowered from 64 to 32 (typical request has <20; 31 KiB → 1 KiB per active pool buffer worth of[Header]Nstorage). StaticasgiASGI sub-dict cached as a module-level constant, shared across all requests instead of re-allocated. Bench harness gains amulti-worker idleworkload that reports Pss across master + workers, with a "naive N× single" comparison column. -
v1.2.0 — Python hot-path polish. Three orthogonal cuts to per-request work in
_dispatcher.py: (1) module-level free-list pool of_HttpStateinstances with areset(...)method that rewrites every slot — saves the slot-allocation step + GC-tracking overhead per request and reuses theoutgoinglist. (2)receiveandsendcallables converted from per-request closures to bound methods (_HttpState._receive,_HttpState._send) — half the per-instance memory of a closure cell, no per-instance compile, plays well with the pool. (3) Pre-built byte-string constants for the wire format:_SERVER_LINE,_CONNECTION_KEEPALIVE_LINE,_CONNECTION_CLOSE_LINE,_TRANSFER_ENCODING_CHUNKED_LINE,_CHUNKED_TERMINATOR,_CRLF, plus a precomputed status-line cache for every reason code in_REASONS. Each response now references shared bytes instead of rebuildingb"server: " + _SERVER_HEADER + b"\r\n"etc. Net: sequential rps 2335 → 2447 (+4.3%), concurrent peak −0.3 MiB. Multi-worker numbers unchanged from v1.1 (these wins are per-request, multi-worker is per-process). -
v1.2.2 — Worst-case RAM caps + bench / CI / production polish. Source caps: (1) HTTP send-yield backpressure —
_HttpState._sendtracks bytes appended tooutgoingsince the last drain; once the running total crosses_HTTP_SEND_YIELD_BYTES(64 KiB), the next intermediateawait send(...)does anawait asyncio.sleep(0)so the asyncio loop hands control back. Zig's main-loop stalled-pump path harvests viahttp_dispatch_drain, the counter resets, and the app keeps producing — per-task accumulated RAM is now bounded to ~one threshold's worth no matter how many sends a streaming endpoint chains in a row. The yield is skipped on the final chunk (more_body=False) so plain request/response apps never pay it. (2) WebSocket outbound 1 MiB cap —_WsState.outgoing_bytesis a running total; once_WS_OUTGOING_MAX_BYTESis exceeded the connection is markedclosedand further sends drop. (3)_HTTP_POOL_MAXbumped 32 → 128. (4) epoll event array 128 → 64. Bench delta vs v1.2.1 same-host: mixed-sign, within ±1 MiB noise — these are caps, not benign-workload RAM cuts. Plus tooling: (5) Granian added as a third bench comparison point, which surfaced a fact the saltare-vs-uvicorn comparison was hiding: Granian sits ~10–12 MiB below saltare on the floor. Closing that gap is on the v1.3 roadmap. (6)Dockerfile.productionwith jemalloc preloaded +MALLOC_ARENA_MAX=2,make production-image. (7)make valgrindtarget with CPython suppressions for periodic C-API leak checks acrossbridge.zig. (8) Bench harness extra workloads:--large-response,--high-conc-idle 5000. (9) README CoW eager-import doc — workers only stay lean if all imports happen in the master before the fork, and the typical FastAPI footgun (lazyimportin route handlers) is now called out. LTO on the Zig side was attempted but rolled back — Zig 0.16'sBuild.ModuleandBuild.Step.Compileno longer expose an LTO field, and-fLLVM-ltois not wired throughb.standardOptimizeOption; will revisit when a public API lands. -
v1.4.0 — Body streaming + cgroup awareness + mimalloc default +
sendfile(2)ASGI extension +.pycembed + tracemalloc cache + lazy zlib infra. Phase 1 (lift current ceilings): (1) Request body streaming — when declaredContent-Lengthexceeds the read buffer, the dispatcher engages an ASGI streaming path. App seeshttp.request{body=chunk, more_body=True}events and saltare reads + pushes more chunks viahttp_dispatch_push_bodyas the kernel hands them over. Per-task RAM stays bounded by the dispatcher's 64 KiB backpressure threshold instead of the body's declared size — was: 413 above 16 KiB. NewConnection.body_streamingstate +streamReceiveMorehandler.max_request_bodyre-checked incrementally during streaming so adversarial clients can't bypass it. (2) mimalloc default inDockerfile.production(with jemalloc fallback if mimalloc isn't packaged); ~5 MiB lower steady-state vs glibc default. (3)sendfile(2)zero-copy via the newsaltare.sendfileASGI extension — the app emits{"type": "saltare.sendfile", "path": "/var/www/file.bin", "status": 200, "headers": [...]}and the dispatcher signals Zig to extract the path + headers viahttpDispatchPopSendfile. Zig builds the head, callssendfile(2)syscall in a loop honouringEAGAIN, and never copies file bytes through Python. Plain-HTTP only; TLS path 500s gracefully (kTLS not wired). Static-asset endpoints save MiBs per response that would otherwise live in app-heapbytes. Phase 2 (floor reduction): 2.3 + 2.4 already optimised in v1.3 (lazy traceback, gen-0 GC). (6).pycprecompile in theDockerfilebuilder stage (python -OO -m compileall src/saltare ... optimize=2) so__pycache__/*.opt-2.pycis shipped alongside the wheel; first-request import latency drops. Phase 3 (functional gains): (7) lazydlopen("libz.so.1")at src/zig/zlib.zig —gunzip(src, allocator, dst_cap) ?[]u8with zip-bomb cap +gzipEncode(src, allocator, level) ?[]u8with gzip wrapper (15+16window bits). Function-pointer table populated bydlsymon first use; mirrors the TLS pattern. Exposed to the dispatcher as_core.gzip_encode/_core.gunzip. Wired into two opt-in code paths: (7a)--response-gzip— when the request carriesAccept-Encoding: ...gzip...and the response is single-shot, compressible content-type (text/*,application/json,application/javascript,application/xml,image/svg+xml, etc.), and ≥--response-gzip-min-bytes(default 512), saltare gzip-encodes the body, drops the app'sContent-Length, and emitsContent-Encoding: gzip+Vary: Accept-Encoding. The negotiation honoursq=0weights and the*wildcard per RFC 7231 §5.3.4. Streaming responses skip gzip — chunked + per-chunkZ_SYNC_FLUSHis deferred. (7b)--request-decompression— request bodies withContent-Encoding: gzipare decompressed before the app's firstawait receive(), capped atmax_request_body(zip-bomb defense returns 413 on overflow). Both flags are off by default — when off,_core.gzip_encode/_core.gunzipare never called and libz stays unmapped (isAvailable()only fires on first call). Phase 4 (hardening): (5) cgroup-v2 memory awareness — when the operator hasn't explicitly setmax_concurrent_connections, saltare reads/sys/fs/cgroup/memory.max(or v1'smemory.limit_in_bytes), reserves a 64 MiB floor for Python heap + libs, and budgets the rest at 50 KiB per concurrent — auto-cap stays sane under k8sresources.limits.memory. (11) 5-secondtracemallocsnapshot cache —dump_tracemallocpreviously rebuilt a top-30 statistics list on every poll (~10–50 ms blocking the dispatch loop); now caches the rendered bytes for 5 s so monitoring agents on a 1 s scrape interval get cheap reads. Phase 5 (compression suite + ops): (12) Streaming response gzip —_HttpState._gzip_cocarries azlib.compressobj(level, DEFLATED, 31)across_sendcalls; intermediate chunksZ_SYNC_FLUSH, the final chunkZ_FINISH. Apps that emitmore_body=Truenow compress end-to-end (was: streaming responses passed through unchanged in v1.4.0 day-1). (13) Brotli via lazydlopen("libbrotlienc.so.1")at src/zig/brotli.zig +_core.brotli_encode/brotli_decodeexposed to the dispatcher. Single-shot only. Wired into the encoder negotiation. (14) zstd via lazydlopen("libzstd.so.1")at src/zig/zstd.zig +_core.zstd_encode/zstd_decode. Single-shot only. Wired into the encoder negotiation. (15) Encoding negotiation —_negotiate_encoding(value)parsesAccept-Encoding, honoursq=0and the*wildcard per RFC 7231 §5.3.4, and picks per server-preference order br > zstd > gzip when multiple are offered. Disabled encoders are skipped automatically. (16)max_request_uri→ 414 URI Too Long (default 8192 B). Cheaper guard than letting a multi-KiB target hit the routing table. (17)max_request_head_bytes→ 431 Request Header Fields Too Large — explicit cap (the implicit pool-buffer ceiling is ~64 KiB; this lets operators tighten further). (18)traceparent_propagation— W3C Trace Context surfaced onscope["traceparent"]/scope["tracestate"]and echoed back on the response. ~30 B/req when on, zero when off. (19)latency_histogram— Prometheussaltare_request_duration_seconds_bucketwith 14 fixed buckets (1 ms..60 s) +_sum+_count; emitted on/metricsonly when enabled. ~140 B of bucket counters per worker. Bench: 46.52 / 45.24 / 45.29 MiB vs uvicorn 48.91 / 49.86 / 54.55 MiB and granian 52.90 / 50.26 / 49.78 MiB. Tests 66 core + 10 v1.3 + 8 v1.4 zlib + 11 v1.4 extras + 4 v1.4 sendfile = 99 total ✓ on Zig 0.16.0. -
v1.3.0 — Lazy-loaded TLS + ~25 operational knobs, leanest of three. RAM-floor cuts (default-on): (1) OpenSSL link gone at build time —
tls.zigdeclares OpenSSL types asopaque {}, hard-codes ABI constants, and ships a function-pointer table populated bydlopen+dlsymon firstnewContext()call. Plain-HTTP deployments never load libssl/libcrypto. (2)mallopt(M_ARENA_MAX, 1)at module init caps glibc's per-thread arenas. ThesaltareCLI re-exec also injectsMALLOC_ARENA_MAX=1into the child env so even CPython's bootstrap allocations land in a single arena. (3)PYTHONOPTIMIZE=2auto re-exec strips docstrings + asserts from FastAPI / Pydantic / Starlette —SALTARE_NO_OPTIMIZE=1opts out, and_is_saltare_main_entry()gates the re-exec to only fire when this module is the actual main entry. (4) URL decode moved to Zig (http.urlDecode) —_dispatcher.pyno longer importsurllib.parse. (5)TCP_NODELAY+SO_KEEPALIVEon accept — small-response latency loses the Nagle delay; dead peers (NAT timeouts, mobile drops) get reaped by kernel keepalive. Operational knobs (opt-in, zero RAM when off): (6) Health intercept (health_path). (7) CORS preflight intercept (cors_preflight_allow_all). (8) IPv6 listen (auto-detect fromhost,IPV6_V6ONLY=1). (9) Per-IP rate limiter (rate_limit_per_sec,rate_limit_burst) — 4096-IP bounded LRU table, honorsproxy_headers(X-Forwarded-Forleftmost when behind trusted proxy). (10)tracemalloc_pathauto-starts tracking + serves top-30 dump. (11)favicon_204— Zig answersGET /favicon.icowith 204. (12)max_connections_per_ip— TCP-RST over-cap peers; shares the rate-limit table so the per-IP cap costs no extra memory beyond the limiter that's already there. (13)access_log_path— JSON log lines to a file viaO_APPEND | O_CLOEXECinstead of stderr. (14)request_id_header— auto-generates an 8-byte hex ID per request, exposes viascope["x-request-id"], echoes as response header. (15)server_timing=True—Server-Timing: total;dur=<ms>on every response. Tier-3 ops + RAM additions: (16) Aggressivemalloptthresholds (M_TRIM_THRESHOLD,M_TOP_PAD,M_MMAP_THRESHOLDall clamped to 64 KiB at module init) so heap fragmentation returns to the OS more eagerly. (17) Idle-maintenance tick — after 3 s with zero events and zero in-flight requests, the main loop runsgc.collect(2)+gc.freeze()+malloc_trim(0)to recover memory accumulated during the previous burst. Cheap when steady-state, capped to once per idle window. (18)SIGUSR1JSON stats dump to stderr ({"event":"saltare.stats","open_conns":N,"in_flight":M,"requests_total":...,"rss_kib":...,"rl_table_size":...}) — operational diagnostic without an HTTP probe. (19)listen_backlogconfigurable (default 256). (20)tcp_keepidle/tcp_keepintvl/tcp_keepcnttunable cadence on accepted sockets — kernel defaults are too generous for mobile / NAT-heavy fronts. (21)X-Real-IPhonored alongsideX-Forwarded-For(nginx convention; X-Real-IP wins when both are present). (22) HTTP/1.1 mandatoryHost:enforcement — missing or emptyHostheader gets a 400 per RFC 7230 §5.4. (23) systemd socket activation — auto-detectsLISTEN_PID=$$+LISTEN_FDS=1and inherits fd 3 instead of binding; the env is unset so forked workers don't double-activate. (24) HAProxy PROXY-protocol v1 — whenproxy_protocol=True, the first line of every accepted connection is parsed asPROXY <fam> <src> <dst> <sport> <dport>\r\n(TCP4 / TCP6 / UNKNOWN); src replaces the TCP peer for rate-limit + access-log, so saltare gets real client IPs behind L4 LBs (AWS NLB, GCP TCP LB, HAProxy v1) that strip HTTP-level headers. (25) WebSocket subprotocol finally honored (real bug — was always returningscope["subprotocols"]=[]). (26) HTTP trailers (http.response.trailers) emitted as chunked-encoding trailer block per RFC 7230. Tier-4 hardening + RFC additions: (27) PROXY-protocol v2 binary auto-detect at accept (AWS NLB/ALB default, modern HAProxy). (28) HEAD method body strip — same headers as GET, no body (RFC 7230 §3.3.3). (29) Headertcharvalidation — RFC 7230 §3.2.6 reject\0/CRLF in header names. (30) Connection age cap (max_connection_lifetime_secs) — wall-clock connection budget. (31)startup_request— internalGET /after lifespan startup to warm FastAPI route compilation + pydantic validators. (32) TLS session cache (tls_session_cache_size). (33) TCP_USER_TIMEOUT — sub-second failure detection. (34)auto_raise_nofile—setrlimit(RLIMIT_NOFILE)to hard at startup. (35)server_headerconfigurable — refactor of all comptime concat sites to runtimeg_server_line; empty string omits. (36) Lazytracebackimport — defer the ~150 KiB stdlib until first error path. (37)workers=0auto-detectsmin(cpu_count(), 4). Tier-5 final: (38)PYTHONFAULTHANDLER=1auto in re-exec env. (39)SIGUSR1dump now includesdrainingflag. (40)setproctitleviaprctl(PR_SET_NAME)—saltare,saltare:master,saltare:wkrNvisible inps. (41)TCP_FASTOPENserver-side queue (Linux ≥ 3.7). (42) Periodicgc.collect(0)every N requests for gen-0 churn. (43)X-Forwarded-Host+Forwarded:(RFC 7239) — both feedscope["server"]and the rate-limit key whenproxy_headers=True. (44)/metricssaltare_health_stategauge — 0=healthy, 1=draining. (45) WebSocket continuation frames — RFC 6455 §5.4 reassembled per-connection up to 1 MiB cap (was a real bug — fragmented messages from any client got the connection torn down). (46) mTLS —ssl_ca_file+ssl_verify_client=Trueenforce client cert verification at handshake. Bench: 46.6 / 45.6 / 45.4 MiB vs uvicorn 48.93 / 49.92 / 54.21 MiB and granian 56.16–57.68 MiB. Tests 66/5 ✓.
v1.4.x candidates
- WebSocket per-message-deflate (RFC 7692) — handshake negotiation + per-message inflate/deflate. zlib infra is already loaded by the HTTP path; this just plumbs it through
ws.zig(rsv1 bit on outbound frames + decompress inbound when negotiated). - Streaming brotli + zstd — currently single-shot only. Streaming-encode requires a per-state encoder carried across
_sendcalls (analogous to_gzip_co). - HTTP/2 + ALPN via
nghttp2. Multiplexing many requests over one connection. Big win for high-concurrency clients but tens of KLoC of wire-format work; v1.5 candidate. - Free-threaded Python (
cp314t) — measure RSS + rps with GIL gone. Could let dispatch run concurrently; could also inflate the floor. Decision after benchmarking. - Static-link OpenSSL build experiment — alternative wheel (
saltare-with-tls) that links libssl/libcrypto statically for environments without manylinux's runtime libs. Plain wheel keeps the lazydlopenpath.
Install (once published)
pip install saltare
See CHANGELOG.md for the per-version highlights and the examples/ directory for runnable end-to-end snippets:
examples/compression.py— gzip / brotli / zstd negotiation, single-shot + streaming.examples/sendfile.py—saltare.sendfileASGI extension for zero-copy static-asset responses.examples/observability.py— W3Ctraceparentpropagation + Prometheus latency histogram on/metrics.examples/django.md—pip install saltare[django]integration:manage.py runserverboots Django under saltare instead of wsgiref.
Usage
# main.py
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def root():
return {"hello": "world"}
saltare main:app --host 0.0.0.0 --port 8000
For HTTPS, pass a certificate and private key (PEM, both required together):
import saltare
from main import app
saltare.run(app, host="0.0.0.0", port=443,
ssl_certfile="/etc/letsencrypt/live/example.com/fullchain.pem",
ssl_keyfile="/etc/letsencrypt/live/example.com/privkey.pem")
Both per-request HTTP dispatch and ASGI lifespan startup/shutdown are wired up: FastAPI(lifespan=...) and the older @app.on_event("startup") work as expected.
Streaming responses
Apps can emit response bodies in chunks via the standard ASGI more_body flag — saltare flushes each chunk to the wire as soon as the app produces it instead of buffering the full response in Python:
async def streaming_endpoint(scope, receive, send):
await receive()
await send({"type": "http.response.start", "status": 200,
"headers": [(b"content-type", b"text/plain")]})
for chunk in produce_chunks(): # arbitrary length, no upfront size needed
await send({"type": "http.response.body", "body": chunk, "more_body": True})
await send({"type": "http.response.body", "body": b"", "more_body": False})
When the app does not declare a Content-Length, saltare adds Transfer-Encoding: chunked automatically. Apps that do declare a Content-Length get raw bytes streamed (no chunked framing). FastAPI's StreamingResponse and Starlette's SSE helpers both work without changes.
Idle timeouts
Every connection is bounded by four deadlines, all configurable in seconds:
saltare.run(
app,
header_timeout=5, # accept → headers parsed
keep_alive_timeout=5, # between requests on a kept-alive conn
body_timeout=30, # headers parsed → body fully received
write_timeout=30, # max time held in the writing state
)
The same flags are exposed on the CLI (--header-timeout, --keep-alive-timeout, --body-timeout, --write-timeout). Defaults match the values above. WebSocket connections are exempt — long-lived idle WS sockets are expected, and ping/pong-driven keepalive lands post-v0.11.
Streaming request bodies (v1.4)
Apps receiving large request bodies (file uploads, multi-MiB JSON) get them via the standard ASGI more_body flag — saltare reads the kernel's bytes incrementally and pushes them into the running ASGI task as http.request{body=chunk, more_body=True} events:
async def upload_endpoint(scope, receive, send):
total = 0
while True:
msg = await receive()
if msg["type"] != "http.request":
break
total += len(msg["body"])
# process chunk in place — never keep the whole body in memory.
if not msg.get("more_body"):
break
await send({"type": "http.response.start", "status": 200,
"headers": [(b"content-type", b"application/json")]})
await send({
"type": "http.response.body",
"body": f'{{"received": {total}}}'.encode(),
"more_body": False,
})
The streaming path engages automatically when the declared Content-Length exceeds the read buffer (4 KiB / 16 KiB depending on pool tier). For smaller bodies saltare keeps the full-buffer fast path. max_request_body is enforced incrementally — adversarial clients announcing a small Content-Length then streaming more bytes get a 413 mid-stream and the connection is closed.
cgroup memory awareness (v1.4)
When saltare runs inside a memory-limited cgroup (typical k8s resources.limits.memory) and the operator hasn't explicitly set max_concurrent_connections, saltare reads /sys/fs/cgroup/memory.max (cgroup v2) or memory.limit_in_bytes (v1), reserves a 64 MiB floor for Python heap + libs, and budgets the rest at ~50 KiB per concurrent request. The auto-cap is logged at startup:
saltare: cgroup memory.max=128 MiB → max_concurrent_connections=1310
Setting max_concurrent_connections=N explicitly disables the auto-cap.
Zero-copy file responses (saltare.sendfile, v1.4)
Static-asset endpoints can avoid copying file bytes through Python heap by emitting a saltare.sendfile ASGI extension event instead of http.response.start + http.response.body. saltare's Zig core opens the file, builds the response head, and uses the sendfile(2) syscall directly to the socket — never reads file bytes into userspace.
async def app(scope, receive, send):
if scope["type"] != "http":
return
if scope["path"] == "/static/big.bin":
await send({
"type": "saltare.sendfile",
"path": "/var/www/big.bin",
"status": 200,
"headers": [(b"content-type", b"application/octet-stream")],
})
return
# …regular response path…
Notes:
- Plain-HTTP only — TLS connections return
500 Internal Server Error(kTLS isn't wired in this version). - Don't include
Content-Length/Transfer-Encoding/Connectioninheaders; saltare derives those from the file'sfstat(). Content-Lengthis set automatically fromfstat(); the head and body are written separately so HEAD-method handling is correct.- The extension is opt-in: apps that don't emit
saltare.sendfilekeep the existing dispatch path with no behavioural change.
Response compression — gzip / brotli / zstd (v1.4)
Three opt-in flags expose the lazy-dlopen path for each codec. All default off; when off, the corresponding lib (libz.so.1 / libbrotlienc.so.1 / libzstd.so.1) is never loaded and the mapping never enters the process. Plain-HTTP / no-compression deployments keep the v1.3 RAM floor unchanged.
saltare.run(
app, host="0.0.0.0", port=8000,
response_gzip=True, # zlib (universally supported)
response_gzip_min_bytes=512,
response_gzip_level=6, # 1 (fastest) - 9 (best)
response_brotli=True, # ~15-20% smaller text vs gzip
response_brotli_quality=4, # 0-11
response_zstd=True, # ~10× faster decompression
response_zstd_level=3, # 1-22
request_decompression=True,
max_request_body=10 * 1024 * 1024,
)
CLI equivalent:
saltare app:app --response-gzip --response-brotli --response-zstd \
--request-decompression --max-request-body 10485760
Negotiation: saltare parses Accept-Encoding, drops q=0 tokens, expands * per RFC 7231 §5.3.4, and picks the best encoder both enabled at startup and offered with q>0. Server-side preference within an equal client-q tier is br > zstd > gzip (br compresses tightest for text, zstd is fastest, gzip is the universal fallback). When libbrotlienc / libzstd aren't present in the image the encoder call falls through to identity — the response is sent raw, the client gets a still-valid (uncompressed) body.
What gets compressed on the response side:
- Response is single-shot (gzip also supports streaming; brotli and zstd are single-shot only in v1.4 — streaming-encode for those is v1.4.x).
- Content-Type must be in the compressible set:
text/*,application/json,application/javascript,application/xml,application/xhtml+xml,application/atom+xml,application/rss+xml,application/x-javascript,image/svg+xml. Binary types (PNG/MP4/WOFF2) compress poorly and are skipped. - Body must be ≥
response_gzip_min_bytes(default 512) and the encoded result must be smaller than the raw body. - App must not have already set
Content-Encoding.
When all conditions hold, saltare drops the app's Content-Length, encodes the body, emits the new Content-Length, adds Content-Encoding: <enc> and Vary: Accept-Encoding. The app sees no API change.
Streaming gzip (v1.4): when more_body=True on the first chunk and gzip negotiated, saltare initializes a zlib.compressobj(level, DEFLATED, 31) carried across _send calls. Intermediate chunks flush with Z_SYNC_FLUSH; the final chunk uses Z_FINISH to write the gzip trailer (CRC + isize). Decompressors see decoded bytes promptly — works with SSE, file downloads, multi-MB JSON streams. Brotli / zstd streaming-encode is deferred (per-state encoder objects across _send calls; analogous design but more code surface).
Request decompression:
- Triggered when
Content-Encoding: gzipis the sole encoding (case-insensitive). Other encodings pass through unchanged. - Only fires for non-streaming bodies (full body buffered before dispatch). Streaming gzipped uploads are passed raw — the streaming path sees compressed bytes.
- The decompressed body is capped at
max_request_body; over-cap returns413 Payload Too Largeimmediately. Zip-bomb defense — a 1 KiB gzipped payload that decompresses to 1 GiB never makes it past the dispatcher. - The
Content-Encodingheader is stripped fromscope["headers"]after decompression.
Request size hardening — 414 / 431 (v1.4)
Two cheap caps round out RFC 7230 status codes for malformed clients:
max_request_uri(default 8192 bytes; 0 disables) — request-line target longer than the cap returns414 URI Too Long. Cheaper than letting a multi-KiB target hit the routing table.max_request_head_bytes(default 0 / pool-buffer ceiling; non-zero tightens) — total head-section bytes (request line + all headers + CRLFs up to and including the blank line) past the cap returns431 Request Header Fields Too Large. The implicit ceiling is the read-buffer (~16 KiB small / 64 KiB after upgrade); this knob lets operators tighten that further.
saltare app:app --max-request-uri 4096 --max-request-head-bytes 8192
W3C Trace Context propagation (v1.4)
Off by default. When --traceparent-propagation is on, saltare reads incoming traceparent and tracestate headers, surfaces them on scope["traceparent"] / scope["tracestate"] (ASGI extension keys), and echoes traceparent back on every response. ~30 bytes per request when on; zero work when off.
saltare.run(app, host="0.0.0.0", traceparent_propagation=True)
# In the ASGI app:
async def handler(scope, receive, send):
tp = scope.get("traceparent") # str | None
# ... use with OpenTelemetry SDK or a downstream HTTP call
The format is not validated (32-hex trace-id + 16-hex span-id + flags per W3C). Invalid values pass through unchanged so the app can decide.
Prometheus latency histogram (v1.4)
When --latency-histogram is on, /metrics emits a standard Prometheus histogram for request wall-clock latency:
# HELP saltare_request_duration_seconds Wall-clock request latency, in seconds.
# TYPE saltare_request_duration_seconds histogram
saltare_request_duration_seconds_bucket{le="0.001"} 12
saltare_request_duration_seconds_bucket{le="0.005"} 89
…
saltare_request_duration_seconds_bucket{le="60"} 1024
saltare_request_duration_seconds_bucket{le="+Inf"} 1024
saltare_request_duration_seconds_sum 4.213701
saltare_request_duration_seconds_count 1024
14 fixed buckets cover 1 ms..60 s. Cost per worker: 14 × u64 counters = 112 bytes plus 16 bytes of _sum accumulator = ~128 B steady-state. Off by default — counter-only /metrics keeps the previous footprint.
Resource caps
saltare.run(
app,
max_concurrent_connections=1024, # accepted sockets held open at once
max_keepalive_requests=1000, # requests per keep-alive conn before close
max_request_body=1024 * 1024, # bytes; oversize gets 413
)
CLI flags: --max-concurrent-connections, --max-keepalive-requests, --max-request-body. Defaults match the values above. Expect: 100-continue is honoured automatically (the interim response is written before the body is read, except when the declared Content-Length already exceeds max_request_body — in which case the client gets a 413 directly). In v0.13 the read buffer (16 KiB) is the practical hard ceiling for max_request_body; request-body streaming for larger bodies lands in a follow-up.
Connection lifecycle caps
saltare.run(
app,
max_connections_per_ip=50, # TCP-RST over-cap peers (defends DDoS)
max_connection_lifetime=3600, # force-close after N seconds
rate_limit_per_sec=100, # per-IP token bucket (0 = disabled)
rate_limit_burst=200,
)
max_connections_per_ip shares the per-IP table with the rate limiter (4096-entry LRU); over-cap peers get a TCP-level RST at accept time before any HTTP work happens. max_connection_lifetime (seconds) is a wall-clock cap — stricter than max_keepalive_requests for clients that keep a connection open for hours. Both default to 0 (disabled). When proxy_headers=True, the rate limiter uses X-Real-IP / X-Forwarded-For instead of the TCP peer; when proxy_protocol=True, it uses the source from the PROXY header.
TCP tuning
saltare.run(
app,
listen_backlog=1024, # listen(2) backlog (default 256)
tcp_keepidle=60, # seconds idle before first probe
tcp_keepintvl=10, # seconds between probes
tcp_keepcnt=4, # unanswered probes = drop
tcp_user_timeout_ms=30000, # max in-flight unacked write window
)
listen_backlog is capped by /proc/sys/net/core/somaxconn. The keepalive trio tightens dead-connection detection past the kernel default (~2 hours idle); typical mobile-friendly setting is 60 / 10 / 4. tcp_user_timeout_ms (Linux only) is more aggressive than keepalive — it caps stuck WRITE windows too, useful on flaky network paths.
File descriptor limit
saltare.run(app, auto_raise_nofile=True)
Raises the soft RLIMIT_NOFILE to the hard limit at startup so max_concurrent_connections isn't bottlenecked by the user's default 1024 fd cap. Linux only. Equivalent to ulimit -n $(ulimit -Hn) before invoking saltare.
Pre-warming the user app
saltare.run(app, startup_request=True)
After lifespan.startup finishes, saltare issues an internal GET / against the app to warm route compilation, pydantic validators, and JIT caches. The first real client request then doesn't pay the cold-start cliff (typically 50-200 ms drop to 1-5 ms). Skipped if your app's / route does work that's expensive or has side effects — design startup_request accordingly. Best-effort: any exception during warmup is swallowed.
TLS session cache
saltare.run(
app,
ssl_certfile="...", ssl_keyfile="...",
tls_session_cache_size=1024, # OpenSSL server-side cache (0 = disabled)
)
When set, OpenSSL caches up to N completed TLS sessions; repeat clients negotiating a session resumption skip the full handshake (~3 RTTs → 1 RTT). Cost: ~20 KiB resident per cached session at peak. 1024 ≈ 20 MiB ceiling, fine for production. 0 (default) keeps the floor low; flip on once your TLS workload warrants it.
Customising / hiding the Server: header
saltare.run(app, server_header="my-api/2.1") # white-label
saltare.run(app, server_header="") # omit the line entirely
The default is Server: saltare/1.3.0. Setting an explicit value overrides it (built once at start; per-response cost is one {s} substitution). Empty string omits the header. Useful behind a reverse proxy that already advertises a server line, or for hiding the saltare identity for security-by-obscurity.
HEAD requests
HEAD /path returns the same headers as GET /path but no response body, per RFC 7230 §3.3.3. saltare detects HEAD in the dispatcher and suppresses body bytes the app emits (the app itself doesn't have to special-case HEAD). Transfer-Encoding: chunked is forced off for HEAD (no body to chunk). Working as expected — no flag.
Auto worker count
saltare.run(app, workers=0) # min(cpu_count, 4)
workers=0 (and --workers 0) reads os.cpu_count() and caps at 4 — past 4 the GIL-locked dispatch sees diminishing returns under saltare's architecture. Set explicitly when you know better.
Autoreload (--reload, v1.4)
Dev-only file watcher: parent process supervises a saltare child, polls the configured directories for *.py mtime changes (default 0.5 s), and on change does SIGTERM → drain → respawn. Same shutdown path as production, so the new child starts on a clean socket.
saltare myapp:app --reload
saltare myapp:app --reload --reload-dir src --reload-dir lib
saltare myapp:app --reload --reload-include '*.py' --reload-include '*.toml'
saltare myapp:app --reload --reload-exclude '*/migrations/*' --reload-poll-secs 1.0
Behaviour:
--workers > 1is auto-coerced to 1 — the reloader and the pre-fork supervisor can't share a listen socket.- A syntax-error crash in the child does not restart-loop. The supervisor waits for the next file change before respawning.
- Default excludes already cover
__pycache__,.git,.venv,node_modules,.pytest_cache,.mypy_cache,.ruff_cache,.pyc. Override with--reload-exclude(repeatable). - The watcher is poll-based (no
inotifydep) so it works the same in containers, on overlayfs / NFS / 9p mounts, and across rename storms duringgit checkout. - Each respawn first deletes
__pycache__directories under the watched roots. saltare'sPYTHONOPTIMIZE=2re-exec writes.opt-2.pyckeyed by second-resolution source mtime; without the purge an edit within 1 s of the previous import would leave the new child running stale bytecode.
Implementation: src/saltare/_reload.py. Production deployments should run without --reload and let your supervisor (systemd, k8s) handle restart on crash.
mTLS (client certificate verification)
saltare.run(
app,
ssl_certfile="/path/to/server.crt",
ssl_keyfile="/path/to/server.key",
ssl_ca_file="/path/to/ca.pem",
ssl_verify_client=True,
)
ssl_ca_file loads the CA bundle clients must present a cert from; ssl_verify_client=True flips OpenSSL into SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT — connections without a valid client cert are rejected at handshake. Useful for zero-trust deployments and service-to-service auth.
TCP Fast Open
saltare.run(app, tcp_fastopen_qlen=256)
Enables TCP_FASTOPEN (Linux ≥ 3.7) on the listen socket. Repeat clients can include payload in the SYN, saving 1 RTT. Wins are visible only when clients themselves opt into TFO and the kernel has net.ipv4.tcp_fastopen set to a value that includes server-side support (typically 3). 256 (matching the default listen_backlog) is a safe value.
Generational GC tuning
saltare.run(app, gc_collect_every_n_requests=1000)
Triggers a gc.collect(0) (gen-0 only — cheap, ~tens of µs) every N completed dispatches. Useful for apps that allocate many cyclic small objects per request (heavy pydantic / dataclass construction): keeps the gen-1 set small so the eventual full-gen sweep stays cheap. The idle-window full GC still runs on top.
Forwarded: header (RFC 7239) + X-Forwarded-Host
proxy_headers=True parses, in order of preference:
- RFC 7239
Forwarded: for=...;proto=...;host=...— modern standard, used by some proxies. - nginx
X-Real-IP— single client IP. - legacy
X-Forwarded-For— comma-separated chain (leftmost = client).
Plus Forwarded: ...;host= or X-Forwarded-Host populates scope["server"] so apps see the public hostname:port instead of the raw listen address. Only enable behind a trusted reverse proxy.
WebSocket fragmentation (continuation frames)
RFC 6455 §5.4 fragmented messages (FIN=0 first frame + 0..N continuation frames + FIN=1 final continuation) are reassembled per-connection up to a 1 MiB cap. Apps see one websocket.receive event with the full payload — no special handling required.
Operational diagnostics
kill -USR1 $(pidof saltare)→ JSON line on stderr withopen_conns,in_flight,requests_total,rss_kib,rl_table_size,draining.PYTHONFAULTHANDLER=1set automatically in CLI re-exec → CPython prints stack on segfault / SIGABRT.- Process visible in
ps/top/htopassaltare(single-worker),saltare:master, orsaltare:wkrN(multi-worker). /metricsendpoint exposessaltare_health_stategauge (0 = healthy, 1 = draining).
Observability and deployment knobs
saltare.run(
app,
metrics_path="/metrics", # Prometheus text from Zig counters
health_path="/healthz", # 204 No Content from Zig — k8s probe friendly
favicon_204=True, # GET /favicon.ico → 204 from Zig (skip Python)
cors_preflight_allow_all=True, # OPTIONS w/ Origin → permissive CORS, no Python
rate_limit_per_sec=100, # per-IP token-bucket rate cap (0 = disabled)
rate_limit_burst=200, # burst ceiling per IP (default 100)
max_connections_per_ip=50, # per-IP open-connection cap (0 = disabled)
tracemalloc_path="/debug/tracemalloc",
access_log=True,
access_log_path="/var/log/saltare/access.log", # file instead of stderr
proxy_headers=True,
request_id_header="X-Request-ID", # auto-gen + scope["x-request-id"] + response hdr
server_timing=True, # `Server-Timing: total;dur=<ms>` on every response
uds_path="/run/saltare.sock",
)
CLI flags: --metrics-path, --health-path, --favicon-204, --cors-preflight-allow-all, --rate-limit-per-sec, --rate-limit-burst, --max-connections-per-ip, --tracemalloc-path, --access-log, --access-log-path, --proxy-headers, --request-id-header, --server-timing, --uds PATH, --listen-backlog, --tcp-keepidle, --tcp-keepintvl, --tcp-keepcnt, --proxy-protocol. All off by default. The Zig-side intercepts (metrics, health, favicon, CORS preflight, tracemalloc) skip the Python dispatch entirely.
PROXY protocol v1 + v2 (L4 load balancers)
When saltare sits behind an L4 LB that won't add HTTP headers (AWS NLB / ALB, GCP TCP LB, HAProxy mode tcp), the TCP peer is the LB, not the real client — X-Forwarded-For doesn't exist at this layer. Pass proxy_protocol=True (--proxy-protocol) and saltare auto-detects either:
- v1 (text):
PROXY <TCP4|TCP6|UNKNOWN> <src> <dst> <sport> <dport>\r\n— what HAProxy 1.x emits. - v2 (binary): 12-byte signature
\r\n\r\n\0\r\nQUIT\n+ 4-byte header + variable address block — what AWS NLB/ALB and modern HAProxy emit by default.
Saltare reads the appropriate header at every accept, uses the source as the rate-limit / access-log key, then proceeds to TLS or HTTP. Connections that don't begin with a valid PROXY header are closed.
systemd socket activation
When invoked under systemd with a .socket unit, saltare auto-detects LISTEN_FDS=1 + LISTEN_PID=$$ and inherits fd 3 instead of binding the host:port. Drop-in for zero-downtime reload via systemctl reload:
# /etc/systemd/system/saltare.socket
[Socket]
ListenStream=0.0.0.0:8000
[Install]
WantedBy=sockets.target
# /etc/systemd/system/saltare.service
[Service]
ExecStart=/usr/bin/saltare main:app --workers 4
Environment="MALLOC_ARENA_MAX=1"
SIGUSR1 stats dump
kill -USR1 $(pidof saltare) makes saltare emit a single JSON line on stderr:
{"event":"saltare.stats","open_conns":47,"in_flight":3,"requests_total":18432,"rss_kib":48132,"rl_table_size":124}
Useful in production for snapshotting state without an HTTP probe.
Rate limiting
rate_limit_per_sec enables a per-IP token-bucket implemented in Zig: each peer IP gets rate_limit_burst tokens, refilled at rate_limit_per_sec per second up to the burst ceiling. Each request consumes one token; over-rate IPs get a 429 Too Many Requests from Zig before the Python app sees the request. The tracking table is bounded at 4096 IPs; once full, the oldest entry evicts. Disabled (default) costs nothing — a single if (rate_limit_per_sec > 0) per request. UDS connections are not rate-limited (no peer IP).
tracemalloc debug endpoint
tracemalloc_path auto-calls tracemalloc.start(25) at server init and serves a top-30 snapshot at the given path:
# top 30 allocations (group: lineno)
542.3 KiB 8 blocks /opt/.../pydantic/_internal/_model_construction.py:204
213.7 KiB 91 blocks /opt/.../starlette/routing.py:97
...
Tracking has CPU + RAM cost (5–10% RSS depending on app). Don't leave it on in production permanently — flip the flag, scrape once, flip off (requires a process restart).
IPv6
Pass an IPv6 address (with or without brackets) as host. saltare auto-detects v6 by the presence of a colon and creates an AF_INET6 socket with IPV6_V6ONLY=1 set:
saltare.run(app, host="::", port=8000) # all v6 interfaces
saltare.run(app, host="[::1]", port=8000) # v6 loopback
For dual-stack (v4 + v6) listeners run two saltare processes — IPV6_V6ONLY=1 is set explicitly because the kernel default varies by distro.
Metrics endpoint exposes:
saltare_open_connections gauge – active TCP/UDS sockets
saltare_in_flight_requests gauge – HTTP requests being dispatched right now
saltare_requests_total counter – HTTP requests dispatched since startup
saltare_responses_4xx_total counter
saltare_responses_5xx_total counter
saltare_bytes_sent_total counter
saltare_bytes_received_total counter
saltare_process_resident_memory_bytes gauge – RSS from /proc/self/status (Linux)
The metrics_path request is answered entirely from Zig — your ASGI app never sees it.
Access log format (one JSON line per completed request, to stderr):
{"method":"GET","path":"/users/42","status":200,"bytes":318,"latency_us":1234,"user_agent":"curl/8.0"}
Stack-buffered, JSON-escaped, single write(2) per line so concurrent workers don't interleave.
Proxy headers: X-Real-IP (single client IP, nginx convention; takes precedence) or X-Forwarded-For (comma-separated chain; leftmost address) → scope["client"], plus X-Forwarded-Proto (http/https → scope["scheme"]). Only enable behind a proxy that strips client-supplied X-Forwarded-* headers, otherwise clients can spoof their identity.
Django integration (saltare[django], v1.4)
Drop-in replacement for Django's wsgiref-based runserver, so local development happens under the same ASGI core as production. See examples/django.md for the full walkthrough.
pip install 'saltare[django]'
# settings.py
INSTALLED_APPS = [
# ...
"django.contrib.staticfiles",
"saltare.contrib.django", # AFTER staticfiles
]
python manage.py runserver
# saltare 1.4.0 (ASGI) — Django 5.1.0
# Listening on http://127.0.0.1:8000/
Autoreload, --noreload, and STATIC_URL (via ASGIStaticFilesHandler in DEBUG) all keep working unchanged. ASGI app resolution honours SALTARE_ASGI_APPLICATION → ASGI_APPLICATION → django.core.asgi.get_asgi_application(). Saltare-specific dev flags: --workers N (pre-fork; disables reloader), --access-log, --proxy-headers.
The integration is dev-only — production deployments call the saltare CLI directly against myproject.asgi:application; no Django dependency needed at runtime.
Dispatch introspection endpoint (--dispatch-path, v1.5)
Dev / debugging probe. JSON snapshot of the dispatcher's runtime state — same fields as the SIGUSR1 stats dump but reachable via HTTP. No GIL is acquired during the response, so a deadlocked Python dispatcher still answers the probe.
saltare app:app --dispatch-path /debug/dispatch
curl http://127.0.0.1:8000/debug/dispatch
# {"open_conns":3,"in_flight":1,"requests_total":847,"responses_4xx":2,
# "responses_5xx":0,"bytes_sent":124871,"bytes_received":18432,
# "rl_table_size":12,"draining":0,"rss_bytes":48472064}
Off by default. Recommend gating behind a sidecar / network policy in production — it leaks no secrets but does expose RSS + connection counts. For added defense-in-depth, set a Bearer-token gate:
# CLI flag (visible in `ps aux` — fine for dev, avoid for prod)
saltare app:app --dispatch-path /debug/dispatch --dispatch-token s3cr3t
# Env var (preferred for prod — secret stays out of process listing)
SALTARE_DISPATCH_TOKEN="$(openssl rand -hex 16)" \
saltare app:app --dispatch-path /debug/dispatch
Without the matching Authorization: Bearer <token> header the endpoint returns 401. Compare is constant-time.
Hot config reload (--runtime-config-path + SIGHUP, v1.5)
A subset of Limits / Observability is re-readable from a key=value file on SIGHUP without restarting the process. Useful for canary tuning of rate limits or toggling access-log under load.
Supported keys:
rate_limit_per_secrate_limit_burstmax_connections_per_ipmax_connection_lifetime_secsaccess_log(true/false)
# /etc/saltare/runtime.cfg
rate_limit_per_sec=200
rate_limit_burst=400
access_log=true
# anything else is silently ignored — `# comments` allowed
saltare app:app --runtime-config-path /etc/saltare/runtime.cfg
# … later, after editing the file …
kill -HUP $(pidof saltare)
# stderr: saltare: SIGHUP: applied 3 key(s), 0 unknown
Unknown keys + parse errors log a warning and keep the previous value — a typo never crashes the running server. To verify a config push before sending the SIGHUP, dry-run it with:
saltare --check-config /etc/saltare/runtime.cfg
# saltare check-config: 3 key(s) ok in /etc/saltare/runtime.cfg
echo $? # 0 on clean, 1 if any line was malformed / unknown
kTLS (sendfile-over-HTTPS, v1.5)
--ktls flips OpenSSL's SSL_OP_ENABLE_KTLS so cipher state is handed to the Linux kernel after handshake. Two consequences:
saltare.sendfileworks on TLS connections. v1.4 returned 500 becausesendfile(2)can't encrypt; with kTLS the kernel applies TLS records on the socket and the syscall just works.- TX-zerocopy on plaintext writes.
SSL_OP_ENABLE_KTLS_TX_ZEROCOPY_SENDFILEremoves one buffer copy per write. Throughput win on large responses.
Requirements:
- OpenSSL ≥ 3.0 at runtime. The flag bit is
0on older OpenSSLs, so silently ignored — saltare falls back to userspace TLS andserveSendfilereturns 500 on HTTPS as before. - Linux ≥ 4.13 for AES-128-GCM, ≥ 5.2 for AES-256-GCM kTLS support. Older kernels: OpenSSL detects the missing kernel feature and itself falls back to userspace.
- Kernel module
tlsavailable (modprobe tlsor built into the kernel; standard on modern distros).
saltare app:app --host 0.0.0.0 --port 8443 \
--ssl-certfile /etc/tls/cert.pem --ssl-keyfile /etc/tls/key.pem \
--ktls
Off by default. When off, behaviour is identical to v1.4 (serveSendfile returns 500 on TLS connections; userspace SSL_write handles the rest).
Compression counters on /metrics (v1.5)
When any response encoder is enabled (--response-gzip / -brotli / -zstd), /metrics automatically grows four families:
saltare_response_compression_total{encoding="gzip"} 12431
saltare_response_compression_total{encoding="br"} 0
saltare_response_compression_total{encoding="zstd"} 0
saltare_response_compression_bytes_in_total{encoding="gzip"} 18943210
saltare_response_compression_bytes_out_total{encoding="gzip"} 2102983
saltare_response_compression_skipped_total{reason="small_body"} 4892
saltare_response_compression_skipped_total{reason="non_compressible"} 1132
saltare_response_compression_skipped_total{reason="encoder_unavailable"} 0
saltare_response_compression_skipped_total{reason="not_smaller"} 87
Counters live in Zig atomics — the /metrics scrape never acquires the GIL. Operators can validate "is gzip actually doing work?" by computing bytes_in / bytes_out per encoding from the rates.
CLI reference
saltare APP [options]
ASGI app target as 'module:attr' (e.g. 'main:app').
Network
--host HOST bind address (default 127.0.0.1; use :: or [::1] for v6)
--port PORT bind port (default 8000)
--uds PATH bind a Unix domain socket instead
--listen-backlog N listen(2) backlog (default 256)
--workers N number of pre-fork workers (0 = auto-cpu-count, capped at 4)
TLS (lazy-loaded — system libssl needed only when these are passed)
--ssl-certfile PATH TLS certificate (PEM)
--ssl-keyfile PATH TLS private key (PEM)
--ssl-ca-file PATH CA bundle for client cert verification (mTLS)
--ssl-verify-client require + verify client cert (mTLS)
--tls-session-cache-size N OpenSSL session cache size (0 = disabled)
Timeouts (seconds)
--header-timeout SECS accept → headers parsed (default 5)
--keep-alive-timeout SECS idle keepalive (default 5)
--body-timeout SECS headers → body fully received (default 30)
--write-timeout SECS maximum time in writing state (default 30)
--shutdown-timeout SECS graceful drain ceiling on SIGTERM (default 30)
--ws-keepalive-timeout SECS WebSocket ping interval (default 20)
TCP tuning
--tcp-keepidle SECS seconds idle before kernel keepalive probe
--tcp-keepintvl SECS seconds between keepalive probes
--tcp-keepcnt N unanswered probes before drop
--tcp-user-timeout-ms MS TCP_USER_TIMEOUT (Linux)
--tcp-fastopen-qlen N TCP_FASTOPEN queue length (Linux ≥ 3.7)
Resource caps
--max-concurrent-connections N accepted sockets held open (default 1024)
--max-keepalive-requests N requests per connection before close (default 1000)
--max-request-body BYTES oversize body → 413 (default 1 MiB)
--max-connections-per-ip N per-IP open connection cap (0 = disabled)
--max-connection-lifetime SECS wall-clock connection age cap (0 = disabled)
--rate-limit-per-sec N per-IP token-bucket rate (0 = disabled)
--rate-limit-burst N burst ceiling (default 100)
--auto-raise-nofile raise soft RLIMIT_NOFILE to hard at startup
Observability + Zig-side intercepts (no Python dispatch when matched)
--metrics-path PATH Prometheus text from Zig counters
--health-path PATH k8s-style probe → 200 'ok' from Zig
--tracemalloc-path PATH top-30 Python alloc dump (Linux/CPython)
--favicon-204 GET /favicon.ico → 204 from Zig
--cors-preflight-allow-all OPTIONS+Origin → permissive CORS from Zig
Request / response shaping
--access-log one JSON line per request to stderr
--access-log-path FILE route the JSON log to a file instead
--proxy-headers parse X-Forwarded-* / X-Real-IP into scope + rate-limit
--proxy-protocol HAProxy PROXY-protocol v1 + v2 at every accept
--request-id-header NAME auto-generate request ID + scope key + response header
--server-timing emit `Server-Timing: total;dur=<ms>` per response
--server-header VALUE override `Server:` (empty string omits the header)
Operational
--startup-request issue an internal GET / after lifespan startup (warm app)
--gc-collect-every-n-requests N periodic gc.collect(0) cadence (0 = disabled)
--version print saltare version
Development (v1.4)
--reload autoreload: poll watch dirs + SIGTERM/respawn on change
--reload-dir DIR watch directory (repeatable; default: cwd)
--reload-include GLOB fnmatch glob to include (repeatable; default: '*.py')
--reload-exclude GLOB fnmatch glob to exclude (repeatable)
--reload-poll-secs SECS poll interval (default 0.5)
Operational depth (v1.5)
--dispatch-path PATH JSON dispatch-state snapshot endpoint
--dispatch-token TOKEN Bearer-token gate on --dispatch-path (also reads SALTARE_DISPATCH_TOKEN env)
--runtime-config-path FILE key=value file re-read on SIGHUP for hot config swap
--check-config FILE dry-run validate a runtime-config-path file (exit 0=ok, 1=fail)
--ktls enable OpenSSL kTLS (sendfile-over-HTTPS; needs OpenSSL>=3.0 + Linux>=4.13)
Compression (v1.4; lazy dlopen — libs only loaded when flags are on)
--response-gzip negotiate Accept-Encoding: gzip (single-shot + streaming)
--response-gzip-min-bytes N skip gzip below N bytes (default 512)
--response-gzip-level N zlib level 1-9 (default 6)
--response-brotli negotiate Accept-Encoding: br (single-shot; needs libbrotli)
--response-brotli-quality N brotli quality 0-11 (default 4)
--response-zstd negotiate Accept-Encoding: zstd (single-shot; needs libzstd)
--response-zstd-level N zstd level 1-22 (default 3)
--request-decompression decompress request bodies with Content-Encoding: gzip
Hardening (v1.4)
--max-request-uri N reject targets > N bytes with 414 (default 8192; 0 disables)
--max-request-head-bytes N reject head sections > N bytes with 431 (0 = pool-buffer ceiling)
Observability extras (v1.4)
--latency-histogram Prometheus saltare_request_duration_seconds_* on /metrics
--traceparent-propagation W3C Trace Context on scope + echo on response
Same flags are available on the saltare.run() Python API — the kwarg names match the CLI flags with hyphens replaced by underscores.
Production deployment
Pre-deploy checklist (v1.5)
Before pointing real traffic at saltare, walk this list:
- Soak: run the bench harness with your real ASGI app for ≥ 30 min at expected concurrency. RSS should stabilise within a few MiB of the idle baseline. Drift > 10 MiB/h = leak.
- Memory leak check:
make valgrindbuilds the tester image and runs pytest undervalgrind --leak-check=full. CI doesn't gate this — run it locally before tagging. - Connection cap: pick
max_concurrent_connectionsthat fits your container memory budget. Saltare auto-tunes from the cgroup limit if you don't set it (~50 KiB/conn budget after a 64 MiB Python floor). - TLS: if terminating TLS in saltare (vs nginx in front), set
ssl_certfile+ssl_keyfileand verify cert chain viaopenssl s_client -connect host:port. - Rate limit: enable
--rate-limit-per-secmatched to your downstream-service capacity, not your saltare capacity. Saltare's bucket is the last rate limit before the app. - Access log: enable
--access-log(stderr) or--access-log-path(file). Without it, post-mortems on individual requests are impossible. -
/metrics+ alerting: scrape--metrics-pathfrom Prometheus and set alerts onsaltare_responses_5xx_totalrate,process_resident_memory_bytesceiling, andsaltare_health_state(= 1 means draining). -
/debug/dispatchtoken: when exposing the dispatch endpoint outside the pod's network namespace, set--dispatch-tokento a long random string. -
SIGHUPconfig: if you'll need to tune rate limits without restart, set--runtime-config-pathand document the file in your runbook. - Shutdown grace:
--shutdown-timeoutshould match k8sterminationGracePeriodSecondsminus a few seconds. Default 30 s. -
MALLOC_ARENA_MAX: set to1(single worker) or2(multi). Already inDockerfile.production. - Workers count: start with
min(cpu_count, 4). Higher inflates per-conn Pss without throughput gain under GIL-locked dispatch.
Recommended starting flags
For a typical FastAPI deployment behind a reverse proxy:
saltare myapp:app \
--host 0.0.0.0 --port 8000 \
--workers 4 \
--proxy-headers \
--shutdown-timeout 25 \
--max-keepalive-requests 10000 \
--max-connection-lifetime 3600 \
--tcp-keepidle 60 --tcp-keepintvl 30 --tcp-keepcnt 4 \
--metrics-path /metrics --access-log \
--health-path /healthz \
--rate-limit-per-sec 200 --rate-limit-burst 400 \
--max-request-uri 8192 --max-request-head-bytes 32768 \
--latency-histogram \
--traceparent-propagation \
--response-gzip
For an Alpine / distroless container, swap Dockerfile.production for one based on python:3.14-alpine — saltare ships musllinux wheels.
Day-2 operations
| Symptom | First check | Likely fix |
|---|---|---|
| RSS growing unbounded | curl /debug/dispatch — in_flight ≫ open_conns? |
dispatcher backlog; check --max-concurrent-connections, look at app's downstream call latency |
| 5xx spike | saltare_responses_5xx_total rate; recent deploy? |
rollback or check app exception logs (saltare prints exceptions via _print_exception_lazy) |
| Latency p99 spike | saltare_request_duration_seconds_bucket (needs --latency-histogram) |
which bucket? > 1 s typically a downstream stall, not saltare |
Connection refused from clients |
saltare_open_connections near max_concurrent_connections |
bump cap or scale horizontally |
| Slow shutdown | logs show saltare draining for tens of seconds |
--shutdown-timeout lower, or app lifespan.shutdown hook is blocking |
| Compression doing nothing | saltare_response_compression_total{encoding="gzip"} near 0; ..._skipped_total{reason="non_compressible"} high |
check Content-Type whitelist; PNG/MP4/WOFF2 bodies don't compress |
kill -HUP does nothing |
stderr should print saltare: SIGHUP: applied N key(s) |
check --runtime-config-path is set; check file permissions |
Workers and CPU
workers=1 (the default) is one process serving all traffic. For multi-core machines, set workers to roughly min(cpu_count, 4) as a starting point. Pre-fork CoW + gc.freeze() mean each additional worker costs only ~5 MiB of physical RAM on top of the single-worker baseline — measured at 4 workers = 51 MiB Pss, vs ~150 MiB if every worker were independent (see Benchmarks).
saltare main:app --host 0.0.0.0 --port 8000 --workers 4
The master process binds + listens once and forks the workers; the kernel load-balances accept() across them. A worker exiting unexpectedly causes the master to propagate shutdown to the rest and exit — your pod supervisor then restarts the whole thing. v1.0 deliberately doesn't respawn within the master; that's the supervisor's job.
Environment
The recommended production image is the v1.5 Alpine variant — see
Dockerfile.production (make production-image).
It uses python:3.14-alpine, installs the saltare musllinux wheel,
preloads mimalloc, and runs under tini for clean signal forwarding.
Image size lands around 60 MiB total.
If you need to run saltare on a glibc base instead (CentOS / RHEL / manylinux-style), the pre-Alpine knobs still apply:
# glibc-only: cap per-thread malloc arenas. musl ignores this.
export MALLOC_ARENA_MAX=2
# Both libc flavours: preload an alternative malloc. Typical extra
# saving on top of glibc default + arena cap: 5–15 MiB.
# Alpine (musl) path: /usr/lib/libmimalloc.so.2
# glibc/manylinux path: /usr/lib64/libmimalloc.so.2
export LD_PRELOAD=/usr/lib/libmimalloc.so.2
# Conservative fd limit if you're not behind a reverse proxy that
# already rate-limits accept(). Alpine's default ulimit is usually
# already 1024 — bump explicitly.
ulimit -n 65535
The Alpine production image bakes the LD_PRELOAD line. MALLOC_ARENA_MAX
is not set in the Alpine image because musl libc has no per-thread
arenas to cap — it's a glibc-specific knob. If you switch the image to a
glibc base, re-add it.
Eager imports under multi-worker
gc.freeze() runs in the master right before the fork loop so
already-imported modules don't dirty CoW pages on each worker's first GC
sweep. For this to work, every module the app needs must be imported in
the master before the fork. FastAPI's deferred-import patterns are the
common gotcha: a route handler that does import heavy_dep lazily at
first request will dirty 500+ KiB of pages in every worker
independently, killing the CoW saving.
Pattern: do all imports at module top-level, and exercise the heavy paths
once during lifespan.startup so any deferred initialisation
(connection pools, JIT caches) is materialised in the master:
from fastapi import FastAPI
import heavy_dep
import asyncpg
@asynccontextmanager
async def lifespan(app: FastAPI):
# Force imports + warm caches in the master, before the fork.
pool = await asyncpg.create_pool(...)
app.state.pool = pool
# Touch any lazy initialisers so the cost lands in master's RSS,
# not each worker's.
heavy_dep.warm_up()
yield
await pool.close()
app = FastAPI(lifespan=lifespan)
After lifespan.startup, saltare calls malloc_trim(0) to return
fragmented heap to the OS, then gc.freeze()s the surviving objects
before forking — workers only allocate dirty pages for their own
per-request state.
systemd
[Service]
Environment="MALLOC_ARENA_MAX=2"
LimitNOFILE=65535
ExecStart=/usr/bin/saltare main:app \
--host 0.0.0.0 --port 8000 \
--workers 4 \
--metrics-path /metrics --access-log
KillSignal=SIGTERM
TimeoutStopSec=35
Restart=on-failure
TimeoutStopSec should be a couple of seconds higher than --shutdown-timeout (default 30 s) so systemd doesn't escalate to SIGKILL while saltare is still draining.
Kubernetes
apiVersion: apps/v1
kind: Deployment
spec:
template:
spec:
terminationGracePeriodSeconds: 35
containers:
- name: api
image: your-image
env:
- name: MALLOC_ARENA_MAX
value: "2"
args:
- "--workers=4"
- "--metrics-path=/metrics"
- "--access-log"
- "--proxy-headers"
ports:
- containerPort: 8000
readinessProbe:
httpGet:
path: /healthz # your app's endpoint
port: 8000
# Prometheus pulls /metrics from each pod individually. With
# --workers > 1 each scrape may land on a different worker, so
# configure Prometheus to sum across pods and treat per-pod
# counters as samples.
saltare honours SIGTERM with a graceful drain (--shutdown-timeout, default 30 s): in-flight requests get to finish, lifespan.shutdown runs, then the process exits 0.
Behind nginx (Unix domain socket)
saltare main:app --uds /run/saltare.sock --workers 4
upstream saltare {
server unix:/run/saltare.sock;
}
server {
location / {
proxy_pass http://saltare;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Pair with --proxy-headers so saltare reads X-Forwarded-For / X-Forwarded-Proto into scope["client"] / scope["scheme"] instead of seeing nginx as the client.
What saltare does for you automatically
malloc_trim(0)afterlifespan.startupreturns 1–3 MiB of glibc heap fragmentation (FastAPI/Pydantic imports) to the OS.- Idle pool buffers older than 30 s get
MADV_DONTNEEDso RSS recovers after traffic peaks. - App exceptions during dispatch are caught: pre-
response.startraises become a 500; mid-stream raises close the connection. Workers keep serving. - WebSocket connections get server-side ping/pong every 20 s (configurable); silent dead WS sockets are reaped at 2× that window.
Building from source
Local development with Zig
Easiest dev loop. saltare's build pipeline (scikit-build-core → CMake → Zig) needs three things on your machine:
- Zig 0.16+
- Python development headers (
Python.h) - OpenSSL development headers (
<openssl/ssl.h>, used by src/zig/tls.zig)
Linux (x86_64 or aarch64)
# Debian/Ubuntu
sudo apt install python3-dev libssl-dev cmake build-essential
# Fedora/RHEL/Rocky
sudo dnf install python3-devel openssl-devel cmake gcc
# Zig: pinned 0.16.0 tarball, both archs handled
bash scripts/install-zig.sh
macOS
brew install zig openssl@3
# Python headers come with Homebrew Python or python.org installers.
Then:
uv sync # or: pip install -e ".[dev]"
pip install -e . # builds the extension in place
pytest -q
If pip install -e . errors with zig was not found on PATH, your Zig install didn't end up in PATH — bash scripts/install-zig.sh symlinks /usr/local/bin/zig for you. If it errors with openssl/ssl.h: No such file or directory, the OpenSSL dev headers are missing (see the OS commands above). Both errors apply equally on x86_64 and aarch64; the Docker pipeline (make build) sidesteps them entirely by running everything inside the manylinux container.
Docker (no Zig on host)
If you don't want Zig on the host (CI-style builds):
./scripts/build-wheel.sh
# -> dist/saltare-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
This invokes Dockerfile, which:
- Pulls
quay.io/pypa/manylinux_2_28_x86_64. - Downloads pinned Zig (
scripts/install-zig.sh). - Builds the wheel and runs
auditwheel repair. - Exports
dist/*.whlto the host.
Override target via env: PYTHON_TAG=cp310-cp310 MANYLINUX_TAG=manylinux_2_28_aarch64 ./scripts/build-wheel.sh.
Releasing
Tag a version and push:
git tag v0.1.0 && git push origin v0.1.0
.github/workflows/release.yml runs cibuildwheel on Linux (x86_64 + aarch64) and macOS (x86_64 + arm64), builds the sdist, and publishes to PyPI via Trusted Publishing.
Project layout
.
├── build.zig # Zig build script (produces _core extension)
├── build.zig.zon # Zig package manifest
├── CMakeLists.txt # scikit-build-core invokes Zig from here
├── pyproject.toml # build backend + cibuildwheel config
├── Dockerfile # local manylinux+Zig build (builder/tester/bench/export)
├── Dockerfile.production # slim runtime image w/ jemalloc + MALLOC_ARENA_MAX=2
├── Makefile # build / test / bench / valgrind / production-image
├── scripts/
│ ├── install-zig.sh # pin & install Zig (used by Docker + CI)
│ └── build-wheel.sh # one-liner local Docker build
├── src/
│ ├── zig/
│ │ ├── module.zig # Python C-API surface (PyInit__core)
│ │ ├── server.zig # epoll accept loop + per-connection state machine
│ │ ├── eventloop.zig # epoll wrapper (Linux; kqueue TBD)
│ │ ├── http.zig # zero-alloc HTTP/1.1 parser + chunked decoder
│ │ ├── pool.zig # 4 KiB / 16 KiB read-buffer free-lists + MADV_DONTNEED
│ │ ├── timer.zig # hashed timer wheel for idle timeouts
│ │ ├── tls.zig # OpenSSL wrapper (handshake, read/write, pending)
│ │ ├── ws.zig # WebSocket framing (RFC 6455)
│ │ ├── master.zig # pre-fork multi-worker supervisor
│ │ └── bridge.zig # GIL-aware Python <-> Zig request dispatch
│ └── saltare/
│ ├── __init__.py # public Python API: run(), __version__
│ ├── cli.py # `saltare app:app --host ... --port ...`
│ ├── _dispatcher.py # asyncio loop + ASGI scope build / lifespan / WS
│ ├── __main__.py
│ └── _core.pyi # type stubs for the native module
├── benchmarks/ # `make bench` harness — saltare vs uvicorn vs granian
│ ├── app.py # shared FastAPI app (small + /large endpoint)
│ ├── bench.py # workload runners + Markdown table renderer
│ ├── run_saltare.py # single-worker / multi-worker saltare launcher
│ ├── run_uvicorn.py # plain uvicorn launcher (no [standard] extras)
│ └── run_granian.py # Rust+Python ASGI peer for triangulation
├── tests/ # pytest suite (HTTP, keepalive, chunked, lifespan,
│ │ # TLS, WebSocket, timeouts, multi-worker, shutdown,
│ │ # observability)
│ └── valgrind.supp # CPython-side leak suppressions for `make valgrind`
└── .github/workflows/
└── release.yml # cibuildwheel + PyPI publish on tag
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file saltare-1.5.0.tar.gz.
File metadata
- Download URL: saltare-1.5.0.tar.gz
- Upload date:
- Size: 258.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f306d5ded54b52f39e97f4da7f23c264a573a06c76432b841d39791598f7e96
|
|
| MD5 |
0b271a94f9d719e776f9e2bd5dd77e20
|
|
| BLAKE2b-256 |
8d0d0c400b30d9bc45634abdfba31dbec5f65b4f8c3c99718ea4e572cfaa6f3a
|
Provenance
The following attestation bundles were made for saltare-1.5.0.tar.gz:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0.tar.gz -
Subject digest:
8f306d5ded54b52f39e97f4da7f23c264a573a06c76432b841d39791598f7e96 - Sigstore transparency entry: 1463101636
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp314-cp314-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp314-cp314-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 194.6 kB
- Tags: CPython 3.14, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65a9d079d3d83c47dfb9324eb47cf6b9be88cc859cd50d7b6faf309632402956
|
|
| MD5 |
cae8d970b1121ecc4f9ad57366d6c905
|
|
| BLAKE2b-256 |
c0baee14e605ad012daf3171028eb4d1952721e3402c8ac48ec8a3325d48a700
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp314-cp314-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp314-cp314-musllinux_1_2_x86_64.whl -
Subject digest:
65a9d079d3d83c47dfb9324eb47cf6b9be88cc859cd50d7b6faf309632402956 - Sigstore transparency entry: 1463101761
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp314-cp314-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp314-cp314-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 196.7 kB
- Tags: CPython 3.14, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0801d2c76186b01a30a74e46d7fd5718b80cadbc777ff4b04438fae020e1f7c8
|
|
| MD5 |
81129fb029450368f9dde9449c252ecb
|
|
| BLAKE2b-256 |
5cc31eddf22486d6968f5f62393f1444aadb627c32e45b1bcfb537133d93f8d4
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp314-cp314-musllinux_1_2_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp314-cp314-musllinux_1_2_aarch64.whl -
Subject digest:
0801d2c76186b01a30a74e46d7fd5718b80cadbc777ff4b04438fae020e1f7c8 - Sigstore transparency entry: 1463101651
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp314-cp314-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp314-cp314-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 195.9 kB
- Tags: CPython 3.14, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e09546fa9c0fe20e8c02c8dc6f1a7bef87ba3ed75549aa761c23bd8210352e0d
|
|
| MD5 |
161fa2928e807949af1049cbc1aef969
|
|
| BLAKE2b-256 |
c1fe97d2e3b516eb9ed5d06c21657ca166d6ea9f6adc872296d07564c221467f
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp314-cp314-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp314-cp314-manylinux_2_28_x86_64.whl -
Subject digest:
e09546fa9c0fe20e8c02c8dc6f1a7bef87ba3ed75549aa761c23bd8210352e0d - Sigstore transparency entry: 1463101993
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp314-cp314-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp314-cp314-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 197.7 kB
- Tags: CPython 3.14, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f306ed5e1a08c4b597ad8d0826751f6444c2167f407530f8c28f874088ce30f
|
|
| MD5 |
f3225dcd531d62f1d4f1e3a227e4da42
|
|
| BLAKE2b-256 |
d05b03ccf20216d596963e93a0cc403684a6b0e92e906b357d76619e96489562
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp314-cp314-manylinux_2_28_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp314-cp314-manylinux_2_28_aarch64.whl -
Subject digest:
2f306ed5e1a08c4b597ad8d0826751f6444c2167f407530f8c28f874088ce30f - Sigstore transparency entry: 1463101985
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 194.6 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ddce8a33d2acc99e932e0d016f8fe9f916248c22df5a35592bd0e443280f14e
|
|
| MD5 |
aaa58c574157d29e1e8d5d1da9f0b00a
|
|
| BLAKE2b-256 |
7871f4ef1e34458ef02bc3191172b0a90bf8bef58da9a02faac846cb29494a8c
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp313-cp313-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp313-cp313-musllinux_1_2_x86_64.whl -
Subject digest:
0ddce8a33d2acc99e932e0d016f8fe9f916248c22df5a35592bd0e443280f14e - Sigstore transparency entry: 1463101956
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp313-cp313-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp313-cp313-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 196.7 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57d6bd8649643292a32630cc51b15da963b2634949493125d96df6dea5abf7d0
|
|
| MD5 |
726850efe79fb4c73e8126b0004ae89d
|
|
| BLAKE2b-256 |
76e4e4778acee5b2d73f83a71af75657ffea7558645eb382a4234e7bcf00baf2
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp313-cp313-musllinux_1_2_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp313-cp313-musllinux_1_2_aarch64.whl -
Subject digest:
57d6bd8649643292a32630cc51b15da963b2634949493125d96df6dea5abf7d0 - Sigstore transparency entry: 1463101673
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp313-cp313-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp313-cp313-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 195.9 kB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
651d8ed9db818d6ed50f5173b6ce43b2b1c5fe23f9f34a447e4c6c941586b212
|
|
| MD5 |
8cadcc6d60cd06e3a961be47f1fda73f
|
|
| BLAKE2b-256 |
e6af816c221fa0ffe06bf7fe997ca82a633aff40ba74efd9e56e3d9aff41e7e3
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp313-cp313-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp313-cp313-manylinux_2_28_x86_64.whl -
Subject digest:
651d8ed9db818d6ed50f5173b6ce43b2b1c5fe23f9f34a447e4c6c941586b212 - Sigstore transparency entry: 1463101707
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp313-cp313-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp313-cp313-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 197.7 kB
- Tags: CPython 3.13, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df11c52e7c15914ba07f107f988376ac324f9e56b5c1ee4b475a82b261251ff4
|
|
| MD5 |
bc8a6ae0aaea93b7a7d516380492d0d8
|
|
| BLAKE2b-256 |
44a51ac8c9c1028123919fa240a302698232d3ae9f14e0e308e58963b009d62f
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp313-cp313-manylinux_2_28_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp313-cp313-manylinux_2_28_aarch64.whl -
Subject digest:
df11c52e7c15914ba07f107f988376ac324f9e56b5c1ee4b475a82b261251ff4 - Sigstore transparency entry: 1463101771
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 194.6 kB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
582ab2e4d6a875161f147f650205dad9671d618bb61e964c2ff573dc983f0d87
|
|
| MD5 |
c8cb74f466bf1a9ca1c5db15c35b71d5
|
|
| BLAKE2b-256 |
186e115932feb0075f565fce33030fb12be3fcec31e9ffdceb631085f31d5027
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp312-cp312-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp312-cp312-musllinux_1_2_x86_64.whl -
Subject digest:
582ab2e4d6a875161f147f650205dad9671d618bb61e964c2ff573dc983f0d87 - Sigstore transparency entry: 1463101733
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp312-cp312-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp312-cp312-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 196.7 kB
- Tags: CPython 3.12, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b74b37effc58d7d619b292da6e3b0b99156ee977645e56b6d26867d72772cc90
|
|
| MD5 |
68cf45738d7fca7ec836c5be2a2fd6f0
|
|
| BLAKE2b-256 |
24be1720557218f156505226e12150485ee6f1e78803338f8d8299da516b56e8
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp312-cp312-musllinux_1_2_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp312-cp312-musllinux_1_2_aarch64.whl -
Subject digest:
b74b37effc58d7d619b292da6e3b0b99156ee977645e56b6d26867d72772cc90 - Sigstore transparency entry: 1463101815
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp312-cp312-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 195.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89b22ca34a1d09ee1deac85954aa65a240df74624df2b99f8e2e309dbe69ce07
|
|
| MD5 |
28e0ec00ad1de9647b414f50fdd0d0f8
|
|
| BLAKE2b-256 |
5ba311b41734f9bb8f2cb798cdeab9df62d7e19edd4de9be73035635fd83dd87
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp312-cp312-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp312-cp312-manylinux_2_28_x86_64.whl -
Subject digest:
89b22ca34a1d09ee1deac85954aa65a240df74624df2b99f8e2e309dbe69ce07 - Sigstore transparency entry: 1463101882
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp312-cp312-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp312-cp312-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 197.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a93b673741b8a16484e0a856b9a6dc7aa8fca9dd8efa4e8ddcaea5fa7083ff0
|
|
| MD5 |
485962ba0bda78c685daa71b531d82ba
|
|
| BLAKE2b-256 |
2bce394af2b92aa5b5413fb817bd874b04700450c26de78fc9761b2fd655b538
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp312-cp312-manylinux_2_28_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp312-cp312-manylinux_2_28_aarch64.whl -
Subject digest:
7a93b673741b8a16484e0a856b9a6dc7aa8fca9dd8efa4e8ddcaea5fa7083ff0 - Sigstore transparency entry: 1463101854
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 194.6 kB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96e2ac4ff8693447a41738cd2d1e7bf1779a7e2206597b0da689d94cb4ee4e81
|
|
| MD5 |
4ac6ea6fe4c72a0a580534b92f01c41b
|
|
| BLAKE2b-256 |
3bcb50f77db2c1eb224bf7a48a3539368eb43756c74f358897f3d9dcb2006e10
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp311-cp311-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp311-cp311-musllinux_1_2_x86_64.whl -
Subject digest:
96e2ac4ff8693447a41738cd2d1e7bf1779a7e2206597b0da689d94cb4ee4e81 - Sigstore transparency entry: 1463101974
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp311-cp311-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp311-cp311-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 196.7 kB
- Tags: CPython 3.11, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af2b4de872347a884ab0d09e23ed1d188b855a8497da24ed8a4c00644729413c
|
|
| MD5 |
775c527fd8cc447f9b98c925a4aa50a4
|
|
| BLAKE2b-256 |
4167726d58a3ee79357a1f2e85c9842f06dde594e738aae41be26fd5f8d492a1
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp311-cp311-musllinux_1_2_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp311-cp311-musllinux_1_2_aarch64.whl -
Subject digest:
af2b4de872347a884ab0d09e23ed1d188b855a8497da24ed8a4c00644729413c - Sigstore transparency entry: 1463101835
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 195.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec7c8cc83bafcafe84295aa5900a08cae579f76b9c44f36e7836158e0e0c0313
|
|
| MD5 |
fec6be20c6174b6289989d603b2a297a
|
|
| BLAKE2b-256 |
2f0656e88f0a744e0a520a44553bf00aaeb7799cf456b0e933fb43d524208ec2
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp311-cp311-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp311-cp311-manylinux_2_28_x86_64.whl -
Subject digest:
ec7c8cc83bafcafe84295aa5900a08cae579f76b9c44f36e7836158e0e0c0313 - Sigstore transparency entry: 1463101786
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp311-cp311-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp311-cp311-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 197.7 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6466de2ae32744c5ce96562448081d98a7ea893eca0f96e8917c4985986bac4d
|
|
| MD5 |
68b90b940d74698cd31f64b42dcd18e7
|
|
| BLAKE2b-256 |
aba4e4df312be8b9e22022f14e9b58c0308d66f71d76a0bea90f19745d502192
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp311-cp311-manylinux_2_28_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp311-cp311-manylinux_2_28_aarch64.whl -
Subject digest:
6466de2ae32744c5ce96562448081d98a7ea893eca0f96e8917c4985986bac4d - Sigstore transparency entry: 1463101936
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 194.7 kB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9846f41f74d754b4d35cc59c9e263ac64de19f616e7d8b46c8ee5470abe65a13
|
|
| MD5 |
4dbf90eb27564014d380f4aa610937c6
|
|
| BLAKE2b-256 |
db6540f2785edadb4776abec3c9f7c277c00ea8e7f8165d80fc29d3e44ddbe62
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp310-cp310-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp310-cp310-musllinux_1_2_x86_64.whl -
Subject digest:
9846f41f74d754b4d35cc59c9e263ac64de19f616e7d8b46c8ee5470abe65a13 - Sigstore transparency entry: 1463101922
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp310-cp310-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp310-cp310-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 196.9 kB
- Tags: CPython 3.10, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9c09d5b21adae06617df67b113ed2d6115c6fd086c4e1506e22cd9f11af1448
|
|
| MD5 |
c9a337aeccd8a48c302c71bcd6cc6ecf
|
|
| BLAKE2b-256 |
4ab452dd2ffa766af18a18d7be664fe7c44da6c937a8749d2d88253284d2796e
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp310-cp310-musllinux_1_2_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp310-cp310-musllinux_1_2_aarch64.whl -
Subject digest:
e9c09d5b21adae06617df67b113ed2d6115c6fd086c4e1506e22cd9f11af1448 - Sigstore transparency entry: 1463101895
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp310-cp310-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: saltare-1.5.0-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 196.0 kB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ef39fe4a2e4e9486bc93287cb2eb466896711394a97e34316083370cf80cc7c
|
|
| MD5 |
b10823ec0e590fba991ad3da358a16a7
|
|
| BLAKE2b-256 |
0d0db6e4097b8769754e5cde5bb2968e59630818ac17dc8973b78a95c68eb3dc
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp310-cp310-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp310-cp310-manylinux_2_28_x86_64.whl -
Subject digest:
3ef39fe4a2e4e9486bc93287cb2eb466896711394a97e34316083370cf80cc7c - Sigstore transparency entry: 1463101722
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file saltare-1.5.0-cp310-cp310-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: saltare-1.5.0-cp310-cp310-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 197.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f7290122fd445bb80d78ad83e936355a98a0ef2140f76c61eb2b72849077b81
|
|
| MD5 |
c6f82274043b20658036a77f5aaa293f
|
|
| BLAKE2b-256 |
c0bbc6f730b04aeb6c5a7994c41dfb1303ea7db73e5857bb959fdcaa76c9f1f7
|
Provenance
The following attestation bundles were made for saltare-1.5.0-cp310-cp310-manylinux_2_28_aarch64.whl:
Publisher:
release.yml on rroblf01/saltare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saltare-1.5.0-cp310-cp310-manylinux_2_28_aarch64.whl -
Subject digest:
0f7290122fd445bb80d78ad83e936355a98a0ef2140f76c61eb2b72849077b81 - Sigstore transparency entry: 1463101695
- Sigstore integration time:
-
Permalink:
rroblf01/saltare@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/rroblf01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e482066963118cecbe5d55d50807fcbcacd6a8e9 -
Trigger Event:
push
-
Statement type: