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
422with every problem listed. - Dependencies (
Depends), including ones thatyieldfor 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.
--reloadrestarts 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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| akikaze-0.1.0.tar.gz | 36.5 kB | Without provenance | Details for akikaze-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| akikaze-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for akikaze-0.1.0-py3-none-any.whl |
Total release size: 79.4 kB
Release files / akikaze-0.1.0.tar.gz
| Download URL | akikaze-0.1.0.tar.gz |
|---|---|
| Size | 36.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c630e826d358fb2b45fb7d0013a36f30d509b48ace2d26812ee2974c0ba07cc
|
|
BLAKE2b-256 checksum How to use checksums |
cc293f006dc6a00bf8fce5a803af1525477d3fecfc9f2c610c84e7264fe99529
|
| 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.1.0-py3-none-any.whl
| Download URL | akikaze-0.1.0-py3-none-any.whl |
|---|---|
| Size | 42.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8279bca1bea3dfb2360ec999cf325f0593eddf4f58edfb6982090d70cec22278
|
|
BLAKE2b-256 checksum How to use checksums |
5aaef46e23ad6058eabec2aeb862cbe863041390f36e39d023f70eff548f443b
|
| 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.1.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.