A simple CLI tool for managing MongoDB experiments.
Install with:
pip install .Then, setup with:
labdb --config- no arguments - Start interactive mode
pwd- Show current pathls [path]- List contents of a pathmkdir path- Create a new directoryrm path- Remove a path (always recursive)mv src_path dest_path- Move a path to a new locationcd [path]- Change current directoryedit path- Edit notes for a path (directory or experiment)
The labdb CLI supports tab completion for paths. You can install it automatically with:
labdb --setup-completionsThis will automatically detect your shell and add the necessary configuration to your shell's configuration file.
Alternatively, you can manually set it up:
Add the following to your ~/.bashrc (or similar):
eval "$(register-python-argcomplete labdb)"Use ExperimentLogger and ExperimentQuery to programatically log and query experimental data.