FluidKit bridges Python and SvelteKit into a unified fullstack framework. Write backend functions in Python — FluidKit registers them as FastAPI endpoints and wraps them in SvelteKit-native remote functions with full type safety, cookie forwarding, file uploads, redirects, and single-flight cache invalidation.
pip install fluidkitDecorate Python functions with @query, @command, @form, or @prerender. FluidKit generates colocated .remote.ts files that SvelteKit imports directly — no manual fetch calls, no duplicated types, no glue code.
| Decorator | Use case |
|---|---|
@query |
Read data — cached, refreshable |
@command |
Write data — single-flight cache invalidation |
@form |
Form actions — file uploads, progressive enhancement, redirects |
@prerender |
Build-time data fetching with optional runtime fallback |
| Repo | Description |
|---|---|
| AswanthManoj/Fluidkit | Core framework source code |
| Fluidkit.github.io | Documentation website |
| FluidFrame | Earlier Python + HTMX experiment |
| FluidSvelte | Earlier Python + Svelte experiment |