Skip to main content

Akikaze

A FastAPI-like web framework built on Soyokaze.

import dataclasses
from typing import Dict, Optional

from akikaze import Akikaze, HTTPException

app = Akikaze()

@dataclasses.dataclass
class Item:
    name: str
    price: float

items: Dict[int, Item] = {}

@app.get("/items/{item_id}")
async def read_item(item_id: int, q: Optional[str] = None) -> dict:
    if item_id not in items:
        raise HTTPException(404, "no such item")
    return {"item": items[item_id], "q": q}

@app.post("/items/{item_id}", status_code=201)
async def create_item(item_id: int, item: Item) -> Item:
    items[item_id] = item
    return item
akikaze main:app --port 8000 --reload
akikaze main:app -b tcp://[::]:443 -b quic://[::]:443 -b unix:/run/app.sock --certificate cert.pem --key key.pem
  • Parameters are read from the path, query, headers, cookies, a JSON body or a form, and converted to their annotated types; a request that does not fit is answered 422 with every problem listed.
  • Dependencies (Depends), including ones that yield for cleanup.
  • Routers with prefixes, middleware, exception handlers, WebSocket routes and a lifespan.
  • Any number of TCP, QUIC and Unix domain socket binds, on any addresses, served by one process or several (--workers).
  • Forwarding fields believed from the proxies you name (--forwarded-allow-ips).
  • --reload restarts on changes, keeping the old code serving until the new code listens where the platform allows.
  • HTTP/1.1, HTTP/2 and HTTP/3, TLS and WebSocket come from Soyokaze.

Python 3.10 or newer. See docs.

Metadata

Release files for akikaze 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akikaze 0.2.0
File Size Uploaded Provenance Actions
akikaze-0.2.0.tar.gz 43.3 kB Without provenance Details for akikaze-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for akikaze 0.2.0
File Interpreter ABI Platform Actions
akikaze-0.2.0-py3-none-any.whl Python 3 none any Details for akikaze-0.2.0-py3-none-any.whl

Total release size: 93.8 kB

Release files / akikaze-0.2.0.tar.gz

Download URL akikaze-0.2.0.tar.gz
Size 43.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3d0f2661d1937b26ad4362c31fcaab44cd93cffa0bb85d93fd2997f709003274
BLAKE2b-256 checksum
How to use checksums
f31158ecc19db683fca3bb4f6735348c64248e7a2e386d089152ce5f45d34621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.13 {"installer":{"name":"uv","version":"0.13.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / akikaze-0.2.0-py3-none-any.whl

Download URL akikaze-0.2.0-py3-none-any.whl
Size 50.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e8f5a60d894b3b44d6feb7d3b5c3b56394aae5fa9c387d3df80f92b32f65ec6
BLAKE2b-256 checksum
How to use checksums
a078fbd326ab1982038d9420c0857063100cea517f1a4e97dc5d6b4a335506c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.13 {"installer":{"name":"uv","version":"0.13.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for akikaze 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.2.0 This release

2 release files No provenance

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