Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Korvex

PyPI Python versions CI License: MIT

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 is young (alpha): the API can change before 1.0. Each change is in the changelog with how to update.

pip install korvex

Quickstart

import msgspec                       # or pydantic: pip install 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).

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:

Requests per second on the same 4 CPU cores, with 200 and 1,000 clients: Korvex built-in server 142.7k and 145.4k, Granian with the Korvex app 123.9k and 134.1k, uvicorn with the Korvex app 117.5k and 110.4k, Robyn 95.7k and 91.7k, FastrAPI 61.4k and 67.1k.
  • 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

MIT

Metadata

Release files for korvex 1.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for korvex 1.0.0rc1
File Size Uploaded Provenance Actions
korvex-1.0.0rc1.tar.gz 684.2 kB With provenance Details for korvex-1.0.0rc1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for korvex 1.0.0rc1
File Actions
korvex-1.0.0rc1-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details for korvex-1.0.0rc1-cp314-cp314t-win_amd64.whl
korvex-1.0.0rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Details for korvex-1.0.0rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
korvex-1.0.0rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 Details for korvex-1.0.0rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
korvex-1.0.0rc1-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details for korvex-1.0.0rc1-cp314-cp314t-macosx_11_0_arm64.whl
korvex-1.0.0rc1-cp314-cp314t-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 Details for korvex-1.0.0rc1-cp314-cp314t-macosx_10_12_x86_64.whl
korvex-1.0.0rc1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for korvex-1.0.0rc1-cp39-abi3-win_amd64.whl
korvex-1.0.0rc1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for korvex-1.0.0rc1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
korvex-1.0.0rc1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for korvex-1.0.0rc1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
korvex-1.0.0rc1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for korvex-1.0.0rc1-cp39-abi3-macosx_11_0_arm64.whl
korvex-1.0.0rc1-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for korvex-1.0.0rc1-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 14.7 MB

Release files / korvex-1.0.0rc1.tar.gz

Download URL korvex-1.0.0rc1.tar.gz
Size 684.2 kB
Tags Source
SHA-256 checksum
How to use checksums
32bcd1e923d482ac94a615581529ac65730af7fe61e1dbdc45fd855655f26009
BLAKE2b-256 checksum
How to use checksums
6c1330c791ebc3b2240762f109d7c15cbf078de9936878c74561329ace84d498
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 log

Release files / korvex-1.0.0rc1-cp314-cp314t-win_amd64.whl

Download URL korvex-1.0.0rc1-cp314-cp314t-win_amd64.whl
Size 871.3 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
840b052b9075e1011cef39d2ac03c636ce8be65d1d9cded80fcf420de8625adb
BLAKE2b-256 checksum
How to use checksums
439a2f4c097785935f5fd5c489e92055abc739c5adbf38e4815bc2ec27d02041
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 log

Release files / korvex-1.0.0rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc1-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
8ebf0776d18cb725cbb933532b00e998eb99b2dee183d9768fb04d48e42b4469
BLAKE2b-256 checksum
How to use checksums
a2db0f8738553ac8c289374113fcafe80af1efbbf0ec40fa99d237fe3e3c511e
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 log

Release files / korvex-1.0.0rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc1-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
516047ec4abeef4b26f0d56c810b106b04999c21aa7b89860d1fbcb62d10b0d6
BLAKE2b-256 checksum
How to use checksums
667d6b40aba22632525dcd07c1daabc959552cd0c31ce4eb98bc6c8cb84bce61
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 log

Release files / korvex-1.0.0rc1-cp314-cp314t-macosx_11_0_arm64.whl

Download URL korvex-1.0.0rc1-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
b9ab138dcd49635b8c45e0e2ffb3d0fc6be587e2901cb130f1252562dfedfb23
BLAKE2b-256 checksum
How to use checksums
1af28539aaaec42413ab69cb70ff7e1ccba8f4ae8cc6f4c97655c8b7cb337da8
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 log

Release files / korvex-1.0.0rc1-cp314-cp314t-macosx_10_12_x86_64.whl

Download URL korvex-1.0.0rc1-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
bf1cb0d2fe23d666024e148c498555bcae98d13c965b5212770248464d6ca51a
BLAKE2b-256 checksum
How to use checksums
a241613ca1077297315b0f40038818606ad28e0f43b859602893e088926d9ea7
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 log

Release files / korvex-1.0.0rc1-cp39-abi3-win_amd64.whl

Download URL korvex-1.0.0rc1-cp39-abi3-win_amd64.whl
Size 880.5 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c0c8fd3c221437bc1d3165b8a3010832915719e3431df7d6da70d01259234cbb
BLAKE2b-256 checksum
How to use checksums
9fc2a2cc5e9197369743be863ea6b93cdbd9176f866e3b29229e4525caf1ddbb
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 log

Release files / korvex-1.0.0rc1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc1-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
e90cc9fda86ab9ad81029b2d601b4a25d7db0c7a24cd4e9a32c87b9b1b1e4be7
BLAKE2b-256 checksum
How to use checksums
11c901dbef4dc679b9e30192d96558a0570cec84bf3509806f9589183f4110ca
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 log

Release files / korvex-1.0.0rc1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc1-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
4e69d3524c86c4f93887d0852d26a05bcdffa2b785f556b1d5dfc7e0226fc902
BLAKE2b-256 checksum
How to use checksums
3a786140ee61761775893bd7368ebf85703678ca5893aec2c07fd7ccd3538d88
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 log

Release files / korvex-1.0.0rc1-cp39-abi3-macosx_11_0_arm64.whl

Download URL korvex-1.0.0rc1-cp39-abi3-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
46ea303d48704b480725e23646a9fea296e87998a4630b97648e2dbcd2d3620b
BLAKE2b-256 checksum
How to use checksums
0284b089571b80d8466bd4611f5b86576dd33cc817c4859b53490660b5106a89
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 log

Release files / korvex-1.0.0rc1-cp39-abi3-macosx_10_12_x86_64.whl

Download URL korvex-1.0.0rc1-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
a7ba672cfeedbca14052fe5428e952e09fb71c093d3a06a7f4197c0ba2e2123f
BLAKE2b-256 checksum
How to use checksums
fc6d528bf11905c094a90c18954598272c0d64dd3952d9afabe83cc0f2eb3ee4
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 log

Security for korvex 1.0.0rc1

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.

Select from 11 files

Attestation for korvex-1.0.0rc1.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 log

A 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.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page