Python Boilerplate

Open-source Python projects categorized as Boilerplate

Top 23 Python Boilerplate Projects

  • cookiecutter-django

    Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

    Project mention: falco VS cookiecutter-django - a user suggested alternative | libhunt.com/r/falco.git | 2024-01-26

    Falco, in contrast to cookiecutter-django, aims to enhance the Django developer experience beyond project generation. It provides a CRUD generator and guides on various Django topics such as task queues, multitendency, deployment, realtime, etc.

  • attrs

    Python Classes Without Boilerplate

    Project mention: Litestar 2.0 | /r/Python | 2023-08-29

    Full support for validation and serialisation of attrs classes and msgspec Structs. Where previously only Pydantic models and types where supported, you can now mix and match any of these three libraries. In addition to this, adding support for another modelling library has been greatly simplified with the new plugin architecture

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

  • flask-base

    A simple Flask boilerplate app with SQLAlchemy, Redis, User Authentication, and more.

  • fastapi-react

    🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker

  • cookiecutter-django-rest

    Build best practiced apis fast with Python3

  • cruft

    Allows you to maintain all the necessary cruft for packaging and building projects separate from the code you intentionally write. Built on-top of, and fully compatible with, CookieCutter.

    Project mention: copier VS cruft - a user suggested alternative | libhunt.com/r/copier-org/copier | 2023-05-05
  • fastapi-boilerplate

    FastAPI boilerplate for real world production (by teamhide)

    Project mention: [Python] How to implement a transactional decorator in FastAPI + SQLAlchemy - with reviewing other approaches | dev.to | 2023-05-29

    from 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()

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • flaskSaaS

    A great starting point to build your SaaS in Flask & Python, with Stripe subscription billing 🚀

  • PySpark-Boilerplate

    A boilerplate for writing PySpark Jobs

  • django-base-site

    The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages that you need to jumpstart your next project.

  • cookiecutter-poetry

    A modern cookiecutter template for Python projects that use Poetry for dependency management

  • FastAPI-Production-Boilerplate

    A scalable and production ready boilerplate for FastAPI

    Project mention: Any Python ORMs worthy of production? | news.ycombinator.com | 2023-12-18
  • fastapi-layered-architecture

    FastAPI Layered Architecture

  • Wagtail-Pipit

    Pipit is a Wagtail CMS boilerplate which aims to provide an easy and modern developer workflow with a React-rendered frontend.

  • python-webpack-boilerplate

    Django Webpack boilerplate & Flask Webpack boilerplate

  • python-django-drf-boilerplate

    Django Boilerplate for starting fresh new DRF projects

  • djangorocket

    A Django SaaS boilerplate

    Project mention: Django SaaS Boilerplate | news.ycombinator.com | 2024-01-26
  • mkdocs-material-boilerplate

    MkDocs Material Boilerplate (Starter Kit) - Deploy documentation to hosting platforms (Netlify, GitHub Pages, GitLab Pages, and AWS Amplify Console) with Docker, pipenv, and GitHub Actions.

  • paprika

    Paprika is a python library that reduces boilerplate. Heavily inspired by Project Lombok.

  • flask-backbone

    [2023] Modern Flask Boilerplate with a well-organised structure.

  • jeeves-shell

    Pythonic alternative for GNU Make.

    Project mention: Show HN: Jeeves – A Pythonic Alternative to GNU Make | news.ycombinator.com | 2023-11-05
  • cookiecutter-django-mysql

    Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

  • fastapi-boilerplate

    FastAPI REST API pre-configured with a database. This will get you up and running with CRUD operations quickly. (by WMRamadan)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-01-26.

Python Boilerplate related posts

Index

What are some of the best open-source Boilerplate projects in Python? This list will help you:

Project Stars
1 cookiecutter-django 11,494
2 attrs 5,060
3 flask-base 2,976
4 fastapi-react 2,055
5 cookiecutter-django-rest 1,475
6 cruft 1,142
7 fastapi-boilerplate 866
8 flaskSaaS 598
9 PySpark-Boilerplate 390
10 django-base-site 332
11 cookiecutter-poetry 306
12 FastAPI-Production-Boilerplate 296
13 fastapi-layered-architecture 252
14 Wagtail-Pipit 224
15 python-webpack-boilerplate 144
16 python-django-drf-boilerplate 138
17 djangorocket 122
18 mkdocs-material-boilerplate 116
19 paprika 77
20 flask-backbone 63
21 jeeves-shell 41
22 cookiecutter-django-mysql 37
23 fastapi-boilerplate 35
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com