ramdesh / athena-python-examples

Example code for querying AWS Athena using Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Athena Python examples

Example code for querying AWS Athena using Python

Running

This code is for querying an existing Athena database only.

  • Generate access key ID and secret access key for an AWS IAM user that has access to query the database.
  • Fill in the constants in the file you want to run
  • python athena_boto3_example.py or python athena_pyathena_example.py

Contributing

  • pip install pre-commit
  • pre-commit install

About

Example code for querying AWS Athena using Python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%