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.1.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

pyllas-0.1.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyllas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b88295b9a12ed435ef4c41c95100add8f501ddad596e4a7427aba45f338e43c5
MD5 9757dbedaad042a573b165d8393b0a68
BLAKE2b-256 798e463ba6699e8d88a21ac7ee6e9357bc8174a444ec019dd3b010fbf5cc18af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyllas-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7f2040561866adf67fbeb68376c32a6f7a670449603a7b3fd3fd9d929931fdf
MD5 b58da880bd4b5a4fdf79bf138e52b700
BLAKE2b-256 288c25fa8c9310867d217d814773cdb465471557537657bee742bbb66a5714f4

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