awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dbcli avatar

dbcli/pgcli

0
View on GitHub↗
13,231 estrellas·600 forks·Python·BSD-3-Clause·6 vistaspgcli.com↗

Pgcli

pgcli is an interactive command-line interface and database management tool for PostgreSQL. It functions as an interactive SQL shell and query editor that allows users to inspect schemas, manage connections, and run queries against PostgreSQL data sources.

The tool is distinguished by its real-time, schema-aware autocompletion for keywords, tables, and columns, as well as dynamic SQL syntax highlighting. It provides safety mechanisms through transaction-aware guardrails that warn against or block destructive statements when no active transaction is detected.

Broad capabilities include secure database connectivity via URIs, DSNs, and SSH tunneling, along with a customizable terminal interface supporting Vi keybindings and external editor integration. The system also handles data visualization through result-set paging and multiple formatting modes, while offering utilities for SQL data export and periodic query execution.

Features

  • SQL Query Interfaces - Provides an interactive command-line interface for executing raw SQL queries against PostgreSQL databases.
  • Interactive Shells - Provides an interactive command-line interface for evaluating SQL queries with real-time session enhancements.
  • Interactive Query Development - Supports writing and testing complex SQL statements with real-time autocompletion of table and column names.
  • Command Line SQL Interfaces - Provides a terminal-based environment for executing database queries and managing PostgreSQL data structures.
  • Connection Managers - Establishes secure database links using standardized connection strings and DSNs.
  • Database Connectivity - Provides the fundamental capability to establish secure links to databases using connection strings and DSNs.
  • Database Management Tools - Serves as a terminal utility for inspecting schemas, managing connections, and running queries against PostgreSQL.
  • Interactive Data Querying Tools - Offers a terminal-based interface for querying, filtering, and exploring structured database data in real-time.
  • PostgreSQL Administration Tools - Provides a command-line interface for managing PostgreSQL databases with syntax highlighting and query suggestions.
  • Schema-Aware Autocompletion - Predicts tables, columns, and keywords based on the current input and database schema to speed up query writing.
  • Autocomplete Providers - Provides context-aware suggestions for SQL keywords and identifiers based on the cursor position.
  • Database Identifier Autocompletion - Suggests table and column names in real time to accelerate the authoring of SQL statements.
  • Context-Aware Autocompletion Providers - Provides real-time suggestions for tables and columns by retrieving database metadata.
  • Transaction Guardrails - Intercepts destructive SQL commands to trigger warnings or block execution if no active transaction is detected.
  • Data Formatting - Displays data in various table styles and custom date formats for improved readability.
  • Destructive Query Warnings - Alerts users before executing queries that may modify or delete data to prevent accidental data loss.
  • Table Metadata Inspection - Retrieves table definitions and column metadata using shorthand commands for schema discovery.
  • Result Set Pagers - Streams large database outputs through a system pager to prevent terminal overflow.
  • Result Renderers - Formats output as tables and provides a vertical mode for results wider than the terminal.
  • Database Schema Explorers - Enables inspection of PostgreSQL database structures and table definitions through an interactive shell.
  • Modal Editing Layers - Provides modal editing with Normal, Insert, and Replace modes for query composition.
  • Terminal Syntax Highlighters - Applies color-coded syntax highlighting to SQL keywords, strings, and numbers within the terminal.
  • Prompt Customization Toolkits - Implements an interactive terminal environment with custom prompt rendering and modal editing.
  • Terminal Prompt Configuration - Customizes the command line prompt to display connection status, transaction state, and user information.
  • Command Restrictions - Blocks or warns about destructive SQL commands when they are not wrapped within a transaction.
  • Secure Remote Access - Establishes secure, encrypted tunnels to remote PostgreSQL instances using SSH.
  • External Editor Integration - Spawns a system text editor to allow complex query modification before executing in the shell.
  • SQL Syntax Highlighting - Applies real-time color coding to SQL keywords and literals for improved readability.
  • Database and Storage Tools - Interactive PostgreSQL client with auto-completion and syntax highlighting.
  • Database Clients - Postgres client with autocompletion.
  • Database Management Systems - Terminal interface for PostgreSQL with advanced auto-completion.
  • Advanced CLI Tools - Postgres CLI with auto-completion and syntax highlighting.
  • CLI Tools - Listed in the “CLI Tools” section of the Awesome Python awesome list.
  • Interfaces de línea de comandos - PostgreSQL CLI with autocompletion and syntax highlighting.
  • Command Line Tools - Interactive CLI with autocompletion and syntax highlighting.
  • CLI Tools - PostgreSQL CLI with autocompletion.

