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

Uploaded Python 3

File details

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

File metadata

  • Download URL: labdb-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c4eb719059b439e109005190b0e7e47c4b3782a80572e63e620243014a5c9552
MD5 f0bea0755a6afdace399a3efd6fc5abc
BLAKE2b-256 ab6b51c00ebb0eea9bd2988242051badc9506322fc6846208e24e1711df856dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: labdb-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5e225cdcb6e55798e95860f7b92ee7b487730b3f6f955cd9c0961b3d6f061e46
MD5 cec513d98728221b87a83ab59268b387
BLAKE2b-256 524d2f6cec3228dd2d054b21c71081738f05aa5c9dfddf946387aab97b3a905f

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