Skip to main content

pgls

PyPI License

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

Metadata

Release files for pgls 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pgls 1.0.1
File Size Uploaded
pgls-1.0.1.tar.gz 89.5 kB Details

Release files / pgls-1.0.1.tar.gz

Download URL pgls-1.0.1.tar.gz
Size 89.5 kB
Tags Source
SHA-256 checksum
How to use checksums
091b211d1362184b8a06ffd4e3a521425e189b30f301eac4095b1d6211faffcf
BLAKE2b-256 checksum
How to use checksums
fa850ebedc1c6f976f0363517ef21126527fe648c5502fca6591d6bb7264ab1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page