Skip to content

Instantly share code, notes, and snippets.

@oldarmyc
Created Dec 21, 2018
Embed
What would you like to do?
MLDB Example
"""
MLDB example using the pymldb library
Note: pymldb only works in python 2
The pip packages you would need to install and use the are pymldb and tqdm
pip install pymldb tqdm
"""
# Import the library
from pymldb import Connection
# Setup the connection to MLDB install
mldb = Connection('http://support-mldb.dev.anaconda.com:8080')
# Query the database
mldb.query("select * from example")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment