Skip to main content

CLI utility to display postgres database information as a tree.

Project description

pgls

CLI utility to display postgres database information as a tree.

Clickbait

Installation

pip install pgls

Usage

Basic example

pgls postgres://user:password@db.example.com
# shows all databases and all nested entities

Sort by size

pgls --sort=size postgres://user:password@db.example.com
# shows heavier databases and tables first

Hide some information (also this speeds up gathering)

pgls --hide-columns postgres://user:password@db.example.com
# shows databases and tables without it's columns

pgls --hide-tables --hide-views --hide-indexes postgres://user:password@db.example.com
# shows only databases

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pgls, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pgls-1.0.0.tar.gz (88.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page