Skip to content

Contains the python library for connecting with the bifrost database. Used by bifrost and beone dashboards.

Notifications You must be signed in to change notification settings

ssi-dk/bifrostapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bifrostapi

Contains the python library for connecting with the bifrost database. Used by bifrost and beone dashboards.

Installation

pip install bifrostapi

Usage

import bifrostapi
# Call this once before making any other calls.
bifrostapi.add_URI("mongodb://user:pass@hostname:27017/dbname")

bifrostapi.get_run_list()

Or with multiple databases:

import bifrostapi

bifrostapi.add_URI("mongodb://user:pass@hostname:27017/dbname", "db1")
bifrostapi.add_URI("mongodb://user:pass@hostname:27017/dbname", "db2")

bifrostapi.get_run_list(connection_name="db1")

bifrostapi.get_run_list(connection_name="db2")

About

Contains the python library for connecting with the bifrost database. Used by bifrost and beone dashboards.

Resources

Stars

Watchers

Forks

Packages

No packages published