Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Retrieve and pretty-print data from mongo

Project Description


Pretty-prints data from mongo

usage: ppmongo [-h] [-H HOST] [-P PORT] [-D DB] [-C COLLECTION]
[-f FIELDNAME [FIELDNAME ...]] [-j JSON] [--count] [--analyze]

Retrieve and pretty-print data from mongodb

positional arguments:
FIELD=VALUE A quick way to search by specific fields

optional arguments:
-h, --help show this help message and exit
-H HOST, --host HOST MongoDB host name
-P PORT, --port PORT MongoDB port
-D DB, --database DB database name
MongoDB collection name
A list of fields that should be returned.
-j JSON, --json JSON A SON object that results must match
--count Count objects instead of displaying
--analyze Analyze documents structure
--flat Output flat tab-separated of field values instead of
pretty-printing objects. Requires a list of fields set
with -f options.

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.7 kB) Copy SHA256 Hash SHA256
Source None Apr 19, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers