検証用の環境(Docker の中の Python 3.13)に、SQLAlchemy 2.1.1 と psycopg2-binary を入れました。その環境で、postgresql:// で始まる URL を create_engine() に渡すと、「ModuleNotFoundError: No module named 'psycopg'」で落ちました。psycopg2-binary ...
A high-performance Python library for PostgreSQL UPSERT operations with intelligent conflict resolution using PostgreSQL temporary tables and atomic MERGE statements. Designed for reliability, data ...
业务无关的同步 PostgreSQL API 基础项目,提供 FastAPI、SQLAlchemy 2.x、Alembic、Pydantic v2、pytest 和 Ruff 的最小可运行配置,以及响应、错误、探针与请求日志约定。 项目只支持 PostgreSQL,只包含基础设施,不包含业务模型、认证、任务队列、缓存、WebSocket、Docker 或 CI。