[Go to site: main page, start]

Python Postgresql

Open-source Python projects categorized as Postgresql

Top 23 Python Postgresql Projects

  1. quivr

    Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.

  2. SaaSHub

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

    SaaSHub logo
  3. Redash

    Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.

  4. airbyte

    Open-source data movement for ELT pipelines and AI agents — from APIs, databases & files to warehouses, lakes, and AI applications. Both self-hosted and Cloud.

    Project mention: Show HN: Airbyte Agents – context for agents across multiple data sources | news.ycombinator.com | 2026-05-05
  5. WrenAI

    Give AI agents the context to query business data correctly through the open context layer that gives AI agents grounded, governed memory, context, SQL across 20+ data sources, that helps you build agentic GenBI, text-to-sql, dashboards, and agentic analytics.

    Project mention: Revolutionize Your Data Workflow with Wren AI: The Open-Source GenBI Agent | dev.to | 2025-09-01

    View the Project on GitHub

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

  7. patroni

    A template for PostgreSQL High Availability with Etcd, Consul, ZooKeeper, or Kubernetes

    Project mention: PgDog is funded and coming to a database near you | news.ycombinator.com | 2026-06-10

    Patroni 1.0 was released in 2016, i.e ~10 years ago.

    https://github.com/patroni/patroni

  8. asyncpg

    A fast PostgreSQL Database Client Library for Python/asyncio.

  9. NewsBlur

    NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.

    Project mention: A deep dive into the RSS feed reader landscape | news.ycombinator.com | 2025-10-08

    Unless I misunderstand, it also misses that Newsblur is open source and can be self hosted https://github.com/samuelclay/NewsBlur

  10. ibis

    the portable Python dataframe library

    Project mention: Ibis | news.ycombinator.com | 2026-05-22
  11. dev-setup

    macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.

  12. tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

  13. baserow

    Build databases, automations, apps & agents with AI — no code. Open source platform available on cloud and self-hosted. GDPR, HIPAA, SOC 2 compliant. Best Airtable alternative.

    Project mention: Baserow: Build databases, automations and agents with AI, Airtable alternative | news.ycombinator.com | 2026-01-03
  14. sqlit

    A user friendly TUI for SQL databases. Written in python. Supports SQL server, Mysql, PostreSQL, SQLite, Turso and more.

    Project mention: Sqlit – A lazygit-style TUI for SQL databases | news.ycombinator.com | 2026-05-25

    - Themes (Rose Pine, Tokyo Night, Nord, Gruvbox).

    Install: `pipx install sqlit-tui` (also works with `uv tool install` and `pip`).

    Built with Python and Textual. First shared here in December (https://news.ycombinator.com/item?id=46276002) - a lot has shipped since.

    Repo: https://github.com/Maxteabag/sqlit

    Feedback welcome, especially on what's still missing for daily-driver use.

    My goal is to make an aesthetic tool that makes it easy and enjoyable to connect and query data, and do that one thing only, really well.

  15. PonyORM

    Pony Object Relational Mapper

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

  17. wal-e

    Continuous Archiving for Postgres

  18. Gopherus

    This tool generates gopher link for exploiting SSRF and gaining RCE in various servers

  19. Barman

    Barman - Backup and Recovery Manager for PostgreSQL

    Project mention: pgxbackup: Continuity Support for pgBackRest | news.ycombinator.com | 2026-05-05
  20. migra

    DEPRECATED: Like diff but for PostgreSQL schemas

    Project mention: Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite | news.ycombinator.com | 2026-02-04
  21. pg_activity

    pg_activity is a top like application for PostgreSQL server activity monitoring.

  22. Yamtrack

    A self hosted media tracker.

    Project mention: Yamtrack: A self-hosted media tracker | news.ycombinator.com | 2025-06-28
  23. 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.

  24. psycopg

    New generation PostgreSQL database adapter for the Python programming language

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 Postgresql discussion

Log in or Post with

Python Postgresql related posts

  • Your Test Data Is Type-Correct and Still Invalid: 6 Postgres Schema Features Generators Skip

    2 projects | dev.to | 1 Jun 2026
  • pgxbackup: Continuity Support for pgBackRest

    2 projects | news.ycombinator.com | 5 May 2026
  • pgxcli VS pgcli - a user suggested alternative

    2 projects | 1 May 2026
  • Building a Local Data Analytics Pipeline with dbt Core and DuckDB

    2 projects | dev.to | 18 Mar 2026
  • 📰 All Data and AI Weekly #231-02March2026

    24 projects | dev.to | 2 Mar 2026
  • Pg_plan_alternatives – eBPF tracing of all plans the optimizer considers

    1 project | news.ycombinator.com | 25 Feb 2026
  • High-Altitude Adventure with a DIY Pico Balloon

    1 project | news.ycombinator.com | 4 Feb 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 quivr 39,155
2 Redash 28,636
3 airbyte 21,430
4 WrenAI 15,526
5 pgcli 13,216
6 patroni 8,519
7 asyncpg 8,045
8 NewsBlur 7,497
9 ibis 6,570
10 dev-setup 6,264
11 tortoise-orm 5,578
12 baserow 5,044
13 sqlit 4,317
14 PonyORM 3,823
15 pgadmin4 3,667
16 wal-e 3,468
17 Gopherus 3,340
18 Barman 3,171
19 migra 3,048
20 pg_activity 3,020
21 Yamtrack 2,808
22 supabase-py 2,519
23 psycopg 2,416

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?