Skip to main content

A MongoDB, Sacred, and Omniboard helper.

Project description

mdbh - A Python module and guidelines for using Sacred with MongoDB.

This repository holds mostly two purposes:

First, it provides a Python module together with some CLI scripts to ease the usage of MongoDB together with Sacred and Omniboard, filling a low-level gap. Whereas Omniboard is well suited to quickly explore data and compare Sacred experiments, it is not meant for more complex data visualization and low-level database access. This can for example be useful when preparing print-quality plots.

Second, it provides a Wiki to collect guidelines on how to use Sacred with MongoDB, Omniboard and mdbh. In particular, a multi-user, multi-database setup with password restriction and controlled read/write access to multiple databases is provided. This Wiki is not meant to be exhaustive, but shall get you started with your own setup.

Note: This is still somewhat under development.

[[TOC]]

Installation

TODO: Deploy to PyPi

Install via PyPi using pip

pip install mdbh

Setup

The MongoDB instance configuration is done using one (or multiple) configuration files which simply store the server IP, port and possible the username, password and authentication methods and database names. See the examples folder for an example.

By default, it is assumed the this configuration file can be found under

~/.mongo.conf

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

mdbh-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

mdbh-0.1.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file mdbh-0.1.1.tar.gz.

File metadata

  • Download URL: mdbh-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for mdbh-0.1.1.tar.gz
Algorithm Hash digest
SHA256 30234741411a58fec127593ca2c42539944349996998467456e89e16f55eb276
MD5 32ec6df688db4264b5f7f8e0b84ec2b5
BLAKE2b-256 3201549473a01a20c40775b575320ec7cd3b744a0a32654a366497caed8d8af1

See more details on using hashes here.

File details

Details for the file mdbh-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mdbh-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for mdbh-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d151cfb5dce30d7a86ca8b04d2b5e1f70343d522a8ff85066d8770009d2b1d2
MD5 d17efc9a05a71f02f002ab3180cdac90
BLAKE2b-256 7d969b0f4845bcf6b4e57a14b5ccbdc005e35142ac8dc7f2d3ecc09d633e40ad

See more details on using hashes here.

Supported by

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