Skip to main content

@fastbackend/fastapi

FastAPI runtime adapter for the FastBackend framework. Reads IR from .fastbackend/ir.json and dynamically creates routes in memory at startup.

Installation

pip install fastbackend-fastapi

Usage

from fastbackend_fastapi import create_app

app = create_app()

Then run with uvicorn:

uvicorn main:app --reload

Or use the CLI:

fastbackend generate  # Generate IR and OpenAPI
fastbackend dev       # Start development server

Architecture

Routes exist only in memory (never written to disk). The runtime:

  1. Loads IR from .fastbackend/ir.json
  2. Dynamically creates CRUD endpoints for each entity
  3. Dynamically creates relationship endpoints
  4. Registers custom endpoints from app/custom/
  5. Supports endpoint overrides via @fastbackend.override() markers

Components

  • Runtime - Orchestrates initialization
  • CRUDEngine - Dynamic CRUD route creation
  • RelationshipEngine - Dynamic relationship routes
  • ValidationEngine - Dynamic Pydantic models
  • QueryEngine - Pagination, filtering, sorting, search

Metadata

Release files for fastbackend-fastapi 0.1.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 fastbackend-fastapi 0.1.0
File Size Uploaded Provenance Actions
fastbackend_fastapi-0.1.0.tar.gz 14.1 kB Without provenance Details for fastbackend_fastapi-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastbackend-fastapi 0.1.0
File Interpreter ABI Platform Actions
fastbackend_fastapi-0.1.0-py3-none-any.whl Python 3 none any Details for fastbackend_fastapi-0.1.0-py3-none-any.whl

Total release size: 26.4 kB

Release files / fastbackend_fastapi-0.1.0.tar.gz

Download URL fastbackend_fastapi-0.1.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9626a6734e62cdd539df5d96d197c7b8046017addb1bed5352d7d506c277a696
BLAKE2b-256 checksum
How to use checksums
cba98ffae80c278620dbf378e5c10692c1e74ce0f675f5789aa63285e7ac1b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / fastbackend_fastapi-0.1.0-py3-none-any.whl

Download URL fastbackend_fastapi-0.1.0-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd5bbf7107db30550ad7a69a935057a14f741ef8623f1910c877435cd01d5eb9
BLAKE2b-256 checksum
How to use checksums
feecbab44020b72500292791010a3cbef6eac8d46040df247d662d1d55e7a814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Security for fastbackend-fastapi 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.

Release history Release notifications | RSS feed

This release

0.1.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