Skip to main content

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, and described in OpenAPI, with Swagger UI.
  • Fast: on one CPU core, among the fastest Python frameworks tested; its own server serves more than uvicorn, Granian, Robyn and FastrAPI on the same cores, with less memory.
  • Complete: dependencies, WebSockets, a test client, ready-made middleware, and its own server, with workers and threads.

Korvex is young (alpha): the API can still change before 1.0, each change listed 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

examples/ goes from a few lines to a complete app laid out like a real project.

Performance

The same app on the same 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 layout of the code and every check CI runs; ROADMAP.md what's planned. Report a vulnerability privately, as SECURITY.md explains. Everyone taking part follows the code of conduct.

License

MIT

Metadata

Release files for korvex 0.14.1

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 0.14.1
File Size Uploaded Provenance Actions
korvex-0.14.1.tar.gz 592.4 kB With provenance Details for korvex-0.14.1.tar.gz

Built distributions (wheels)

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

Total release size: 14.3 MB

Release files / korvex-0.14.1.tar.gz

Download URL korvex-0.14.1.tar.gz
Size 592.4 kB
Tags Source
SHA-256 checksum
How to use checksums
60cb2443d6a5fc60b0b9f256c692b4397f7c7610f43609447b5a0090f3bd63dc
BLAKE2b-256 checksum
How to use checksums
5115e0c5f24281e98b0a5d37db1f4f69ed8ef21d22f2a062298479ef47649af1
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp314-cp314t-win_amd64.whl

Download URL korvex-0.14.1-cp314-cp314t-win_amd64.whl
Size 845.0 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
7995fb1cfddc04f5fb8cea3c0ec7e29351131cd9b95d8eb516c08533da673726
BLAKE2b-256 checksum
How to use checksums
b6ec894f25240f2d2896707fa8b21bccd7857e8753ef30865be08a6ceb6fa3d3
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-0.14.1-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
522ea57974363739b71d3ef1d7e79b2aeba530a4500519f05ff4142d0024cc02
BLAKE2b-256 checksum
How to use checksums
db0b22270219512198f37a32b1325d69b47e7ac08948373543fd4472bdd098f0
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-0.14.1-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
a9a1e6c6fd150e5867758fdc264ae933a1ad70a2b41762eb07ec88808731b2d9
BLAKE2b-256 checksum
How to use checksums
654049b19aaca3673e500cf3dcd517e867bb79e0e5854ec5ef06cd10ce0334b7
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp314-cp314t-macosx_11_0_arm64.whl

Download URL korvex-0.14.1-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
5b8209dad11da02d4cd1141fb283df03ddce0565c214980982c609e7dbaa670e
BLAKE2b-256 checksum
How to use checksums
56e1855b7496e71e127847ad4d87bd6901b28786ad168e18924aba159ed04dfe
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp314-cp314t-macosx_10_12_x86_64.whl

Download URL korvex-0.14.1-cp314-cp314t-macosx_10_12_x86_64.whl
Size 1.4 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
94684e05051a69ae7d3d240635ad7fee79073e6c974c90cf07ae15e60571b421
BLAKE2b-256 checksum
How to use checksums
a92a4abe3873c02c953837612f7b7be453faec689adf99e66cac5da6113ee9b5
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp39-abi3-win_amd64.whl

Download URL korvex-0.14.1-cp39-abi3-win_amd64.whl
Size 852.9 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
dc4e04d6df86cc52172c3eaf54e209b43b67a7cbbc9b4d599834a1587cedd3b1
BLAKE2b-256 checksum
How to use checksums
b2a197c6979a20f7634469a85dc7874ba0821129dfd3a4d715c38673b23006cb
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-0.14.1-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
963fe8820ed71bbb0b1ecff0320cb9b75d7d63939165f806521ecd54685739b3
BLAKE2b-256 checksum
How to use checksums
8163bc173ee0df394cece49a750e424ea0a62e5d029ab222659c6f4bd55dfb62
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-0.14.1-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
02ef44694df8b474e428347e5c6e88617f0d475012de936ecc230e475e3aaac4
BLAKE2b-256 checksum
How to use checksums
59d3e13a88d50ac3f960b9fc4db67598c9abc563c9dc3d4e8a632b2f93c09d5f
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL korvex-0.14.1-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
fccb89fb1d2f19809ef68250b0e894592b531c9f49231d143a3763dab56ecb7d
BLAKE2b-256 checksum
How to use checksums
1356f95d2bfc066f1eb4f2e13a865c7da3781244baba4af32a791937d179fe28
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 9, 2026.

Transparency log

Release files / korvex-0.14.1-cp39-abi3-macosx_10_12_x86_64.whl

Download URL korvex-0.14.1-cp39-abi3-macosx_10_12_x86_64.whl
Size 1.4 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d0c212f4462f5944a747354d1570f43268ead1aa2ae6ea9164e5ea2d0d850771
BLAKE2b-256 checksum
How to use checksums
b8d260df1812746bc4e1da65a6798700821043a530534ff2f1d6d8d2de8485d2
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 9, 2026.

Transparency log

Security for korvex 0.14.1

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-0.14.1.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 9, 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