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 candidate: the API is frozen, and from 1.0 a breaking change waits for a 2.0. Every change is in the changelog.

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

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

Built distributions (wheels)

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

Total release size: 14.7 MB

Release files / korvex-1.0.0rc2.tar.gz

Download URL korvex-1.0.0rc2.tar.gz
Size 705.1 kB
Tags Source
SHA-256 checksum
How to use checksums
821e9cea9937f430a90524f361a7e715f1fbed7f25fee48519ec623cece868d7
BLAKE2b-256 checksum
How to use checksums
bcc0b77d6ac3f3f249ceff13d2028a8a276a683e401f653b9829d80ec1d26316
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.0rc2-cp314-cp314t-win_amd64.whl

Download URL korvex-1.0.0rc2-cp314-cp314t-win_amd64.whl
Size 871.5 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
e248e035ac8c7a80624c2e16282c35b29bb50385ba115a8589ec029c010ae3d0
BLAKE2b-256 checksum
How to use checksums
01b91e35afabd4b8dba1d8bdb67d87cd9f4274b657fee30a38fa9c0a366cb80a
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.0rc2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc2-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
26a0b63bf2b5be3a96fea067a27db5de986a9d61edb49ef563cf976436ec228d
BLAKE2b-256 checksum
How to use checksums
9d2911681d4b3ca2400039f420b667747551b330d221963ef73d421ae7bcc0e3
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.0rc2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc2-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
591dd900d326ca7c345bcbfa2b849ae3b9638d3be5ef69e1884bbca84eda2fe7
BLAKE2b-256 checksum
How to use checksums
4c17542bb3c6cd4089ad61dcaf82c86122ec1dff5142c8f95043ba845ae4eafe
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.0rc2-cp314-cp314t-macosx_11_0_arm64.whl

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

Download URL korvex-1.0.0rc2-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
5096aae5c5053ade6af2b4839ad82772ebbb566f5e2378eac1c563cdf0dcc588
BLAKE2b-256 checksum
How to use checksums
2b6c0bbd5e1864705f189233ccf03089ac67c042213242ca06367253cacda92c
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.0rc2-cp39-abi3-win_amd64.whl

Download URL korvex-1.0.0rc2-cp39-abi3-win_amd64.whl
Size 880.7 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0107c2fe35a8abddd2b6618a5c663178638422a5daabbe771768634287a3756d
BLAKE2b-256 checksum
How to use checksums
fd8c515d2cb048f0bdfe90ec8fa1f7abfe205237af9fc84d4312c017091ed21d
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.0rc2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL korvex-1.0.0rc2-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
aca18f0faa2934ba0a5a739858c749194d31d346b9b89eddd715cd18ac31f565
BLAKE2b-256 checksum
How to use checksums
a6903057a58bcb5984aef52a8aa16f893201345304a702e3a42179a88c4dca04
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.0rc2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL korvex-1.0.0rc2-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
4131205329f5ed3235438820fab1dfe9efef64e33d6542d7272a05f27a1f4996
BLAKE2b-256 checksum
How to use checksums
fce874fb642b6cab8034cda9420ccac8edc57127cff567635d07a515a895a92a
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.0rc2-cp39-abi3-macosx_11_0_arm64.whl

Download URL korvex-1.0.0rc2-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
bfeb7ca2da89b130f8d01d68e2747725a72aeb9ea6c8d6f1538daa3179172b9f
BLAKE2b-256 checksum
How to use checksums
6148a62d41f6320c23733bab5c6d84fa18b2d2a4f17956328a9e1745096593eb
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.0rc2-cp39-abi3-macosx_10_12_x86_64.whl

Download URL korvex-1.0.0rc2-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
fcf53848cb439e9f5fa248094965f430cf5b3b67d4ae14a9f76b83d05112763a
BLAKE2b-256 checksum
How to use checksums
075744e47f2d4488fb56db2e4d1b34f714a8bd8b181d7dbb0cd49895d2b34b02
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.0rc2

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