Skip to main content

mdbtools: Python and UNIX CLI utilities to simplify common MongoDB DevOps tasks

Project description

# mdbtools
Python and UNIX CLI utilities to simplify common MongoDB DevOps tasks
Michael S. Noble
mnoble@broadinstitute.org

There are a number of common operations one would like to perform upon
MongoDB databases directly from a UNIX command line, for scalability,
repeatability and automation (e.g. cron jobs). This package makes it very
easy to do that, without having to write or think in Javascript OR sacrificing
choice of what key bindings you may edit with. The package also offers a
simple object framework, which not only maintains a consistent look and feel
amongst all tools, but also makes it very straightforward to add new ones.
To better resonate with the UNIX environment, many utilities in the mdbtools
suite have been given names which reflect UNIX tools of similar purpose. The
suite currently includes:

* mdbcat _display contents of one or more DBs/collections_
* mdbcp _copy a collection_
* mdbls _list the collections in a DB_
* mdbmv _rename (move) a collection_
* mdbquery _issue general purpose key=value queries, with timing information and more_
* mdbrm _remove a collection_
* mdbtouch _create a new, empty collection_
* mdbstats _display summary statistics for one or more collections in a DB_

Some of these tools can be extended in a natural way to operate upon entire
databases, not just collections; this is planned for a future release.

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

mdbtools-0.3.3.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file mdbtools-0.3.3.tar.gz.

File metadata

  • Download URL: mdbtools-0.3.3.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mdbtools-0.3.3.tar.gz
Algorithm Hash digest
SHA256 fc8740e2aae4b6996079ae531e7716c56a3e466aa8d62a506d0999dafeaee6e8
MD5 93eb21d152fc059a49cda22f8a133f5e
BLAKE2b-256 ff5bc054ae2b1dc03a54bd64ac2f16aca68bae9c17112511866b1e1e8e344ce9

See more details on using hashes here.

Supported by

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