AsyncFast – a typed, message-driven framework inspired by FastAPI
Show HN: AsyncFast – a typed, message-driven framework inspired by FastAPI
AsyncFast – a typed, message-driven framework inspired by FastAPI is a business in show hn launch.
Profile
Hi HN,I've been working on AsyncFast, a Python framework for building message-driven APIs with FastAPI-style ergonomics.The goal is to let you write handlers once and run them unchanged across different brokers and runtimes (Kafka, SQS, MQTT, Redis, containers, Lambda, etc.).Under the hood it's built on a small spec (AMGI) that plays a similar role to ASGI, but for message-based systems instead of HTTP.Minimal example from asyncfast import AsyncFast from pydantic import BaseModel app = AsyncFast() class Payload(BaseModel): id: str name: str @app.channel("channel") async def handle_channel(payload: Payload) -> None: print(payload) Running it locally (Kafka example) pip install asyncfast amgi-
AsyncFast – a typed, message-driven framework inspired by FastAPI is positioned in show hn launch, a segment that rewards a clear, focused offering.
The company is listed at the Show HN launch stage of development.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: asyncfast.readthedocs.io/en/latest
Browse related
Create a free account