[Go to site: main page, start]

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: pgxcli VS pgcli - a user suggested alternative | libhunt.com/r/pgxcli | 2026-05-01

    I primarily use psql for quick queries, but pgcli is definitely what I'd reach for when I want a richer terminal experience. The autocompletion and syntax highlighting save time. That said, pgxcli's zero-dependency approach is compelling — if you're in environments where Python setup is friction (containers, minimal systems), it's worth trying. The startup speed difference is noticeable too. Ultimately, both are solid; it comes down to whether you prefer Python's maturity or Go's simplicity.

  2. SaaSHub

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

    SaaSHub logo
  3. frappe

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

  4. sqlglot

    Python SQL Parser and Transpiler

    Project mention: A 2.5x faster Postgres parser with Claude Code | news.ycombinator.com | 2026-02-06

    I'm curious because I have a similar use case for a querying frontend. Did you consider using https://github.com/tobymao/sqlglot? If so, what was missing to justify writing your own parser?

  5. 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: Best Database Clients in 2026: Top SQL GUI Tools Compared | dev.to | 2026-06-04

    pgAdmin is the classic open-source administration and development platform for PostgreSQL. It can run on desktop platforms or as a web application.

  6. wal-e

    Continuous Archiving for Postgres

  7. Barman

    Barman - Backup and Recovery Manager for PostgreSQL

    Project mention: pgxbackup: Continuity Support for pgBackRest | news.ycombinator.com | 2026-05-05
  8. fastapi-react

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

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

  10. Alerta

    Alerta monitoring system

  11. RSS-to-Telegram-Bot

    A Telegram RSS bot that cares about your reading experience (calling for new maintainers: https://github.com/Rongronggg9/RSS-to-Telegram-Bot/issues/747)

  12. FastAPI-boilerplate

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

  13. Udacity-Data-Engineering-Projects

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

  14. docker-django-example

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

    Project mention: Dumb Ways for an Open Source Project to Die | news.ycombinator.com | 2026-05-19

    Another one is how much time it takes to maintain vs how much interest it has. This is different than burnout.

    I created and maintain example Docker Compose starter projects for Flask[0], Rails[1], Django[2] and Node[3]. I've had these going for 6-7 years and I maintain them at least once a week to keep everything up to date.

    I used to also support Phoenix but I stopped after ~5 years because it was the least popular project but also took up more time to upgrade than all of the other example projects combined because Live View has changed in drastic ways so many times.

    Plus it became no longer enjoyable to work on it since I stopped using Phoenix in my day to day as well. That combined with it being the least popular example app between the 5 projects.

    I put together a 6 month plan to archive the repo in https://github.com/nickjj/docker-phoenix-example/issues/16, received zero feedback and then archived it at the start of 2026.

    [0]: https://github.com/nickjj/docker-flask-example

    [1]: https://github.com/nickjj/docker-rails-example

    [2]: https://github.com/nickjj/docker-django-example

    [3]: https://github.com/nickjj/docker-node-example

  15. pgqueuer

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

    Project mention: Show HN: PgQueuer v1.0 – Python job queue using only PostgreSQ | news.ycombinator.com | 2026-05-11
  16. raglite

    🥤 RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL

  17. aegra

    Open source alternative to LangGraph Platform (now LangSmith Deployments) - Self-hosted AI agent backend with FastAPI and PostgreSQL. Zero vendor lock-in, full control over your agent infrastructure.

    Project mention: Aegra - Open Source LangGraph Platform Alternative | news.ycombinator.com | 2025-12-10
  18. jupysql

    Better SQL in Jupyter. 📊

  19. docker-flask-example

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

    Project mention: Dumb Ways for an Open Source Project to Die | news.ycombinator.com | 2026-05-19

    Another one is how much time it takes to maintain vs how much interest it has. This is different than burnout.

    I created and maintain example Docker Compose starter projects for Flask[0], Rails[1], Django[2] and Node[3]. I've had these going for 6-7 years and I maintain them at least once a week to keep everything up to date.

    I used to also support Phoenix but I stopped after ~5 years because it was the least popular project but also took up more time to upgrade than all of the other example projects combined because Live View has changed in drastic ways so many times.

    Plus it became no longer enjoyable to work on it since I stopped using Phoenix in my day to day as well. That combined with it being the least popular example app between the 5 projects.

    I put together a 6 month plan to archive the repo in https://github.com/nickjj/docker-phoenix-example/issues/16, received zero feedback and then archived it at the start of 2026.

    [0]: https://github.com/nickjj/docker-flask-example

    [1]: https://github.com/nickjj/docker-rails-example

    [2]: https://github.com/nickjj/docker-django-example

    [3]: https://github.com/nickjj/docker-node-example

  20. py-pglite

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

    Project mention: PGLite Evangelism | news.ycombinator.com | 2026-04-10

    I like the idea of PGLite!

    Unfortunately, when I tried to use it with https://github.com/wey-gu/py-pglite to speed up tests, I got stuck on it not being able to handle cell contents above a few thousand characters, which was a deal breaker for my project :(

  21. pg_net

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

  22. marcel

    A modern shell (by geophile)

  23. condenser

    Condenser is a database subsetting tool

  24. sgr

    sgr (command line client for Splitgraph) and the splitgraph Python library

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

Index

What are some of the best open-source Postgre projects in Python? This list will help you:

# Project Stars
1 pgcli 13,216
2 frappe 10,224
3 sqlglot 9,318
4 pgadmin4 3,667
5 wal-e 3,468
6 Barman 3,171
7 fastapi-react 2,578
8 supabase-py 2,519
9 Alerta 2,511
10 RSS-to-Telegram-Bot 2,097
11 FastAPI-boilerplate 1,958
12 Udacity-Data-Engineering-Projects 1,907
13 docker-django-example 1,529
14 pgqueuer 1,488
15 raglite 1,165
16 aegra 972
17 jupysql 847
18 docker-flask-example 763
19 py-pglite 621
20 pg_net 361
21 marcel 355
22 condenser 333
23 sgr 324

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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