/athena-python-examples

Example code for querying AWS Athena using Python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

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