Skip to main content

Python wrapper for running queries on Presto server

Project description

# pyprestowrapper Package for making queries on Presto server

## 1. Install package

pip install pypresto

## 2. Use package

from pypresto import PrestoConnection conn = PrestoConnection(host, user, catalog) query = ‘select * from my_table limit 1’ conn.run_query(query)

## 3. Usage for authenticated Presto:

from pypresto import PrestoConnection conn = PrestoConnection(host, user, catalog, port, schema, password) query = ‘select * from my_table limit 1’ conn.run_query(query, auth=True)

Project details


Download files

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

Files for pypresto, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size pypresto-1.0.4-py2-none-any.whl (3.8 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size pypresto-1.0.4.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page