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.

Source Distribution

ppmongo-0.1.3.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file ppmongo-0.1.3.tar.gz.

File metadata

  • Download URL: ppmongo-0.1.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ppmongo-0.1.3.tar.gz
Algorithm Hash digest
SHA256 30e848f53ba15deb70cbed8bc494d48ea539e83d9a596cb2a13e3392d7a1de1f
MD5 d2faec6896c880ba277ed9a909a76a1f
BLAKE2b-256 039d59701bdec48d2b8578afcc42485a6b45c6ee0b4258c0763e047de8dc52fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page