fastapi-postgres-repository

Installation
SKILL.md

FastAPI PostgreSQL Repository Implementation

Overview

This skill covers the concrete PostgreSQL repository implementation with all CRUD operations, bulk upserts using ON CONFLICT, soft delete filtering, and integration with fastapi-pagination and fastapi-filter.

Create common/postgres_repository.py

Create src/app/common/postgres_repository.py:

from collections.abc import Sequence
from datetime import UTC, datetime
from typing import Any, Generic
from uuid import UUID
Installs
1
GitHub Stars
3
First Seen
Mar 9, 2026
fastapi-postgres-repository — agusmdev/burntop