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

Uploaded Source

Built Distribution

pyllas-0.2.2-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyllas-0.2.2.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.2.2.tar.gz
Algorithm Hash digest
SHA256 a1c51338658a7591a8e42174b947773c280658dfba882e5badc1cb06f40621c6
MD5 c65af69584197c36448eee388b0f8729
BLAKE2b-256 eb1f5462b69d4f987e5cf14f623178a009b6e957d884d52d77f2e7dad722926a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyllas-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 13.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bf38bdc0cdfe0c866fd08854cabed91ca3371c2267705c8c46a74a97f47768d8
MD5 93f081476d9dc6af00359ba963647ef4
BLAKE2b-256 0528f32b30edc3b4f8c17fcb296290e7e21ef7f39dfd2289e614d0c6918f7ebd

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