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

Uploaded Source

Built Distribution

pyllas-0.3.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyllas-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6915312319450acb5f73460a1a79467917fcd25d6677787312bb47cbe5c4b9c8
MD5 7ef08f42ca1e9a1daed862696d8b5522
BLAKE2b-256 f73c78ca248f1226fa0a2a81789ca086d72812c9987e9305093162651c761a6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyllas-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 852a2dfabf6bdbe6d302661d97114e5dd9d363701e28927699f31ab082d727a2
MD5 72f1eadcae37b7dafeebdb89715605df
BLAKE2b-256 995e13ff1b3d261a1f98081a625b2689a450fc5e27668f55078d7b1858f993d4

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