SaaSHub helps you find the best software and product alternatives Learn more →
Top 16 Python fastapi-template Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
fastapi-template
A FastAPI project template using Make, Docker Compose and Github Actions. This includes a SQLAlchemy integration and an integration test setup. (by BiteStreams)
-
fastapi-class
provides a class-based View decorator to help reduce the amount of boilerplate necessary when developing related routes. ✨🚀
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
cookiecutter-fastapi
Cookiecutter fastapi is a framework for jumpstarting production-ready fastapi projects quickly.
-
fastapi-motor-mongo-template
High-performance FastAPI backend boilerplate for real-world production, with mongo and pytest. Suitable for microservices.
-
example
Example project created by fastapi-mvc from fastapi-mvc/copier-project template (by fastapi-mvc)
-
fastapi-template
A production-ready FastAPI template with Redis, Docker and PostgreSQL (by FastAPI-MEA)
-
gcp-fastapi-poetry
Template repo for a GCP-hosted REST API with automatic API versioning and custom domain mapping
-
cookiecutter-fastapi-mongo
High-performance FastAPI backend boilerplate for real-world production, with mongo and pytest. Suitable for microservices.
-
FastAPI-ReactJS-MongoDB-JWT
Template for starting a project with FARM stack. Dockerized ready for deployment.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
I'm pretty partial to s3rius's template boiler plate. Used it while contracting a while back and it just tackled everything I'd want for the first few months leaving me time to focus on CRUD / business logic instead of Devops stuff. Do wish it used ruff but that was an ultra easy swap.
Project mention: [Python] How to implement a transactional decorator in FastAPI + SQLAlchemy - with reviewing other approaches | dev.to | 2023-05-29from typing import Optional from contextvars import ContextVar from sqlalchemy.ext.asyncio import ( create_async_engine, async_scoped_session, async_sessionmaker, AsyncSession, ) from ..config import config # some hints from: https://github.com/teamhide/fastapi-boilerplate/blob/master/core/db/session.py db_session_context: ContextVar[Optional[int]] = ContextVar( "db_session_context", default=None ) engine = create_async_engine(url=config.DB_URL) def get_db_session_context() -> int: session_id = db_session_context.get() if not session_id: raise ValueError("Currently no session is available") return session_id def set_db_session_context(*, session_id: int) -> None: db_session_context.set(session_id) AsyncScopedSession = async_scoped_session( session_factory=async_sessionmaker(bind=engine, autoflush=False, autocommit=False), scopefunc=get_db_session_context, ) def get_current_session() -> AsyncSession: return AsyncScopedSession()
Project mention: Show HN: Clean architecture template repository for building FastAPI apps | news.ycombinator.com | 2023-06-19
Python fastapi-template related posts
-
Structured and Opinionated FastAPI Boilerplate
-
⚡FastGen v0.3.5, What's new !?
-
Show HN: Generate customizable production grade FastAPI projects
-
Generate customizable FastAPI projects for high-performance applications. Based on MVC, WSGI + ASGI with tests, pipeline, utilities, helm, and more.
-
Show HN: Fastapi-MVC – generate customizable FastAPI projects
-
I wrote an alternative for the official FastAPI full stack project generator (more info in comment)
-
FastQL - A FullStack Playground ✨
-
A note from our sponsor - SaaSHub
www.saashub.com | 10 May 2024
Index
What are some of the best open-source fastapi-template projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | FastAPI-template | 1,674 |
2 | fastapi-boilerplate | 890 |
3 | fastapi_contrib | 594 |
4 | fastapi-mvc | 574 |
5 | FastAPI-Production-Boilerplate | 312 |
6 | fastapi-template | 104 |
7 | fastapi-class | 103 |
8 | cookiecutter-fastapi | 75 |
9 | fastapi-motor-mongo-template | 50 |
10 | example | 44 |
11 | fastapi-template | 19 |
12 | fastgen | 18 |
13 | gcp-fastapi-poetry | 16 |
14 | fastapi-template | 13 |
15 | cookiecutter-fastapi-mongo | 11 |
16 | FastAPI-ReactJS-MongoDB-JWT | 6 |
Sponsored