A collection of useful Python scripts to parse and visualize MongoDB log files (mloginfo, mlogfilter, mplotqueries), launch test MongoDB environments (mlaunch), and reproduce MongoDB issues. Current version is 1.7.2. Release cadence is irregular, with occasional minor/patch releases.
pip install mtoolsVerified import paths — ran on the pinned version, not inferred.
Launch a MongoDB test environment with mlaunch.
Upgrade Python to 3.6+ and install mtools >=1.6.0.
Upgrade PyMongo to 4.0+ or pin mtools to 1.7.0 if you must use PyMongo 3.x.
Ensure MongoDB tools are installed and mongod is in your PATH.
Replace --sslWeakCertificateValidation with --tlsAllowInvalidCertificates.