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

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.0rc6

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

Built distributions (wheels)

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

Total release size: 14.9 MB

Release files / korvex-1.0.0rc6.tar.gz

Download URL korvex-1.0.0rc6.tar.gz
Size 663.9 kB
Tags Source
SHA-256 checksum
How to use checksums
574b08d7ec53b49c25606033d10eecdc7e3d281aa259a49e144eb805e1be458f
BLAKE2b-256 checksum
How to use checksums
ff3ed752807b6b83363981d1a15d696a4043a5f8358c273e51033aa8ec03479f
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 20, 2026.

Transparency log

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

Download URL korvex-1.0.0rc6-cp314-cp314t-win_amd64.whl
Size 891.1 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
2b5ccd8b59c1e998d70f5c8541cd9e9bf8b76139a0682d5306b7df5cbe12666a
BLAKE2b-256 checksum
How to use checksums
0b84f2c8a404e648813d8c65215a867ee3904da96e76174d4157611fdc3bca1a
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 20, 2026.

Transparency log

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

Download URL korvex-1.0.0rc6-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
4049b944b632e1f00ea2bc172a6e20dfe3d798885c7ae0e85423212f023d65af
BLAKE2b-256 checksum
How to use checksums
c5098a0347c72be33b06aa5e8ab8e122a4b5d9a7a6eaff1bb9b4e11cd5e51065
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 20, 2026.

Transparency log

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

Download URL korvex-1.0.0rc6-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
c9d490a14f1c5f8f561a6483b037bc21c03e57487d427aa70f4f1c19461b929e
BLAKE2b-256 checksum
How to use checksums
05d79a7bccc11611fae5e610d0a383c3c823551da43a38b91e7e127d39703956
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 20, 2026.

Transparency log

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

Download URL korvex-1.0.0rc6-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
198a2cf85d712b1cf8c6ea62634530288a2f40fc2f789ea7cb386d03848d74f7
BLAKE2b-256 checksum
How to use checksums
f5c33a692b66c573d9dc35e49776ae1beccd2ed7e22d00627492d0378d318831
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 20, 2026.

Transparency log

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

Download URL korvex-1.0.0rc6-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
76b7179d6b7946c3d927715d5e29b5a0772eee40461ae4315221592f2e79084d
BLAKE2b-256 checksum
How to use checksums
3ed7cd4389a0b9811394537aac59ae20cfd47c4b7f5077b21eec351829074051
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 20, 2026.

Transparency log

Release files / korvex-1.0.0rc6-cp310-abi3-win_amd64.whl

Download URL korvex-1.0.0rc6-cp310-abi3-win_amd64.whl
Size 896.6 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
60bd2dac2316c04b604da3ecf3e86d6e9045e7087d78b6e8b45de51c59b67c2e
BLAKE2b-256 checksum
How to use checksums
7bb9ba3efa01288b975fbf725d80bf2c47e2b771da3dc2feb0394b5e72abc9e0
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 20, 2026.

Transparency log

Release files / korvex-1.0.0rc6-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc6-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2777f467520066f42f46798996846e0f22d861fd44c68f070faf2bb7ecd3ad3f
BLAKE2b-256 checksum
How to use checksums
05d12f018cd95dfa3ef8c911a7177e842780bb1f71da25e3e7e86a126f8861c9
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 20, 2026.

Transparency log

Release files / korvex-1.0.0rc6-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc6-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.6 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
88418549d886351c70e0e35f9e6d3792cc3cde14dc5b424c29f306db4c80f0ea
BLAKE2b-256 checksum
How to use checksums
3caea0c51722fdecffedbac5dbb1f4290f985a2d9bf9cbf9965ed94bab444efd
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 20, 2026.

Transparency log

Release files / korvex-1.0.0rc6-cp310-abi3-macosx_11_0_arm64.whl

Download URL korvex-1.0.0rc6-cp310-abi3-macosx_11_0_arm64.whl
Size 1.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
adcbd6531eeb280e148e0c588b562075da753afa80eebacfc5b69bbbcfd68535
BLAKE2b-256 checksum
How to use checksums
290faf9a94047ae01fd20faec7257a29c3d577809bc352d7f54762db794234e1
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 20, 2026.

Transparency log

Release files / korvex-1.0.0rc6-cp310-abi3-macosx_10_12_x86_64.whl

Download URL korvex-1.0.0rc6-cp310-abi3-macosx_10_12_x86_64.whl
Size 1.5 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4e8653e977baaf65f7a8ebe8599af8071d14fcbe90702529c760777d6b4e46ae
BLAKE2b-256 checksum
How to use checksums
fa209580319eab1f78af55efe143a299ddc7550f0145acc9d4805d4833966927
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 20, 2026.

Transparency log

Security for korvex 1.0.0rc6

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.0rc6.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 20, 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

This release
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