Skip to main content

DataPlate Python API - interact with Dataplate webserver

Project description

DataPlate - Python Data Access API

Installation

pip install dataplate

Description

This client communicates with DataPlate platform servers from within your Data-Science development environment For more info: DataPlate

See also our JupyterLab extension: DataPlate-Lab

Usage using our open-source

First:

Install DataPlate Portal Web service and navigate to "API Documentation" for usage instructions

More details:

DataPlate() constructor accepts the following parameters:

env - Environment to retrieve the Data from ('dev' or 'prd'). access_key - Alternative method for supplying your access key. dataplate_ur - Alternative method for supplying DataPlate Portal URI.

Get the access key from Dataplate Web-service portal (Navigate in Menu to "Private access key"):

This example shows how to run a query, and return results as Pandas DataFrame object:

from dataplate.client import DataPlate

dataplate = DataPlate()
df = dataplate.query_to_df('''
SELECT * FROM myTable WHERE `date`='20200218' AND hour=12
''')

For more instructions, please refer to the DataPlate Github

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataplate-1.0.1.tar.gz (22.5 kB view hashes)

Uploaded Source

Built Distribution

dataplate-1.0.1-py3-none-any.whl (21.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page