Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 458 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 458 Bytes

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