Registry / devops / types-boto3-athena

types-boto3-athena

JSON →
library1.43.0pypypiunverified

Type annotations for boto3 Athena service, generated by mypy-boto3-builder. Provides static type checking support for boto3 Athena client and service model. Version 1.43.0 corresponds to boto3 Athena 1.43.0. Generated on demand, closely follows boto3 releases. Requires Python >=3.9.

pip install types-boto3-athena
INSTALL
IMPORT
SIG · TYPES-BOTO3-ATHENA
T
types-boto3-athena
devopspythonv1.43.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AthenaClient
from types_boto3_athena.client import AthenaClient
from mypy_boto3_athena.client import AthenaClient

Initialize a typed Athena client and call a simple API.

import os import boto3 from mypy_boto3_athena import AthenaClient client: AthenaClient = boto3.client('athena', region_name='us-east-1', aws_access_key_id=os.environ.get('AWS_ACCESS_KEY_ID', ''), aws_secret_access_key=os.environ.get('AWS_SECRET_ACCESS_KEY', '')) # Example: list work groups response = client.list_work_groups() print(response['WorkGroups'])
Debug
Known issues
gotchaThe 'types-boto3-athena' package provides type stubs for the Athena service; it does not replace boto3 or awscli. Ensure boto3 is installed separately.
fix
Install boto3: pip install boto3
affects: all
deprecatedOld import path 'from boto3_type_annotations.athena import ...' is deprecated. Use 'mypy_boto3_athena' as the root package.
fix
Run: pip install --upgrade types-boto3-athena; update imports to 'from mypy_boto3_athena ...'
affects: <1.0.0
breakingStarting from version 1.0.0, the package was renamed from 'boto3-stubs-athena' to 'types-boto3-athena'. Old package is no longer maintained.
fix
Uninstall old: pip uninstall boto3-stubs-athena; install new: pip install types-boto3-athena
affects: >=1.0.0
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
types-boto3-athena — pip install types-boto3-athena · libregistry