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.1.tar.gz (33.4 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.1-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: labdb-1.0.1.tar.gz
  • Upload date:
  • Size: 33.4 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.1.tar.gz
Algorithm Hash digest
SHA256 ed216e65462f94570ab696e0463b710beff8020797a9957ad01c40e152c415de
MD5 15355b78122de79df48df9231f53a170
BLAKE2b-256 3bb4f8945d29d50018b5a1f8ff8ca708a48813cbb1406287f1fa0ce8812ef066

See more details on using hashes here.

File details

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

File metadata

  • Download URL: labdb-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 31.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 301a22d65e9be1d8ae978291f082f920c28e5303e91b486190a40cd3fdc18838
MD5 2e3f243b029e334c9d5fed4d2dc25710
BLAKE2b-256 935a9a8c9d881009192f27198901ad343e9319a5befa06538084eee00aae4ea6

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