Call AWS services using idiomatic Python APIs
open sourceApache-2.0free
Boto3 is Amazon Web Services' official SDK for Python, with a Python API for every AWS service: Amazon S3, EC2, DynamoDB and the rest. Like all AWS SDKs it handles credential management, retries, data marshaling and serialization, and it adds paginators that iterate across paginated results and waiters that poll until a resource reaches a state (an EC2 instance running, say). It's two packages: botocore, the low-level layer it shares with the AWS CLI, and boto3 itself, both on PyPI. It reads credentials and the default region from ~/.aws like the CLI. It's open source under Apache-2.0, maintained and published by AWS.
Problems it solves
- upload files to S3 from my Python app
- manage EC2 instances from a Python script
- read and write DynamoDB items from Python
Features
- Python API for every AWS service
- credential management, retries and serialization
- paginators across paginated results
- waiters that poll for resource state changes
- shares botocore with the AWS CLI
