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, it serves more requests than the other Python frameworks tested, 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 126.4k and 130.5k, Granian with the Korvex app 111.6k and 113.4k, uvicorn with the Korvex app 105.0k and 96.3k, Robyn 90.3k and 81.9k.
  • On one core with uvicorn, Korvex serves 33.7k requests/s; Starlette 3.0k to 30.6k, FastAPI 1.6k to 12.4k.
  • With validation, a request takes 17.8 µs in Korvex, 76.2 µ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.0

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

Built distributions (wheels)

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

Total release size: 14.2 MB

Release files / korvex-0.14.0.tar.gz

Download URL korvex-0.14.0.tar.gz
Size 579.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dac17079b7b9e46db10f544bed495151ae9e16062d83e1211f290910ca5fbd7e
BLAKE2b-256 checksum
How to use checksums
9b3431929f9ec7b57a1da14133e01bf1d190801985fb0e63d23d1543d7fa40be
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-cp314-cp314t-win_amd64.whl
Size 842.3 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
9c4245286972a1739a6e2f03f1acf2107c6db74ee3947c20301e1ffe96903405
BLAKE2b-256 checksum
How to use checksums
504b5be6bddf882e5af1babfef63525b05fb27c81115fba6c0e457484f393eac
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-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
c0262e9da9fad71820b22af0812e7751b59aadccb769c79c9072dae2bd451e0b
BLAKE2b-256 checksum
How to use checksums
4e501538973b1a46e7da1de5d8d1864825741dfb2e7bf3b105d032a5fa68eb7d
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-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
b9e2bd2e92e8bb3d2921d2c6a9d3b3ae3e134c8e07f0d6bf1de75c51e66a6733
BLAKE2b-256 checksum
How to use checksums
5ab03a51d449fcdb11dea437e52e1ef92e46cf7e75ee2a4b4d8dca8f83576b03
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-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
64293b1a82b679478ea764412ae7035670b31539d6c56fb744dddb78ea0b61de
BLAKE2b-256 checksum
How to use checksums
4ff56c85cd731ab7bba70650647933e61ebea208ddf6c1d6bbe176368d50071c
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-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
956379df283d584755113dab3abf8f25c4c01863b3901b38100bb0b08c94684e
BLAKE2b-256 checksum
How to use checksums
91108c5fc222b6762103afdd3cd539087f421ee7915fea16c3645541383d6753
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-cp39-abi3-win_amd64.whl
Size 851.7 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
14bab55152cc07f4326660f8102d0b3176065e6f75989652385b7b1b857e79ed
BLAKE2b-256 checksum
How to use checksums
5ffa53ddf9d74351f6cb4b395db2176b548520bd97fa4e900904c67010dc5753
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-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
a7187dcf263f43069f403e93cccae4f9775738f35c05588f476c86cba6cc8df2
BLAKE2b-256 checksum
How to use checksums
84e8c206f9220bbd1f7dc48bcb9ac5bd34fc750808bc5dd616881ca029dea574
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-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
942a35be8e3e6283c823238972fc918a4986230b72de6b9bb748cdab5165f801
BLAKE2b-256 checksum
How to use checksums
6c4124ad7cc4ce183c65c85bf5a37aa19432c9c713651ff7f9e9a73ee9dc548d
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-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
51cf8685fe6ade2284b28566349af81e57b6736e4ac843f64c9bc2588f94ccf5
BLAKE2b-256 checksum
How to use checksums
b9e5d9104828698f9a3d7d876d82a5a273618539a88a86657808cc42d6b94f9a
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 6, 2026.

Transparency log

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

Download URL korvex-0.14.0-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
9e40982f378745b2e56d139946cdf8e3d34f1943bfdec45cbeb7dec0b9777cf7
BLAKE2b-256 checksum
How to use checksums
69a2a794a75278778506806e9d3f39db72302996ec206eb17ff83631692990b9
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 6, 2026.

Transparency log

Security for korvex 0.14.0

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.0.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 6, 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