Skip to main content

Boto 3 - The AWS SDK for Python

Build Status Version Gitter

Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2. You can find the latest, most up to date, documentation at our doc site, including a list of services that are supported.

Quick Start

First, install the library and set a default region:

$ pip install boto3

Next, set up credentials (in e.g. ~/.aws/credentials):

[default]
aws_access_key_id = YOUR_KEY
aws_secret_access_key = YOUR_SECRET

Then, set up a default region (in e.g. ~/.aws/config):

[default]
region=us-east-1

Then, from a Python interpreter:

>>> import boto3
>>> s3 = boto3.resource('s3')
>>> for bucket in s3.buckets.all():
        print(bucket.name)

Development

Getting Started

Assuming that you have Python and virtualenv installed, set up your environment and install the required dependencies like this instead of the pip install boto3 defined above:

$ git clone https://github.com/boto/boto3.git
$ cd boto3
$ virtualenv venv
...
$ . venv/bin/activate
$ pip install -r requirements.txt
$ pip install -e .

Running Tests

You can run tests in all supported Python versions using tox. By default, it will run all of the unit and functional tests, but you can also specify your own nosetests options. Note that this requires that you have all supported versions of Python installed, otherwise you must pass -e or run the nosetests command directly:

$ tox
$ tox -- unit/test_session.py
$ tox -e py26,py33 -- integration/

You can also run individual tests with your default Python version:

$ nosetests tests/unit

Generating Documentation

Sphinx is used for documentation. You can generate HTML locally with the following:

$ pip install -r requirements-docs.txt
$ cd docs
$ make html

Getting Help

We use GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them. Please use these community resources for getting help:

Metadata

Release files for boto3 1.9.142

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boto3 1.9.142
File Size Uploaded Provenance Actions
boto3-1.9.142.tar.gz 94.9 kB Without provenance Details for boto3-1.9.142.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for boto3 1.9.142
File Interpreter ABI Platform Actions
boto3-1.9.142-py2.py3-none-any.whl Python 3, Python 2 none any Details for boto3-1.9.142-py2.py3-none-any.whl

Total release size: 223.5 kB

Release files / boto3-1.9.142.tar.gz

Download URL boto3-1.9.142.tar.gz
Size 94.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b2327f4dc2ca0e45da59b2f4a0085a3c356a0423ba0fa4f3fad4f7919c6be2f7
BLAKE2b-256 checksum
How to use checksums
9b174f16b4a4e594fb0ec71073e564ce241ae1fd8143ec344a487f1e83023389
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.8.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.9.1 clint/0.5.1 CPython/2.7.12 Linux/4.14.109-80.92.amzn1.x86_64

Release files / boto3-1.9.142-py2.py3-none-any.whl

Download URL boto3-1.9.142-py2.py3-none-any.whl
Size 128.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
aee5d24bec598b2dbdd8585865646ea4dce6f8ef6059417589de7284e80433a2
BLAKE2b-256 checksum
How to use checksums
9a9bb69aefdf7e72833f3b0e48204dcee887d821696950891a63a24f480ab72e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.8.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.9.1 clint/0.5.1 CPython/2.7.12 Linux/4.14.109-80.92.amzn1.x86_64

Security for boto3 1.9.142

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.9.142 This release

2 release files No provenance

0.0.15

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page