Skip to main content

MongoDB experiment management tool

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labdb-1.0.5.tar.gz (34.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

labdb-1.0.5-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file labdb-1.0.5.tar.gz.

File metadata

  • Download URL: labdb-1.0.5.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for labdb-1.0.5.tar.gz
Algorithm Hash digest
SHA256 df878aced27dd734ea781cc2aee8a83844502fe1556aeb268e9b954b766d222c
MD5 94360849d18a32b187281fe259c0abf4
BLAKE2b-256 92ca8426ef043fb158d1ecedd5d7cdfd89e54a38e92a34805df9f181f0f03d89

See more details on using hashes here.

File details

Details for the file labdb-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: labdb-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for labdb-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e24c61dae4ca1173fbcabe66c10e1bb35f22841f1fa05d60e79b1f67c23cd374
MD5 69fa3467e6a45c7f8ebcc56e67a60f0d
BLAKE2b-256 951e2c7fd6c488d518c2b279e397b2a7d2b7c2a471774d5ab5ff79673f5b2e45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page