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

Also on the documentation site, with the full API reference.

Using an AI coding agent? Run korvex agents in your project: it installs a skill that teaches it Korvex (more).

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

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

Built distributions (wheels)

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

Total release size: 14.3 MB

Release files / korvex-0.14.3.tar.gz

Download URL korvex-0.14.3.tar.gz
Size 626.6 kB
Tags Source
SHA-256 checksum
How to use checksums
88ed7172b4f77f643fa7e9b55c31c6a7edac65e0f0f6a9e0c13e21cd72cc1bc1
BLAKE2b-256 checksum
How to use checksums
25adb7f7ffb5b94350fe7d131e0c83bac5acff187076a7a68a2eac00c9c9a13a
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.3-cp314-cp314t-win_amd64.whl

Download URL korvex-0.14.3-cp314-cp314t-win_amd64.whl
Size 849.3 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
f2542373baaa38db4801c9e4d838fac158dd04e9d8150a836cda43ffbd79e589
BLAKE2b-256 checksum
How to use checksums
3ef9e91ca818fd30f631bd088b09b8ba2c5df16bb0562ed0b2fed74d6de67acb
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.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-0.14.3-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
4e1cbc4914da19b57bfec563772f25c8b1e5b585fa49b8dd64f52645cdc87b79
BLAKE2b-256 checksum
How to use checksums
30c54b590bb8d825168132f5f4075ad52bf70751687ecb4f41756cbdbbd9ea35
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.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-0.14.3-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
0ff84e680eeb68aad52386a406552f8fb3aa0a9c34aa44a753673d221291fba8
BLAKE2b-256 checksum
How to use checksums
e4c923fe23b72b04bf2fc9396a31115eb661a03a2ba53e2ddd1f6d652e598698
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.3-cp314-cp314t-macosx_11_0_arm64.whl

Download URL korvex-0.14.3-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
321bc23f0b0274223d9daf8d133ee187d521c2830b42ae1a1e3e315b6740f4c7
BLAKE2b-256 checksum
How to use checksums
b37c57e56ed01fc3a99bd1d452045c3af63fad6b763b377f2800af622d3b4b08
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.3-cp314-cp314t-macosx_10_12_x86_64.whl

Download URL korvex-0.14.3-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
db69ca04614637aa6c89520555af14d1d789cf3fca931b1f96169376d80bf1f2
BLAKE2b-256 checksum
How to use checksums
81019f79e45cd584b1382173598746908ec5f7092bb18df3eddee41260f59217
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.3-cp39-abi3-win_amd64.whl

Download URL korvex-0.14.3-cp39-abi3-win_amd64.whl
Size 857.1 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2903e96e76560b55f1d18e28bd7a71e08733be177c45fdc39ed4ac99b18dec8c
BLAKE2b-256 checksum
How to use checksums
aef5c69c831444b45ee16c16771f1964472f6df5c9b9f1e971130f4a86ec820b
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.3-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-0.14.3-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
1aa8d11b3eb7e16877a8ceaf34a95cf828006b0dfdd36788269974b3e74e7e8d
BLAKE2b-256 checksum
How to use checksums
4b17ebc17de1b0a18dc682790b9ce014bfc84accadede26c3b7a6068c755bcb1
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.3-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-0.14.3-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
5633b9e36040357954dd39e80759b418e59b12c63bc99469af4049c87f181996
BLAKE2b-256 checksum
How to use checksums
782cfa5caa5672e941eae907fe055351642e9a6a3f077224b72ce098f7df7fce
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.3-cp39-abi3-macosx_11_0_arm64.whl

Download URL korvex-0.14.3-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
17896f77aa97533d53674ffe63b98a37d892204cbfbfa6cbabad60d68dd7e923
BLAKE2b-256 checksum
How to use checksums
0b89d0da1f3a73480892217975d30f736e47f3faef7f8f8b46520b267f48b01e
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.3-cp39-abi3-macosx_10_12_x86_64.whl

Download URL korvex-0.14.3-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
c2767f67bdd7f92789fcee0374c630f5f0c9cbf434c0fd295e812542a3131934
BLAKE2b-256 checksum
How to use checksums
5fd5639e6a3587980067cbca11d4603920a8e77197f74cc59fa022a54dfca708
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.3

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