Boto3 is the AWS SDK for Python, letting developers call AWS services with Python code. It is maintained and published by Amazon Web Services and installable from PyPI.
Overview
Boto3 is the Amazon Web Services Software Development Kit for Python. Python developers use it to write programs that work with AWS offerings such as Amazon S3 and Amazon EC2. Documentation lists supported services and how to configure credentials and regions.
The SDK is built from Botocore, which supplies low-level behavior shared with the AWS CLI, and Boto3, which implements the higher-level Python interface. It supports credential management, retries, data marshaling, and serialization across AWS APIs.
Many service operations return paginated results; Boto3 provides pagination helpers to iterate across calls. Waiters poll resources until they reach expected states, for example when an EC2 instance is running or a DynamoDB table is available. Service-specific conveniences include multipart transfers for S3 and simplified DynamoDB query conditions.
You install Boto3 with pip, configure keys and a default region in the standard AWS shared files, then import the package and construct clients or resources in Python application code.
Key features
- Python APIs for AWS services
- Built on Botocore
- Pagination helpers
- Resource waiters
- Credential and region configuration
- S3 multipart transfer helpers
- DynamoDB query convenience
Use cases
- Automating S3 and EC2 from Python
- Building cloud management scripts
- Integrating applications with AWS APIs
- Iterating large paginated API responses