Skip to main content

A toolkit for building FastAPI projects with apps - internal and external pluggable apps

Project description

fastappkit

PyPI version Python License: MIT

fastappkit is an open-source toolkit that brings Django-like app architecture to FastAPI. If you've ever wished FastAPI had a modular app system similar to Django, this is for you.

Why fastappkit?

Building large FastAPI applications often means either cramming everything into a single file or manually organizing modules without clear conventions. fastappkit solves this by introducing a structured app system where you can organize your code into logical, reusable components—both within your project and as installable packages.

Whether you're building a monolith that needs better organization or creating reusable components for multiple projects, fastappkit provides the structure and tooling to make it happen.

Who is this for?

  • FastAPI developers building applications that are outgrowing a single-file structure
  • Teams that need consistent project organization across multiple developers
  • Developers creating reusable FastAPI components they want to share
  • Anyone who appreciates Django's app system but prefers FastAPI's performance and modern Python features

What it does

fastappkit enables two types of apps:

  • Internal apps: Project-specific modules (like Django apps) that live in your apps/ directory
  • External apps: Reusable packages you can install via pip and plug into any fastappkit project

Both types get automatic router mounting, unified migration management, and validation to prevent conflicts. Internal apps share migrations; external apps keep theirs isolated.

Quick Start

# Install
pip install fastappkit

# Create a new project
fastappkit core new myproject
cd myproject

# Create an app
fastappkit app new blog

# Run migrations
fastappkit migrate all

# Start development server
fastappkit core dev

That's it. Your FastAPI app is running at http://127.0.0.1:8000 with routes mounted at /blog/.

Documentation

Full documentation is available at fastappkit.readthedocs.io.

Contributing

This is an open-source project, and contributions are welcome. See CONTRIBUTING.md for guidelines on how to contribute.

License

This project is licensed under the MIT License. See LICENSE for details.

Support

Acknowledgments

Inspired by Django's app system. Built with FastAPI, SQLAlchemy, Alembic, and Typer.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastappkit-0.1.12.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastappkit-0.1.12-py3-none-any.whl (72.7 kB view details)

Uploaded Python 3

File details

Details for the file fastappkit-0.1.12.tar.gz.

File metadata

  • Download URL: fastappkit-0.1.12.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fastappkit-0.1.12.tar.gz
Algorithm Hash digest
SHA256 3ff6c8550335815bc489f1877528b0ea3fedac7f883cf650567e3eeb6cdc1c42
MD5 5eb6fef8709b71b20f367b424dc039c7
BLAKE2b-256 13cba6d7eb3412d4a965e8805652f084421bb3125f7046faa119c1a8028335d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastappkit-0.1.12.tar.gz:

Publisher: publish.yml on vanylabs/fastappkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fastappkit-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: fastappkit-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 72.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fastappkit-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 569f8c981d1d0c8eb1e92f9a99c74e17bb21b3f8f73a3de77800b49e93aa052d
MD5 bb591f57eab099db5138c393f54fd5e8
BLAKE2b-256 9a2a5020f4139a2db3cd9a2c5c69f6a8dc4cf0ce734cc69ad602ba25650403b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastappkit-0.1.12-py3-none-any.whl:

Publisher: publish.yml on vanylabs/fastappkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page