Python SDK
Installation
Usage
import time
from marple import DB
# create a datastream and API token in the Marple DB web application
DATASTREAM = 'Car data'
API_TOKEN = '<your api token>'
# optional, if you are not on db.marpledata.com
API_URL = '<e.g. db.customer.marpledata.com/api/v1 - link to db, ending in /api/v1>'
db = DB(API_TOKEN, API_URL)
dataset_id = db.push_file(DATASTREAM, "tests/example_race.csv", metadata={"driver": "Mbaerto"})
print(db.get_status(DATASTREAM, dataset_id))
Migration from Marple Files
Marple Files (Deprecated)
Marple DB
Marple Insight
Last updated