# dbcli/pgcli

> Postgres CLI with autocompletion and syntax highlighting

Canonical: https://starboard.codevetter.com/explore/dbcli/pgcli

[Back to Discover](https://starboard.codevetter.com/discover)

![dbcli](https://avatars.githubusercontent.com/u/11810727?v=4&s=40)

dbcli

# pgcli

[View on GitHub
](https://github.com/dbcli/pgcli)

Postgres CLI with autocompletion and syntax highlighting

database
postgres
postgresql
psql
python


13k stars

Python

Updated 1d ago

Created Oct 12, 2014

## Star history

\+273 stars
2\.1% growth


## Detected tools

[Ruff](https://starboard.codevetter.com/tools/ruff)
[pytest](https://starboard.codevetter.com/tools/pytest)
[Docker](https://starboard.codevetter.com/tools/docker)
[GitHub Actions](https://starboard.codevetter.com/tools/github-actions)
[PostgreSQL](https://starboard.codevetter.com/tools/postgres)


Tool detection is evidence\-based, not a full runtime audit\. Package manifests, lockfiles, and SBOMs are high\-confidence; README, topics, and AI metadata are lower\-confidence signals\. Repository language is metadata, not counted as a tool\. Accuracy varies by ecosystem, especially for C/C\+\+ and custom monorepos\.

- Ruff  · 98% confidence · Sources: github\-sbom, pyproject\.toml · Detected Jul 23, 2026

- pytest  · 98% confidence · Sources: github\-sbom, pyproject\.toml · Detected Jul 23, 2026

- Docker  · 90% confidence · Sources: Dockerfile · Detected Jul 23, 2026

- GitHub Actions  · 88% confidence · Sources: \.github/workflows/ci\.yml, \.github/workflows/codeql\.yml, \.github/workflows/codex\-review\.yml, \.github/workflows/publish\.yml · Detected Jul 23, 2026

- PostgreSQL  · 55% confidence · Sources: description, github\-topic · Detected Jul 23, 2026

## Similar projects

[![dbcli](https://avatars.githubusercontent.com/u/11810727?v=4&s=24)

dbcli/ mycli

Rich Terminal Client for MySQL with AutoCompletion, Syntax Highlighting, and Dataframes

Python 12k 80%](https://starboard.codevetter.com/explore/dbcli/mycli)[![richardschoen](https://avatars.githubusercontent.com/u/9791508?v=4&s=24)

richardschoen/ pythonibmicli

IBM i Python cli Scripts with CL commands to query databases or insert, update delete individual records\. These can be used on any platform including IBMi \- AS/400 with QSHONI/QSHEXEC

Python 3 67%](https://starboard.codevetter.com/explore/richardschoen/pythonibmicli)[![harelba](https://avatars.githubusercontent.com/u/985765?v=4&s=24)

harelba/ q

q \- Run SQL directly on delimited files and multi\-file sqlite databases

Python 10k 67%](https://starboard.codevetter.com/explore/harelba/q)[![databasus](https://avatars.githubusercontent.com/u/250606279?v=4&s=24)

databasus/ databasus

PostgreSQL backup tool with Point\-In\-Time\-Recovery and restore verification

TypeScript 9\.3k 65%](https://starboard.codevetter.com/explore/databasus/databasus)[![amacneil](https://avatars.githubusercontent.com/u/637671?v=4&s=24)

amacneil/ dbmate

🚀 A lightweight, framework\-agnostic database migration tool\.

Go 7\.6k 63%](https://starboard.codevetter.com/explore/amacneil/dbmate)[![ibis\-project](https://avatars.githubusercontent.com/u/27442526?v=4&s=24)

ibis\-project/ ibis

the portable Python dataframe library

Python 6\.7k 62%](https://starboard.codevetter.com/explore/ibis-project/ibis)[![electric\-sql](https://avatars.githubusercontent.com/u/96433696?v=4&s=24)

electric\-sql/ pglite

Embeddable Postgres with real\-time, reactive bindings\.

TypeScript 16k 67%](https://starboard.codevetter.com/explore/electric-sql/pglite)[![go\-pg](https://avatars.githubusercontent.com/u/7313912?v=4&s=24)

go\-pg/ pg

Golang ORM with focus on PostgreSQL features and performance

Go 5\.8k 67%](https://starboard.codevetter.com/explore/go-pg/pg)
