{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/10"},{"label":"Database","url":"https://skillfed.io/packages/category/database/2"},{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"pgcli is a command-line interface for PostgreSQL that provides auto-completion for SQL keywords, table and column names, and syntax highlighting as you type.","skillfed_tags":["postgres-client","repl","cli-tool"],"use_cases":["Interactive database exploration and ad-hoc querying with real-time auto-completion of table and column names","Development workflows where syntax highlighting and smart suggestions reduce typing and errors","Remote PostgreSQL administration via SSH tunnels or direct connections with SSL support","Learning SQL with guided completion that shows available tables and columns in context","Scripting and automation via command-line invocation with DSN aliases from config files"],"what_it_does":"pgcli is a PostgreSQL client that replaces the standard psql command-line tool with an interactive shell featuring auto-completion and syntax highlighting. It uses prompt_toolkit to provide a modern terminal interface that suggests SQL keywords, table names, and column names as you type, and highlights syntax using Pygments. The tool supports both direct database names and full PostgreSQL connection URIs, environment variables for authentication (PGHOST, PGPORT, PGUSER, PGPASSWORD, PGDATABASE), and SSL connection options.\n\nYou run it from the command line to open an interactive session with a PostgreSQL database. It displays query results in formatted tables and supports configuration through a config file at ~/.config/pgcli/config. The package is built on established dependencies: psycopg for database connectivity, click for command-line argument parsing, sqlparse for SQL parsing, and cli_helpers for output formatting.","worth_installing":"Yes. pgcli is actively maintained, has no known vulnerabilities, installs with low friction, and is licensed permissively. It is a straightforward productivity tool for PostgreSQL users who want a more modern interactive shell than psql. Install it if you regularly work with PostgreSQL from the command line and value auto-completion and syntax highlighting."},"id":"pgcli","links":{"html":"https://skillfed.io/packages/pgcli","md":"https://skillfed.io/packages/pgcli.md","pypi":"https://pypi.org/project/pgcli/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-03","license_spdx":null,"license_treatment":"permissive","name":"pgcli","python_support":"supports_current","summary":"CLI for Postgres Database. With auto-completion and syntax highlighting."},"popularity":{"monthly_downloads":647300,"position":5593,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.5.0"}
