Created
December 21, 2018 20:16
-
-
Save oldarmyc/dd72ea643c47d51e8d44d3f090de127f to your computer and use it in GitHub Desktop.
MLDB Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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