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

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

Built distributions (wheels)

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

Total release size: 14.9 MB

Release files / korvex-1.0.0rc7.tar.gz

Download URL korvex-1.0.0rc7.tar.gz
Size 668.0 kB
Tags Source
SHA-256 checksum
How to use checksums
abc5acf4e9e182bdb7fe863bc0f59b4242ba331a84a92345e121d780f343170e
BLAKE2b-256 checksum
How to use checksums
dc11633fd00b20a26e0e5978a384cb306a496aa7a3c2ef1239f862d6ec4dac7a
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.0rc7-cp314-cp314t-win_amd64.whl

Download URL korvex-1.0.0rc7-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
f332aa959527ad4a7ea43626644851f558ae7fced71b592071de454c2ba9a1b9
BLAKE2b-256 checksum
How to use checksums
8638603bb3b3c5a18a26e6bdd1b21abc29d80bd8d915640ad586d9949bf1833b
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.0rc7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc7-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
6dc087f949d425b671093928d08a7c682c61150cfbf32243359f54105c60bea0
BLAKE2b-256 checksum
How to use checksums
3a8db92b73450b3c69f1879db7ffe0bf45d07c0b5ad7192047f6ac7f74783b01
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.0rc7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc7-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
654a8b4b71c8c6b706cb421dedc79c4b9d5d0ec7c3afd26de3e979afe500cecd
BLAKE2b-256 checksum
How to use checksums
4264244161153e54969a39ee75972b11d3cbd0c204bb8e5e6ccf4ea5f0aa24a9
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.0rc7-cp314-cp314t-macosx_11_0_arm64.whl

Download URL korvex-1.0.0rc7-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
d8d498d62ad4351b0d0256c4b28e64a6c6b5e7d396c119c5774d4d5f0479035c
BLAKE2b-256 checksum
How to use checksums
acfa8fad6defb7f2c5289eba2151c1efdf47ed7c32e5f073ac5c65dc93449871
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.0rc7-cp314-cp314t-macosx_10_12_x86_64.whl

Download URL korvex-1.0.0rc7-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
e16d0798b7cbe6608811679059e05671d3897ce3f539efb454b19dab9b5b2bd4
BLAKE2b-256 checksum
How to use checksums
49daf9bb4cbfeaaac5b5d9c5e69990f76dd0a1f3f898af2b21ab6c617ad509d1
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.0rc7-cp310-abi3-win_amd64.whl

Download URL korvex-1.0.0rc7-cp310-abi3-win_amd64.whl
Size 896.3 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4668322bf8ebd6a70de40882b9572981142ff5552ebb4ce95409dbe49155e256
BLAKE2b-256 checksum
How to use checksums
3efb42530c07f7942c7ac2f30e5740d8949c9cbf44f58a1f6b4a6617bad2326f
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.0rc7-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc7-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
b1f001863cf748e411efe56a135cb2733bd7d93384906bca4dbb58adaa1c10bd
BLAKE2b-256 checksum
How to use checksums
5e06cd4211bf842f75341b3f28aea99176c60fa41b717f34f6dd4f9185fa87c7
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.0rc7-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc7-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
f183198d952434cfe2bd21da8b4246f46164230891b3c40b893c78b7e1a4ca8a
BLAKE2b-256 checksum
How to use checksums
223b9b27a68468f6771ce0289c88a4faa50a6be757a1405791bf33795cfe47dc
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.0rc7-cp310-abi3-macosx_11_0_arm64.whl

Download URL korvex-1.0.0rc7-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
0a6df35e135962f0f854665902dd2292576f1912a37a03d60b7aaa558d3bd5ee
BLAKE2b-256 checksum
How to use checksums
5869d94e08fa94dbe4b499452f88882c3c863b92f65f85362858795c3c781be7
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.0rc7-cp310-abi3-macosx_10_12_x86_64.whl

Download URL korvex-1.0.0rc7-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
e79bf62bee9f56b5616ebe751ca3ac14c868044425ab3bb1424b76c53c9a6916
BLAKE2b-256 checksum
How to use checksums
9e1df129544805a3fe536332e8a93caa3007bdb66a676ea43cf2c02cd75d2133
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.0rc7

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