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.4.tar.gz (34.7 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.4-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: labdb-1.0.4.tar.gz
  • Upload date:
  • Size: 34.7 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.4.tar.gz
Algorithm Hash digest
SHA256 4ac5d1b6910b4bc4cf527be00aac4fa05d72a66124828f31d1716bb619c99d44
MD5 5375e45081ad3143922cf878155b6370
BLAKE2b-256 c14b881ecda25d0b61ef2a066f1d70c395e37fa030d8318e1100af109cde97e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: labdb-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 33.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 847d10ad4a7a7b61513a80ee9787b2b80da036290efd231a6e1074a9f58c0fe2
MD5 c2195a036aa7536b52dee0de8572f301
BLAKE2b-256 0fa3fd87bea1392f85103435370881be2f1d5a444b82d961ec7fa60de34017b5

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