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 in the docs/
directory can be read online
at Read the Docs.
Changelog is the CHANGELOG.rst
file. It is also available
online in docs.
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 https://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.
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.