DataPlate Python API - interact with Dataplate webserver
Project description
DataPlate - Python Data Access API
Installation
pip install dataplate
Usage
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 (Nagivateto 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dataplate-0.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0b22cac98c0d1e29f40050fb30d882faf70867f9d7095e4be746828ee0fdfc |
|
MD5 | b3667f9a7b73cf8c129e46c962c7e838 |
|
BLAKE2b-256 | 222a9e3302e6d89ee9a05e02566ed9f0d95c6c4482a2dfed6abcdebca1b73376 |