Thanks to visit codestin.com
Credit goes to www.libhunt.com

Python Postgres

Open-source Python projects categorized as Postgres

Top 23 Python Postgre Projects

  1. pgcli

    Postgres CLI with autocompletion and syntax highlighting

    Project mention: PostgreSQL IDE in VS Code | news.ycombinator.com | 2025-05-23
  2. 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.

    Stream logo
  3. frappe

    Low code web framework for real world applications, in Python and Javascript

    Project mention: Kan.bn – An open-source alterative to Trello | news.ycombinator.com | 2025-06-02
  4. sqlglot

    Python SQL Parser and Transpiler

    Project mention: Text2SQL is dead – long live text2SQL | news.ycombinator.com | 2025-10-29

    Agreed, and it's an amazingly well-maintained GitHub repo: https://github.com/tobymao/sqlglot

    Big kudos to Toby and the team.

  5. databases

    Async database support for Python. 🗄

    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

  6. wal-e

    Continuous Archiving for Postgres

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

    Go to the official PGAdmin website and download the latest version.

  8. Barman

    Barman - Backup and Recovery Manager for PostgreSQL

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

    InfluxDB logo
  10. Alerta

    Alerta monitoring system

  11. fastapi-react

    🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker

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

  13. RSS-to-Telegram-Bot

    A Telegram RSS bot that cares about your reading experience

    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

  14. Udacity-Data-Engineering-Projects

    Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.

  15. FastAPI-boilerplate

    An extendable async API using FastAPI, Pydantic V2, SQLAlchemy 2.0, PostgreSQL and Redis.

  16. pgqueuer

    PgQueuer is a Python library leveraging PostgreSQL for efficient job queuing.

    Project mention: Kafka is Fast – I'll use Postgres | news.ycombinator.com | 2025-10-29

    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.

  17. docker-django-example

    A production ready example Django app that's using Docker and Docker Compose.

    Project mention: Uv overtakes pip in CI (for Wagtail users) | news.ycombinator.com | 2025-10-13

    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.

  18. 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
  19. jupysql

    Better SQL in Jupyter. 📊

  20. docker-flask-example

    A production ready example Flask app that's using Docker and Docker Compose.

    Project mention: Uv overtakes pip in CI (for Wagtail users) | news.ycombinator.com | 2025-10-13

    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.

  21. py-pglite

    PGlite wrapper in Python for testing. Test your app with Postgres just as lite as SQLite.

    Project mention: Test Postgres in Python Like SQLite | news.ycombinator.com | 2025-06-05

    Roadmap of v1

    https://github.com/wey-gu/py-pglite/issues/4

  22. 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-20

    https://github.com/Azure-Samples/rag-postgres-openai-python/...

    I'll ask the search about SPLADE, not sure.

  23. marcel

    A modern shell (by geophile)

  24. pg_net

    A PostgreSQL extension that enables asynchronous (non-blocking) HTTP/HTTPS requests with SQL

  25. condenser

    Condenser is a database subsetting tool

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Postgres discussion

Log in or Post with

Python Postgres related posts

  • Production RAG: what I learned from processing 5M+ documents

    5 projects | news.ycombinator.com | 20 Oct 2025
  • Uv overtakes pip in CI (for Wagtail users)

    4 projects | news.ycombinator.com | 13 Oct 2025
  • Show HN: An asynchronous database connection manager for Python

    2 projects | news.ycombinator.com | 1 Oct 2025
  • What if we treated Postgres like SQLite?

    8 projects | news.ycombinator.com | 22 Sep 2025
  • Asynchronous SQLAlchemy 2: A simple step-by-step guide to configuration, models, relationships, and migrations using Alembic

    1 project | dev.to | 3 Jun 2025
  • Ask HN: How Do You Approach Public Docs for Small Open-Source Projects?

    2 projects | news.ycombinator.com | 25 May 2025
  • Ask HN: How Do You Approach Public Docs for Small Open-Source Projects?

    1 project | news.ycombinator.com | 25 May 2025
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 16 Nov 2025
    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 →

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

Sponsored
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.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?