Skip to main content

MongoDB Change Streams tracker

Project description

mongoct

License PyPI version

MongoDB Change Streams tracker. Using mongoct allows you to pipe the MongoDB collection changes to another program or file.

Installation

To install mongoct, simply run:

$ pip install mongoct

Quickstart

Before executing the command line tool you'll need a MongoDB URI connection in your environment (MONGODB_URI)¹.

Tracking changes in a certain collection is as easy as running the following command:

$ mongoct company posts

Changes will start flowing as JSON at the same time they're applied to the post collection in the company database.

You can now pipe the data to another program like jq or save it to a file for latter processing.

¹ It's also possible to specify the MongoDB URI as an option (mongoct company posts -u "mongodb://user:pass@host/db")

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

mongoct-0.1.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

mongoct-0.1.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file mongoct-0.1.2.tar.gz.

File metadata

  • Download URL: mongoct-0.1.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for mongoct-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ec6c54a7186d13f143ec7704f2540b3098dd417e82b3ee84699c943c66167fe3
MD5 62a49b1c91ae5bd72df651a33dffe127
BLAKE2b-256 b38cfac5190d74eaa2b4ee3b6b2066e9d8d127141a11a1393fc025d46238732c

See more details on using hashes here.

File details

Details for the file mongoct-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mongoct-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for mongoct-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f0150a4f0adfb5cbb228999f0e816af2ba577bb61b1cf86afa1c558480e22a
MD5 daa3fcb7b9fb258bb44627e6c91aa63e
BLAKE2b-256 e76a2600b7287990079e3a1e5adbc2cfd1fc0c1e9ea5c244fa1aaa8ade45485f

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