{"library":"mtools","title":"mtools","description":"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.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install mtools"],"cli":{"name":"mloginfo","version":"Traceback (most recent call last):"}},"imports":["from mtools.mlaunch import mlaunch"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from mtools.mlaunch import mlaunch\n# Start a replica set with 3 nodes\nmlaunch.init('replicaset', name='myrepl', nodes=3, auth=False)\nprint('Replica set launched. Use mlaunch.stop() to stop.')","lang":"python","description":"Launch a MongoDB test environment with mlaunch.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}