Skip to main content

FluxFast for FastAPI

The Python package provides FastAPI page routes, scoped versioned resources, a bounded in-memory cache, concurrent loader resolution, mutation helpers, 422 mapping, redirects, and the fluxfast/1 protocol.

python -m pip install fluxfast
from fastapi import FastAPI
from fluxfast import FluxFast, Page, resource, scope

app = FastAPI()
flux = FluxFast(app)

@flux.page("/")
async def home():
    return Page(
        "home/index",
        resources=[
            resource("news", load_news, scope=scope.public(), ttl=60),
        ],
    )

Reusable data must declare an appropriate public, user, tenant, or custom scope. See the repository protocol and caching documentation for wire and invalidation semantics.

For a Next.js consumer, install its backend and run both development processes under one supervisor:

python -m pip install -e backend
fluxfast dev backend.app.main:app

The CLI starts FastAPI on an available internal loopback port and Next on the browser-facing development port. The companion Next config uses the injected server-only address, so browser requests stay same-origin.

Release files for fluxfast 0.5.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 fluxfast 0.5.0
File Size Uploaded
fluxfast-0.5.0.tar.gz 84.4 kB Details

Built distribution (wheel)

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

Total release size: 130.0 kB

Release files / fluxfast-0.5.0.tar.gz

Download URL fluxfast-0.5.0.tar.gz
Size 84.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a725dbf913cbafc2c4fe6255c7681a3df8f0ae1c59fb5d68185cda19f7056d8b
BLAKE2b-256 checksum
How to use checksums
e02db0cbf9a663a3899455c22d484d3fc9416f496d718308d5cfe63417a1d8ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Release files / fluxfast-0.5.0-py3-none-any.whl

Download URL fluxfast-0.5.0-py3-none-any.whl
Size 45.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efbc64f5de0a2c8d86d842c93ae0f31e9804daf62fe9d5a89b7ca0f8dd73798e
BLAKE2b-256 checksum
How to use checksums
a8ca8eabb2d4cf1135bd9b25e7a2da3458ecc97972484c45beb3490d1147ffcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

This release

0.5.0 This release

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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