An opinionated Python boilerplate

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • cookiecutter-scverse

    Cookiecutter template for scverse

  • Pretty good one. We're developing one for data science projects, but I think it's not a bad idea to check it out for anyone: https://github.com/scverse/cookiecutter-scverse

  • just

    🤖 Just a command runner

  • justfiles instead of Makefiles: it has a command list out of the box and you don't need to think about shell peculiarities.

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

    InfluxDB logo
  • ruff

    An extremely fast Python linter and code formatter, written in Rust.

  • They're also working on supporting black-style formatting: https://github.com/charliermarsh/ruff/issues/1904

  • resolvelib

    Resolve abstract dependencies into concrete ones

  • First is this change which fixes some logical errors and introduces optimizations including reducing the size of the graph to try to resolve: https://github.com/sarugaku/resolvelib/pull/111

  • pip

    The Python package installer

  • This alone resolves one of the major backtracking problems that first appeared once the new resolver landed (installing apache-airflow 1.10.13), I carefully tested here to show that a hack introduced in to Pip's backtracking choices can now be removed: https://github.com/pypa/pip/issues/11836

  • python-rest-template

    A clean, scalable, i18n ready FastAPI template

  • [Self-promotion] I made this template to refactor our production services in my previous work (an enterprise chat service): https://github.com/tuan3w/python-rest-template Features: + Opinionated code structure + Centralized exception handling + pre-commit hooks (isort, black, mypy) + i18n support + Database migration with alembic

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts