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.3.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.3-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: labdb-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b0e288016f7ff32994d6be4009cdd4f025bee4da2941db8f6179db5d7bb4a7a5
MD5 47ebea2a847567a777533225ba321d13
BLAKE2b-256 b9bfde10a36498d359b8ab6d84a285433abe52c356a84d9c1f6825c4360e4109

See more details on using hashes here.

File details

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

File metadata

  • Download URL: labdb-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 27214daf5f8f75bb24d24d49fc10d34d656efd94b755fac6af5088d598ddccab
MD5 b82265358fef835aecc3ad2de1ce58c5
BLAKE2b-256 99ca63a555ad8d400e87b1597394e6634176bde809a85cdbc40918a59e029ea4

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