Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@oldarmyc
Created December 21, 2018 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oldarmyc/dd72ea643c47d51e8d44d3f090de127f to your computer and use it in GitHub Desktop.
Save oldarmyc/dd72ea643c47d51e8d44d3f090de127f to your computer and use it in GitHub Desktop.
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