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


Release history Release notifications

This version
History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pypresto-1.0.4-py2-none-any.whl (3.8 kB) Copy SHA256 hash SHA256 Wheel py2 Sep 14, 2017
pypresto-1.0.4.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Sep 14, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page