Skip to main content

fastapi-rbac-scaffold

A PyPI-ready scaffold generator for creating FastAPI services with async SQLAlchemy, Redis, JWT authentication, and multi-tenant RBAC.

Usage

pip install fastapi-rbac-scaffold
fastapi-rbac-scaffold new acme-api
cd acme-api
copy .env.example .env
docker compose up -d postgres redis
pip install -e ".[dev]"
alembic upgrade head
app-seed-iam
app-bootstrap --username admin --password change-me --email admin@example.com
uvicorn app.main:app --reload

Layout

src/fastapi_rbac_scaffold/
  cli/          # Command-line entrypoints
  generator/    # Project generation logic
  templates/    # Files copied into generated FastAPI projects

The generated FastAPI application template lives under:

src/fastapi_rbac_scaffold/templates/fastapi_app/

Generated App

The generated application includes:

  • FastAPI app factory and lifespan
  • async SQLAlchemy setup
  • Redis lifecycle management
  • Alembic initial IAM migration
  • JWT login, refresh, logout, and /me
  • multi-tenant RBAC models
  • permission dependency helpers
  • IAM tenant/user/role/permission/plan API skeletons

Metadata

Release files for fastapi-rbac-scaffold 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-rbac-scaffold 0.1.1
File Size Uploaded Provenance Actions
fastapi_rbac_scaffold-0.1.1.tar.gz 25.2 kB Without provenance Details for fastapi_rbac_scaffold-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-rbac-scaffold 0.1.1
File Interpreter ABI Platform Actions
fastapi_rbac_scaffold-0.1.1-py3-none-any.whl Python 3 none any Details for fastapi_rbac_scaffold-0.1.1-py3-none-any.whl

Total release size: 86.3 kB

Release files / fastapi_rbac_scaffold-0.1.1.tar.gz

Download URL fastapi_rbac_scaffold-0.1.1.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fded71a1b3aba120fe503c461c4998817eb65927c6824b6b972bfc5d0a6a685b
BLAKE2b-256 checksum
How to use checksums
1cbf39f711676d9caab0fd18b4675a505af18abf45c217d70b75a33045184aba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release files / fastapi_rbac_scaffold-0.1.1-py3-none-any.whl

Download URL fastapi_rbac_scaffold-0.1.1-py3-none-any.whl
Size 61.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4521cf9d61c865420a9d9600451d726ad3fa64af75f7c447e44d21b30679ab45
BLAKE2b-256 checksum
How to use checksums
6cbd6a1bdeac9220b1cacfe55b9f987b2758288c06daa599f46b6c11b83d9992
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Security for fastapi-rbac-scaffold 0.1.1

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