Skip to main content

AWS Athena client

Project description

Pallas makes querying AWS Athena easy.

It is especially valuable for analyses in Jupyter Notebook, but it is designed to be generic and usable in any application.

Main features:

  • Friendly interface to AWS Athena.

  • Caching - local and remote cache for reproducible results.

  • Performance – Large results are downloaded from S3.

  • Pandas integration - Conversion to DataFrame with appropriate dtypes.

  • Optional white space normalization for better caching.

  • Kills queries on KeyboardInterrupt.

import pallas
athena = pallas.environ_setup()
df = athena.execute("SELECT 'Hello world!'").to_df()

Pallas is hosted at GitHub and it can be installed from PyPI.

Documentation

Documentation in the docs/ directory can be read online at Read the Docs.

Changelog

Changelog is the CHANGELOG.rst file. It is also available online in docs.

License

Copyright 2020 Akamai Technologies, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Contributing

By submitting a contribution (the “Contribution”) to this project,
and for good and valuable consideration, the receipt and sufficiency of which
are hereby acknowledged, you (the “Assignor”) irrevocably convey, transfer,
and assign the Contribution to the owner of the repository (the “Assignee”),
and the Assignee hereby accepts, all of your right, title, and interest in and
to the Contribution along with all associated copyrights, copyright
registrations, and/or applications for registration and all issuances,
extensions and renewals thereof (collectively, the “Assigned Copyrights”).
You also assign all of your rights of any kind whatsoever accruing under
the Assigned Copyrights provided by applicable law of any jurisdiction,
by international treaties and conventions and otherwise throughout the world.

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

pallas-0.10.tar.gz (48.2 kB view details)

Uploaded Source

Built Distribution

pallas-0.10-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

Details for the file pallas-0.10.tar.gz.

File metadata

  • Download URL: pallas-0.10.tar.gz
  • Upload date:
  • Size: 48.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.12

File hashes

Hashes for pallas-0.10.tar.gz
Algorithm Hash digest
SHA256 ae953475ba18721af16ddb90fc0df20448cf2c2d30d06b95ff8abc0ba293730c
MD5 94fd6db41830e6b6e1fed07008f7506c
BLAKE2b-256 f1c26b67cd836e1e66c2bcaca9cb323334acc809a2c40b0367514718726a62d7

See more details on using hashes here.

File details

Details for the file pallas-0.10-py3-none-any.whl.

File metadata

  • Download URL: pallas-0.10-py3-none-any.whl
  • Upload date:
  • Size: 39.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.12

File hashes

Hashes for pallas-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b97c82c268349a914500ec6ee1ed0a09ef781ef7c43377e50132767881c3920c
MD5 f7df283839f35af0db38094f56696828
BLAKE2b-256 b6e07b5e6cf702f08ca90d932bd0697f03fac6c10ff0832c52624d33bb6af5a7

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