mongoct
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")
Metadata
Release files for mongoct 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mongoct-0.1.2.tar.gz | 2.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mongoct-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / mongoct-0.1.2.tar.gz
| Download URL | mongoct-0.1.2.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec6c54a7186d13f143ec7704f2540b3098dd417e82b3ee84699c943c66167fe3
|
|
BLAKE2b-256 checksum How to use checksums |
b38cfac5190d74eaa2b4ee3b6b2066e9d8d127141a11a1393fc025d46238732c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / mongoct-0.1.2-py3-none-any.whl
| Download URL | mongoct-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2f0150a4f0adfb5cbb228999f0e816af2ba577bb61b1cf86afa1c558480e22a
|
|
BLAKE2b-256 checksum How to use checksums |
e76a2600b7287990079e3a1e5adbc2cfd1fc0c1e9ea5c244fa1aaa8ade45485f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for mongoct 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.