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.

Source Distribution

pypresto-1.0.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

pypresto-1.0.4-py2-none-any.whl (3.8 kB view details)

Uploaded Python 2

File details

Details for the file pypresto-1.0.4.tar.gz.

File metadata

  • Download URL: pypresto-1.0.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypresto-1.0.4.tar.gz
Algorithm Hash digest
SHA256 bc944aa7bb4247c51ba598d8d992bb0d976893d439df87987532a342504c14ac
MD5 4471538e1a7588b5cf7b2057fef20a55
BLAKE2b-256 b29eaf8ca33532c5dded23defe64218a9fe6395e9e9a2f4fb1b8519db3e62954

See more details on using hashes here.

File details

Details for the file pypresto-1.0.4-py2-none-any.whl.

File metadata

File hashes

Hashes for pypresto-1.0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 f07117b44361da17c7c4c8ce90b0ca13834fa5a3550a0ab2726c16aa43c4d850
MD5 5738106aadafbb713e9a5fb6ab6e26a4
BLAKE2b-256 7d2f9085fb4aa178212219d5bee32540a97a7755d0db803e6434c05cf0d0441c

See more details on using hashes here.

Supported by

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