Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds veil-python (Python, framework profile,
emerging,standardmode): an application written withveil-api 0.10.1, the Python bindings of the veil
server. The HTTP/1.1, HTTP/2, HTTP/3 and WebSocket server is veil's (Rust, epoll readiness reactor in the Linux
wheels); Python runs the handlers. I maintain veil.
@app.get/@app.posthandlers with path and query binding;/baseline11,/baseline2and/pipelineuseoffload=False(small non-blocking handlers run on the network worker, as in veil-api's production notes)./json/{count}?m=returns adict, serialized to JSON on every request;/delay/{ms}isasync defwithasyncio.sleepon veil's persistent event loop;/echo;/wsis@app.websocket.grpcio-tools, registered onveil.grpc.Server(app)with the generatedadd_BenchmarkServiceServicer_to_server(veil serves it; grpcio's server is not used)./static/*throughapp.serve_dir; compression through[api] compression.[[listener]]s fromveil.toml.Completeness:
middlewareis declaredfalse— veil-api hasDepends(before the handler, can answer early) andnative CORS, but no general before-and-after middleware around native routes.
Subscribed tests: the same 22 as veil-api (baseline … echo-ws-limited, including unary-grpc and unary-grpc-tls).
Local validation (
./scripts/validate.sh veil-python, veil-api 0.10.1 from PyPI): 113 passed, 0 failed (frag 9/9, WS 7/7, gRPC h2c and TLS, h3, static-tls compression).🤖 Generated with Claude Code