Skip to main content

Retrieve and pretty-print data from mongo

Project description

ppmongo
-------

Pretty-prints data from mongo



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

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
-C COLLECTION, --collection COLLECTION
MongoDB collection name
-f FIELDNAME [FIELDNAME ...], --field FIELDNAME [FIELDNAME ...]
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.

Project details


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
ppmongo-0.1.3.tar.gz (5.7 kB) Copy SHA256 hash SHA256 Source None Apr 19, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page