2026-09-09 00:21:25 +02:00
2026-09-09 00:21:25 +02:00
2026-09-08 19:17:12 +02:00
2026-09-08 23:59:31 +02:00
2026-09-09 00:21:25 +02:00

backend-python

Copier template for a Python backend, either as a backend/ part next to other parts or alone at the root of the project (layout): a uv project with one Docker image and one python -m <module> entrypoint per service (api, bot, userbot, worker, scheduler), pydantic-settings, rich logging, optional Dishka, MongoDB or PostgreSQL, Redis, taskiq (in-memory, Redis or PostgreSQL broker), CryptoPay, pydantic-ai and a DynamicConfig stored in the database.

Ships backend/docker-compose.yml with root-relative paths and profiles per service, docker-compose.override.yml.example (published ports and the caddy network aliases, copied by make env), a Makefile with fmt, check, build and service-specific targets, .env.example and CLAUDE.md. Applied on top of the infra template, layout: parts or layout: single respectively.

copier copy --trust -d project_name="My Thing" <this-repo> <dest>
copier update -a .copier/backend.yml
S
Description
No description provided
Readme
106 KiB
Languages
Jinja 97.8%
Python 1.5%
Mako 0.7%