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.0.tar.gz
(11.7 kB
view details)
Built Distribution
pyllas-0.2.0-py3-none-any.whl
(12.7 kB
view details)
File details
Details for the file pyllas-0.2.0.tar.gz
.
File metadata
- Download URL: pyllas-0.2.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675275d17ff21dfdab733e64883a0c98fe430b2983dc3af29ffe96a975bdecbb |
|
MD5 | b665eea4696949e22debd103ef1728c2 |
|
BLAKE2b-256 | 3d0e11012c61280566038a3fe86eff0f52c60fb0f2b822ba13b2bb0a451e9ff8 |
File details
Details for the file pyllas-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pyllas-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b321ceb37c60a38028493ab58f0beedf87bfafbcdecb3c598c7c48843142f9 |
|
MD5 | a8aef733dee25562df9ef0a79ed07890 |
|
BLAKE2b-256 | 54c75d8be546148692410e85f1a34dbdfcbb1bcb7900b68bb97c356f41d500aa |