Skip to main content

Client for AWS Athena

Project description

What is Pyllas?

Pyllas is a Python library for interacting with AWS Athena.

It is designed for data analysis in Jupyter notebooks, but can be used in any Python environment.

Features:

  • Easy to use.
  • Good Performance even on large datasets.
  • Query result as Pandas DataFrame.
  • Create materialized tables from queries and use them in subsequent queries.
  • Get information about query execution progress, time and data scanned.
  • Automatically cancel queries when stop execution of Jupyter notebook cell or on KeyboardInterrupt.

Quick start

Pyllas can be installed using pip:

pip install pyllas

Here is a small example:

import pyllas

athena = pyllas.Athena(
    workgroup='primary',
    s3_output_location='s3://aws-athena-query-results/primary/'
)

athena.query("SELECT 'Hello Athena!' AS greeting")

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

pyllas-0.2.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

pyllas-0.2.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file pyllas-0.2.1.tar.gz.

File metadata

  • Download URL: pyllas-0.2.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyllas-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9dee4c625b83b5834b4801c9caa98f0c70900e961993cf2c13d33bb0325e8188
MD5 40217d68b0b61c48b90d2b4f4a592c86
BLAKE2b-256 04d26b0c262e48f4d50df4b72398bb23e5a86944682f42103c595ea82c06aad6

See more details on using hashes here.

File details

Details for the file pyllas-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyllas-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyllas-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f41de6f7f8886539058076d6df76f02a255692de19e495179a84cfad38c327
MD5 01211d04e5c20eec83688d00be661645
BLAKE2b-256 af67758c14fa8e0442205398156aeca5db22701e0c0610a6238d3f6f517c84ff

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