This release is a pre-release and may not be stable for production use.
Korvex
A fast Python web framework, with a router and an HTTP server written in Rust.
- Simple: a function per route; its parameters say what it reads.
- Typed: parameters and bodies validated with msgspec or pydantic, described in OpenAPI, with Swagger UI.
- Fast: among the fastest Python frameworks on one core; its own server serves more than uvicorn, Granian, Robyn and FastrAPI on the same cores, with less memory.
- Complete: dependencies, WebSockets, server-side HTML templates, a test client, ready-made middleware, and its own server, with workers and threads.
Korvex 1.0 is in release candidates: what rc1 froze won't break; features
added since can still change until 1.0.0. Install with
pip install --pre korvex. Every change is in the changelog.
pip install --pre korvex
Quickstart
import msgspec # or pydantic: pip install --pre korvex msgspec
from korvex import App, HTTPException
class Task(msgspec.Struct):
id: int
title: str
app = App()
app.docs(title="Tasks") # Swagger UI at /docs
TASKS = {1: Task(1, "Write the docs")}
@app.get("/tasks/{id:int}")
def get_task(id: int) -> Task:
"""Get a task"""
if id not in TASKS:
raise HTTPException(404, "no such task")
return TASKS[id]
if __name__ == "__main__":
app.run() # http://127.0.0.1:8000/tasks/1
And its test:
from korvex.testing import TestClient
def test_get_task():
with TestClient(app) as client:
assert client.get("/tasks/1").json() == {"id": 1, "title": "Write the docs"}
assert client.get("/tasks/2").status == 404
The guide
Also on the documentation site, with
the API reference. Using an AI coding agent? Run korvex agents in your
project to install a Korvex skill (more).
- Routes: path parameters, groups, hosts, links, static files.
- Requests and responses: what a handler gets and returns, streams, Server-Sent Events, background tasks.
- Validation: typed parameters, JSON bodies, headers, cookies, forms.
- Dependencies: signing in, database connections, shared checks.
- Errors and hooks: errors, code around every request, startup and shutdown.
- WebSockets
- Templates: server-rendered HTML, with escaping and hashed static URLs.
- OpenAPI and security: statuses, tags, documented errors, Bearer and API keys.
- Ready-made middleware: CORS, request IDs, rate limiting, compression.
- Sessions and CSRF: signed cookie sessions, flash messages, protection against cross-site forms.
- Testing
- The built-in server and deployment: nginx, Caddy, Docker, AWS Lambda.
examples/ goes from a few lines to a
complete app.
Performance
The same app on 4 CPU cores, each server with its best number of workers:
- On one core with uvicorn, Korvex serves 34.4k requests/s; Falcon 30.5k, Starlette 3.0k to 30.3k, FastAPI 1.6k to 12.6k.
- With validation, a request takes 16.6 µs in Korvex, 73.5 µs in FastAPI.
- On free-threaded Python, one worker with 3 threads serves 57% more than one thread, with a third of the memory of 4 workers.
Performance has every benchmark and how to run them.
Contributing
uv sync # the tools, and Korvex built from source
uv run pytest
CONTRIBUTING.md has the code layout and every check CI runs; ROADMAP.md what's planned. Report a vulnerability privately, as SECURITY.md explains. Everyone follows the code of conduct.
License
Metadata
Release files for korvex 1.0.0rc4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| korvex-1.0.0rc4.tar.gz | 739.5 kB | With provenance | Details for korvex-1.0.0rc4.tar.gz |
Built distributions (wheels)
Total release size: 14.9 MB
Release files / korvex-1.0.0rc4.tar.gz
| Download URL | korvex-1.0.0rc4.tar.gz |
|---|---|
| Size | 739.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54633b82f6dfc78ebf13337ccf8d22e6bc5ed56f692cf0b9d3bc197750e9546f
|
|
BLAKE2b-256 checksum How to use checksums |
283b249ebb827935d26d5deab1cdaf6a4dc1d0d72a5a2c55114fec728660fc22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp314-cp314t-win_amd64.whl
| Download URL | korvex-1.0.0rc4-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 887.2 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
df4e8764511d1b09e4def0b4666852f465837646b1d63d01007bc9d5fcf4e8f8
|
|
BLAKE2b-256 checksum How to use checksums |
d530a90b85994f0717ef6e8f06aff1d5931801cf29f232cf7e535ec7e341be45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | korvex-1.0.0rc4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1a2b5fc350bf7e3ba933110d4a1f4d55c46b6a17af5631f70fe5e976afe5f6f7
|
|
BLAKE2b-256 checksum How to use checksums |
f21ff1ef603586ec7abece0632798a2b7d2ca6590584a4dc3c3eb3013d78927f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | korvex-1.0.0rc4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
d60d1b701f32312eb40b3618f4c00ddcc18be58e976b6e981de583b28150fc0e
|
|
BLAKE2b-256 checksum How to use checksums |
aa153cde94628f63a8a73554c305f569960ccda44050ab840059ab798e47c962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | korvex-1.0.0rc4-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
70cd6854b6938df333dd2f1e5a2a495cf52b59e5f5662961cf49413161ad8a0c
|
|
BLAKE2b-256 checksum How to use checksums |
4f07c6ae7415c0ae60019579f2f93f80dc4a17bb1ab4cf6062b85d8d7ddea331
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp314-cp314t-macosx_10_12_x86_64.whl
| Download URL | korvex-1.0.0rc4-cp314-cp314t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
6d987014c3313fab611bf9c3d5b084accc94dd9833d310ad988f39bac0a83e62
|
|
BLAKE2b-256 checksum How to use checksums |
56306e682eaeebe6a6ff0447406b4a464a714ee837c6073d5b9a13784a02a1d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp39-abi3-win_amd64.whl
| Download URL | korvex-1.0.0rc4-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 896.4 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
d30507d21b6ebf41a9a648ac1d1a3d241a10ed12ad9a1543f92ef012a8078b1c
|
|
BLAKE2b-256 checksum How to use checksums |
bbd801f6b7a7716dff24fccbe21ae29a6f9a9fffb52cb54673426ab7df2b1291
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | korvex-1.0.0rc4-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
662380cb1241baf71baf16e40d07006e2b3704d34c4cf43ad6b4e42d52e133fd
|
|
BLAKE2b-256 checksum How to use checksums |
506236578e33c96ed55ed7c18ded04d1141d969c7bce75b0c6185ea2891b6caf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | korvex-1.0.0rc4-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
a586c01e1ec28fe65401bad161e2d8a204f071f9e1b4e50d8bc2dc1a7a322974
|
|
BLAKE2b-256 checksum How to use checksums |
8a9c84e267adb661c1a56479901364593a3954992e5ac4e6c41d002b1fb47dbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | korvex-1.0.0rc4-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
41779c4e00ec0cd3f670676fbc562ba67360f9f14c851b4365b1e4de6059bc74
|
|
BLAKE2b-256 checksum How to use checksums |
1ef8e95848f758641f3ddc109c3dab5e93231fe502ec759d67a383b72a2fdc82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / korvex-1.0.0rc4-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | korvex-1.0.0rc4-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
1613785f7cafc3f6cf420b75c03291928c70a1c3964534e249121b08d22f4078
|
|
BLAKE2b-256 checksum How to use checksums |
916398fe971e6ba256efd4c9ace0c45ff202995e0b34859d52dd15414e403d31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for korvex 1.0.0rc4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 11 files in this release have been uploaded with provenance metadata.
Attestation for korvex-1.0.0rc4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.