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 | 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
pypresto-0.1.5.tar.gz
(4.2 kB
view hashes)