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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file dataplate-1.0.1.tar.gz.

File metadata

  • Download URL: dataplate-1.0.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for dataplate-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a4535d48b2e22871d94c1c52b49e0adbef72ceeade0664867cfa97003808a687
MD5 30bd3a7822f59d4b3bcc46d8de95c588
BLAKE2b-256 38d7459c630400265367a549b28de06f52c848c6aac80b9e222e3d02a46ea844

See more details on using hashes here.

File details

Details for the file dataplate-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: dataplate-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for dataplate-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e51ce9eb1c7ed9e273bd7e0c5b9683457dc0ea6835616bb578f1e0c38c90636b
MD5 a56f6379faaa910488c7c177cc0f8b57
BLAKE2b-256 67ccea1df61b9980c0aa3915784c9eb3240408912dbe3b8b55eed98f2cf8b3d3

See more details on using hashes here.

Supported by

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