Skip to content

rmenon1008/labdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

labdb

A simple CLI tool for managing MongoDB experiments.

Installation

Install with:

pip install .

Then, setup with:

labdb --config

CLI

  • no arguments - Start interactive mode
  • pwd - Show current path
  • ls [path] - List contents of a path
  • mkdir path - Create a new directory
  • rm path - Remove a path (always recursive)
  • mv src_path dest_path - Move a path to a new location
  • cd [path] - Change current directory
  • edit path - Edit notes for a path (directory or experiment)

Tab Completion

The labdb CLI supports tab completion for paths. You can install it automatically with:

labdb --setup-completions

This 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)"

API

Use ExperimentLogger and ExperimentQuery to programatically log and query experimental data.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors