InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Python Postgre Projects
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
Agreed, and it's an amazingly well-maintained GitHub repo: https://github.com/tobymao/sqlglot
Big kudos to Toby and the team.
-
Project mention: Show HN: An asynchronous database connection manager for Python | news.ycombinator.com | 2025-10-01
Hello HN! I made this library because there doesn't seem to be one good way to manage database connections in Python. Functions provided by SQLAlchemy and database drivers are either very bare-bone or outdated ux (dx?) wise.
I used to really love databases[1], but its code is a mess[2], adding new backends is difficult and now it's archived. I wanted to have a similarly simple API and ability to create force rollback connections for tests so you don't have to call your DB clean-up callbacks in each test that uses a database connection, everything will be done in a transaction that will then be cancelled.
[1] - https://github.com/encode/databases
-
-
pgadmin4
pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
Project mention: Asynchronous SQLAlchemy 2: A simple step-by-step guide to configuration, models, relationships, and migrations using Alembic | dev.to | 2025-06-03Go to the official PGAdmin website and download the latest version.
-
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
-
fastapi-react
🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker
-
supabase-py
Python Client for Supabase. Query Postgres from Flask, Django, FastAPI. Python user authentication, security policies, edge functions, file storage, and realtime data streaming. Good first issue.
-
Project mention: I Ditched the Algorithm for RSS–and You Should Too | news.ycombinator.com | 2025-01-16
Same! I'm creating telegram channels for topics using https://github.com/Rongronggg9/RSS-to-Telegram-Bot
That's how I found out about this post https://t.me/best_hn/99
-
Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
-
FastAPI-boilerplate
An extendable async API using FastAPI, Pydantic V2, SQLAlchemy 2.0, PostgreSQL and Redis.
-
If you like the “use Postgres until it breaks” approach, there’s a middle ground between hand-rolling and running Kafka/Redis/Rabbit: PGQueuer.
PGQueuer is a small Python library that turns Postgres into a durable job queue using the same primitives discussed here — `FOR UPDATE SKIP LOCKED` for safe concurrent dequeue and `LISTEN/NOTIFY` to wake workers without tight polling. It’s for background jobs (not a Kafka replacement), and it shines when your app already depends on Postgres.
Nice-to-haves without extra infra: per-entrypoint concurrency limits, retries/backoff, scheduling (cron-like), graceful shutdown, simple CLI install/migrations. If/when you truly outgrow it, you can move to Kafka with a clearer picture of your needs.
Repo: https://github.com/janbjorge/pgqueuer
Disclosure: I maintain PGQueuer.
-
uv works great in a container, you can tell it to skip creating a venv and use the system's version of Python.
Both of my Docker Compose start app examples for https://github.com/nickjj/docker-flask-example and https://github.com/nickjj/docker-django-example use uv.
The biggest win is speed. Dependencies get installed ~10x faster than with pip, at least on my machine.
-
raglite
🥤 RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL
Project mention: Show HN: RAGLite – A Python package for the unhobbling of RAG | news.ycombinator.com | 2024-12-19 -
-
uv works great in a container, you can tell it to skip creating a venv and use the system's version of Python.
Both of my Docker Compose start app examples for https://github.com/nickjj/docker-flask-example and https://github.com/nickjj/docker-django-example use uv.
The biggest win is speed. Dependencies get installed ~10x faster than with pip, at least on my machine.
-
Roadmap of v1
https://github.com/wey-gu/py-pglite/issues/4
-
rag-postgres-openai-python
A RAG app to ask questions about rows in a database table. Deployable on Azure Container Apps with PostgreSQL Flexible Server.
Project mention: Production RAG: what I learned from processing 5M+ documents | news.ycombinator.com | 2025-10-20https://github.com/Azure-Samples/rag-postgres-openai-python/...
I'll ask the search about SPLADE, not sure.
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Postgres discussion
Python Postgres related posts
-
Production RAG: what I learned from processing 5M+ documents
-
Uv overtakes pip in CI (for Wagtail users)
-
Show HN: An asynchronous database connection manager for Python
-
What if we treated Postgres like SQLite?
-
Asynchronous SQLAlchemy 2: A simple step-by-step guide to configuration, models, relationships, and migrations using Alembic
-
Ask HN: How Do You Approach Public Docs for Small Open-Source Projects?
-
Ask HN: How Do You Approach Public Docs for Small Open-Source Projects?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 16 Nov 2025
Index
What are some of the best open-source Postgre projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | pgcli | 12,811 |
| 2 | frappe | 9,320 |
| 3 | sqlglot | 8,568 |
| 4 | databases | 3,935 |
| 5 | wal-e | 3,469 |
| 6 | pgadmin4 | 3,291 |
| 7 | Barman | 2,563 |
| 8 | Alerta | 2,485 |
| 9 | fastapi-react | 2,449 |
| 10 | supabase-py | 2,308 |
| 11 | RSS-to-Telegram-Bot | 1,932 |
| 12 | Udacity-Data-Engineering-Projects | 1,715 |
| 13 | FastAPI-boilerplate | 1,626 |
| 14 | pgqueuer | 1,395 |
| 15 | docker-django-example | 1,340 |
| 16 | raglite | 1,103 |
| 17 | jupysql | 822 |
| 18 | docker-flask-example | 745 |
| 19 | py-pglite | 533 |
| 20 | rag-postgres-openai-python | 461 |
| 21 | marcel | 351 |
| 22 | pg_net | 334 |
| 23 | condenser | 327 |