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

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

Built distributions (wheels)

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

Total release size: 14.8 MB

Release files / korvex-1.0.0rc3.tar.gz

Download URL korvex-1.0.0rc3.tar.gz
Size 721.0 kB
Tags Source
SHA-256 checksum
How to use checksums
30fe1529e2d8550bf1c8194e9009343e0744baada4b0cf8400fd598c4b2e5302
BLAKE2b-256 checksum
How to use checksums
622b176d8f1b7a4c1bf2298e61d3815da7b929680d3d11155466c30ecbeadd5b
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.0rc3-cp314-cp314t-win_amd64.whl

Download URL korvex-1.0.0rc3-cp314-cp314t-win_amd64.whl
Size 878.8 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
5ccb910d3643491453ecdab4dd816abb1c72eaeb6df73f29189343004093ece8
BLAKE2b-256 checksum
How to use checksums
4914cc7dd83f4d9e4a10396ae4a025f5fde69efc05b16d40862467ed46eb92ad
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.0rc3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc3-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
dc24fe9b3fe33979071b6f08e85221a196ae5007f7918aea1a1649b457434fae
BLAKE2b-256 checksum
How to use checksums
3e0b03b076f49b4c5ef13a4661ef5c9e169825ce3c04fb724a72ebd362e66e3d
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.0rc3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc3-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
8038e2571d937150179c5ead05ab16f3c834052b14cb7d0606bca1f359e579b6
BLAKE2b-256 checksum
How to use checksums
084f90349e129ecf2377257afeea4b08baeaee2c88fbe9df7d71eea6cc5f7e47
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.0rc3-cp314-cp314t-macosx_11_0_arm64.whl

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

Download URL korvex-1.0.0rc3-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
9354fc9a604b7b616674eab909478c0fe1a2c63412a233474e2e40a0a249f072
BLAKE2b-256 checksum
How to use checksums
223ca3f5b646bea05210a03ab0f6ce40bcc5ec56771f42dc3753cedb83fab25e
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.0rc3-cp39-abi3-win_amd64.whl

Download URL korvex-1.0.0rc3-cp39-abi3-win_amd64.whl
Size 888.0 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9984dc14c9a769b46ca371bb055fb50422574934122e2d5dd2327ba84a8d538d
BLAKE2b-256 checksum
How to use checksums
a4ee1f55e4546b999694e03e0fdd885d7912786234a6746c5c7e92963f69b2bd
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.0rc3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc3-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
1732689e246c9cb046ac8e9dd8b8be3a480df0230cebf2ac9f57ef7026c5aa04
BLAKE2b-256 checksum
How to use checksums
7fc6276dd485a9f364c299f6db10e5535883401df619d5dce9d602f8901d51f1
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.0rc3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc3-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
b664c23779e84a06e8ce68578515e4430511019b4c65c92cbf77252721161c17
BLAKE2b-256 checksum
How to use checksums
de80281f70ebe40746895c94558b45fb6fece2c84b79cbfb7fd140aad118661e
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.0rc3-cp39-abi3-macosx_11_0_arm64.whl

Download URL korvex-1.0.0rc3-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
24915d45c8ec5ade8d0230d13b930476de597f79ef11c85c79a431dbd25835f2
BLAKE2b-256 checksum
How to use checksums
ec48e6dd48287fec65cab3ce6a8eef62745cd7eabc0f326943e82d5dc4de1ed9
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.0rc3-cp39-abi3-macosx_10_12_x86_64.whl

Download URL korvex-1.0.0rc3-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
fa8c89586d196468f2d2ba260c4f7948ed935e126491f98c1e7785a888bf0ec5
BLAKE2b-256 checksum
How to use checksums
1656bba7cc565c8d1cd0bdafbf5e0d0c1a768a2847bb31a2d304818cf03ff744
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.0rc3

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