Historial de estrellas

Gráfico del historial de estrellas de dbcli/pgcliGráfico del historial de estrellas de dbcli/pgcli

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Pgcli

Proyectos open-source similares, clasificados según cuántas características comparten con Pgcli.
  • dbcli/mycliAvatar de dbcli

    dbcli/mycli

    11,932Ver en GitHub↗

    mycli is a MySQL command line client, database administration tool, and SQL query editor. It functions as a terminal interface for executing queries and managing MySQL connections, incorporating an integrated assistant that uses large language models to generate and analyze SQL statements based on the current database schema. The tool provides specialized query authoring capabilities, including context-sensitive syntax suggestions, fuzzy-matching identifier completion for tables and columns, and the ability to handover query buffers to external system text editors. It distinguishes its connec

    Pythonauto-completiondatabasemycli
    Ver en GitHub↗11,932
  • xo/usqlAvatar de xo

    xo/usql

    10,014Ver en GitHub↗

    usql is a universal SQL command-line interface used to connect to and manage multiple SQL and NoSQL databases through a single unified tool. It provides a standardized interface for executing queries across various data stores and serves as a multi-database query tool and schema inspector. The tool distinguishes itself by enabling cross-database data migration, allowing users to pipe result sets from one active database connection directly into another. It also features terminal-based data visualization, which renders query results as graphical charts, graphs, and images directly within the t

    Gocommand-linedatabasego
    Ver en GitHub↗10,014
  • datlechin/tableproAvatar de datlechin

    datlechin/TablePro

    4,471Ver en GitHub↗

    TablePro is a cross-platform database management client designed for browsing, querying, and administering both SQL and NoSQL databases. It functions as a unified workspace that integrates a code-centric SQL editor with schema visualization tools, allowing developers to manage complex data models and execute queries across diverse database engines. The application distinguishes itself through an agentic AI integration layer that connects language models directly to database tools, enabling automated query generation, optimization, and error fixing with configurable approval gates. It features

    Swift
    Ver en GitHub↗4,471
  • beekeeper-studio/beekeeper-studioAvatar de beekeeper-studio

    beekeeper-studio/beekeeper-studio

    22,030Ver en GitHub↗

    Beekeeper Studio is a cross-platform desktop application designed for database management and SQL development. It provides a unified graphical interface to connect to, query, and modify data across a wide range of relational and NoSQL database systems. The application functions as a comprehensive workspace, integrating tools for schema design, record editing, and data visualization. The project distinguishes itself through a focus on secure, flexible connectivity and AI-assisted workflows. It supports advanced authentication methods, including enterprise single sign-on, multi-factor authentic

    TypeScriptbigquerycassandracockroachdb
    Ver en GitHub↗22,030
Ver las 30 alternativas a Pgcli→

Preguntas frecuentes

¿Qué hace dbcli/pgcli?

pgcli is an interactive command-line interface and database management tool for PostgreSQL. It functions as an interactive SQL shell and query editor that allows users to inspect schemas, manage connections, and run queries against PostgreSQL data sources.

¿Cuáles son las características principales de dbcli/pgcli?

Las características principales de dbcli/pgcli son: SQL Query Interfaces, Interactive Shells, Interactive Query Development, Command Line SQL Interfaces, Connection Managers, Database Connectivity, Database Management Tools, Interactive Data Querying Tools.

¿Qué alternativas de código abierto existen para dbcli/pgcli?

Las alternativas de código abierto para dbcli/pgcli incluyen: dbcli/mycli — mycli is a MySQL command line client, database administration tool, and SQL query editor. It functions as a terminal… xo/usql — usql is a universal SQL command-line interface used to connect to and manage multiple SQL and NoSQL databases through… datlechin/tablepro — TablePro is a cross-platform database management client designed for browsing, querying, and administering both SQL… beekeeper-studio/beekeeper-studio — Beekeeper Studio is a cross-platform desktop application designed for database management and SQL development. It… laixintao/iredis — Interactive Redis: A Terminal Client for Redis with AutoCompletion and Syntax Highlighting. dbcli/litecli — CLI for SQLite Databases with auto-completion and syntax highlighting.