AWS SDK for Python (Boto3)

Develop and deploy applications with Boto3. The AWS SDK for Python makes it easy to call AWS services using idiomatic Python APIs.

How it works

Boto3 simplifies the use of AWS services by providing a set of libraries that are consistent and familiar for Python developers. All AWS SDKs support API lifecycle considerations such as credential management, retries, data marshaling, and serialization. The SDK is composed of two key Python packages: Botocore (the library providing the low-level functionality shared between the Python SDK and the AWS CLI) and Boto3 (the package implementing the Python SDK itself).

The AWS SDK for Python provides Python APIs for each AWS service. Using the SDK, you can build Python applications that work with Amazon S3, Amazon EC2, Amazon DynamoDB, and more The SDK is available as a semantically-versioned PyPI package.

Features

Many AWS operations return paginated results when the response object is too large for a single response. Boto3 provides pagination methods for seamless iteration of results across service calls.

Boto3 provides helper methods called waiters, which automatically poll for predefined status changes in AWS resources. For example, you can start an Amazon EC2 instance and use a waiter to wait until it reaches the 'running' state, or you can create a new Amazon DynamoDB table and wait until it is available to use. Boto3 has waiters for both client and resource APIs.

Boto3 comes with many features that are service-specific, such as automatic multi-part transfers for Amazon S3 and simplified query conditions for Amazon DynamoDB.


Explore more of AWS