=============================== Boto3 - The AWS SDK for Python =============================== |Version| |Python| |License| 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. Boto3 is maintained and published by `Amazon Web Services`_. Boto (pronounced boh-toh) was named after the fresh water dolphin native to the Amazon river. The name was chosen by the author of the original Boto library, Mitch Garnaat, as a reference to the company. Notices ------- On 2021-01-15, deprecation for Python 2.7 was announced and support was dropped on 2021-07-15. To avoid disruption, customers using Boto3 on Python 2.7 may need to upgrade their version of Python or pin the version of Boto3. For more information, see this `blog post <https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-python-2-7-in-aws-sdk-for-python-and-aws-cli-v1/>`__. On 2022-05-30, support for Python 3.6 was ended. This follows the Python Software Foundation `end of support <https://www.python.org/dev/peps/pep-0494/#lifespan>`__ for the runtime which occurred on 2021-12-23. For more information, see this `blog post <https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/>`__. .. _boto: https://docs.pythonboto.org/ .. _`doc site`: https://boto3.amazonaws.com/v1/documentation/api/latest/index.html .. _`Amazon Web Services`: https://aws.amazon.com/what-is-aws/ .. |Python| image:: https://img.shields.io/pypi/pyversions/boto3.svg?style=flat :target: https://pypi.python.org/pypi/boto3/ :alt: Python Versions .. |Version| image:: http://img.shields.io/pypi/v/boto3.svg?style=flat :target: https://pypi.python.org/pypi/boto3/ :alt: Package Version .. |License| image:: http://img.shields.io/pypi/l/boto3.svg?style=flat :target: https://github.com/boto/boto3/blob/develop/LICENSE :alt: License Getting Started --------------- Assuming that you have a supported version of Python installed, you can first set up your environment with: .. code-block:: sh $ python -m venv .venv ... $ . .venv/bin/activate Then, you can install boto3 from PyPI with: .. code-block:: sh $ python -m pip install boto3 or install from source with: .. code-block:: sh $ git clone https://github.com/boto/boto3.git $ cd boto3 $ python -m pip install -r requirements.txt $ python -m pip install -e . Using Boto3 ~~~~~~~~~~~~~~ After installing boto3 Next, set up credentials (in e.g. ``~/.aws/credentials``): .. code-block:: ini [default] aws_access_key_id = YOUR_KEY aws_secret_access_key = YOUR_SECRET Then, set up a default region (in e.g. ``~/.aws/config``): .. code-block:: ini [default] region=us-east-1 Other credentials configuration method can be found `here <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html>`__ Then, from a Python interpreter: .. code-block:: python >>> import boto3 >>> s3 = boto3.resource('s3') >>> for bucket in s3.buckets.all(): print(bucket.name) 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 ``pytest`` options. Note that this requires that you have all supported versions of Python installed, otherwise you must pass ``-e`` or run the ``pytest`` command directly: .. code-block:: sh $ tox $ tox -- unit/test_session.py $ tox -e py26,py33 -- integration/ You can also run individual tests with your default Python version: .. code-block:: sh $ pytest tests/unit 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: * Ask a question on `Stack Overflow <https://stackoverflow.com/>`__ and tag it with `boto3 <https://stackoverflow.com/questions/tagged/boto3>`__ * Open a support ticket with `AWS Support <https://console.aws.amazon.com/support/home#/>`__ * If it turns out that you may have found a bug, please `open an issue <https://github.com/boto/boto3/issues/new>`__ Contributing ------------ We value feedback and contributions from our community. Whether it's a bug report, new feature, correction, or additional documentation, we welcome your issues and pull requests. Please read through this `CONTRIBUTING <https://github.com/boto/boto3/blob/develop/CONTRIBUTING.rst>`__ document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your contribution. Maintenance and Support for SDK Major Versions ---------------------------------------------- Boto3 was made generally available on 06/22/2015 and is currently in the full support phase of the availability life cycle. For information about maintenance and support for SDK major versions and their underlying dependencies, see the following in the AWS SDKs and Tools Shared Configuration and Credentials Reference Guide: * `AWS SDKs and Tools Maintenance Policy <https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html>`__ * `AWS SDKs and Tools Version Support Matrix <https://docs.aws.amazon.com/sdkref/latest/guide/version-support-matrix.html>`__ More Resources -------------- * `NOTICE <https://github.com/boto/boto3/blob/develop/NOTICE>`__ * `Changelog <https://github.com/boto/boto3/blob/develop/CHANGELOG.rst>`__ * `License <https://github.com/boto/boto3/blob/develop/LICENSE>`__

Release History

Subscribe above to receive notifications when new versions are released.
Version Date Stability
1.26.99 Mar 24, 2023 stable
1.26.98 Mar 23, 2023 stable
1.26.97 Mar 22, 2023 stable
1.26.96 Mar 21, 2023 stable
1.26.95 Mar 20, 2023 stable
1.26.94 Mar 17, 2023 stable
1.26.93 Mar 16, 2023 stable
1.26.92 Mar 15, 2023 stable
1.26.91 Mar 14, 2023 stable
1.26.90 Mar 13, 2023 stable
1.26.89 Mar 10, 2023 stable
1.26.88 Mar 9, 2023 stable
1.26.87 Mar 8, 2023 stable
1.26.86 Mar 7, 2023 stable
1.26.85 Mar 6, 2023 stable
1.26.84 Mar 3, 2023 stable
1.26.83 Mar 2, 2023 stable
1.26.82 Mar 1, 2023 stable
1.26.81 Feb 28, 2023 stable
1.26.80 Feb 27, 2023 stable
1.26.79 Feb 24, 2023 stable
1.26.78 Feb 23, 2023 stable
1.26.77 Feb 22, 2023 stable
1.26.76 Feb 21, 2023 stable
1.26.75 Feb 20, 2023 stable
1.26.74 Feb 17, 2023 stable
1.26.73 Feb 16, 2023 stable
1.26.72 Feb 15, 2023 stable
1.26.71 Feb 14, 2023 stable
1.26.70 Feb 13, 2023 stable
1.26.69 Feb 10, 2023 stable
1.26.68 Feb 9, 2023 stable
1.26.67 Feb 8, 2023 stable
1.26.66 Feb 7, 2023 stable
1.26.65 Feb 6, 2023 stable
1.26.64 Feb 3, 2023 stable
1.26.63 Feb 2, 2023 stable
1.26.62 Feb 1, 2023 stable
1.26.61 Jan 31, 2023 stable
1.26.60 Jan 30, 2023 stable
1.26.59 Jan 27, 2023 stable
1.26.58 Jan 26, 2023 stable
1.26.57 Jan 25, 2023 stable
1.26.56 Jan 24, 2023 stable
1.26.55 Jan 23, 2023 stable
1.26.54 Jan 20, 2023 stable
1.26.53 Jan 19, 2023 stable
1.26.52 Jan 18, 2023 stable
1.26.51 Jan 17, 2023 stable
1.26.50 Jan 13, 2023 stable
1.26.49 Jan 12, 2023 stable
1.26.48 Jan 11, 2023 stable
1.26.47 Jan 10, 2023 stable
1.26.46 Jan 9, 2023 stable
1.26.45 Jan 6, 2023 stable
1.26.44 Jan 5, 2023 stable
1.26.43 Jan 4, 2023 stable
1.26.42 Jan 3, 2023 stable
1.26.41 Dec 30, 2022 stable
1.26.40 Dec 29, 2022 stable
1.26.39 Dec 28, 2022 stable
1.26.38 Dec 27, 2022 stable
1.26.37 Dec 23, 2022 stable
1.26.36 Dec 22, 2022 stable
1.26.35 Dec 21, 2022 stable
1.26.34 Dec 20, 2022 stable
1.26.33 Dec 19, 2022 stable
1.26.32 Dec 16, 2022 stable
1.26.31 Dec 15, 2022 stable
1.26.30 Dec 14, 2022 stable
1.26.29 Dec 13, 2022 stable
1.26.28 Dec 12, 2022 stable
1.26.27 Dec 9, 2022 stable
1.26.26 Dec 8, 2022 stable
1.26.25 Dec 7, 2022 stable
1.26.24 Dec 6, 2022 stable
1.26.23 Dec 5, 2022 stable
1.26.22 Dec 2, 2022 stable
1.26.21 Dec 1, 2022 stable
1.26.20 Nov 30, 2022 stable
1.26.19 Nov 29, 2022 stable
1.26.18 Nov 29, 2022 stable
1.26.17 Nov 28, 2022 stable
1.26.16 Nov 23, 2022 stable
1.26.15 Nov 22, 2022 stable
1.26.14 Nov 21, 2022 stable
1.26.13 Nov 18, 2022 stable
1.26.12 Nov 17, 2022 stable
1.26.11 Nov 16, 2022 stable
1.26.10 Nov 15, 2022 stable
1.26.9 Nov 14, 2022 stable
1.26.8 Nov 11, 2022 stable
1.26.7 Nov 10, 2022 stable
1.26.6 Nov 9, 2022 stable
1.26.5 Nov 8, 2022 stable
1.26.4 Nov 7, 2022 stable
1.26.3 Nov 4, 2022 stable
1.26.2 Nov 3, 2022 stable
1.26.1 Nov 2, 2022 stable
1.26.0 Nov 1, 2022 stable
1.25.5 Oct 31, 2022 stable
1.25.4 Oct 28, 2022 stable
1.25.3 Oct 27, 2022 stable
1.25.2 Oct 26, 2022 stable
1.25.1 Oct 25, 2022 stable
1.25.0 Oct 25, 2022 stable
1.24.96 Oct 21, 2022 stable
1.24.95 Oct 20, 2022 stable
1.24.94 Oct 19, 2022 stable
1.24.93 Oct 18, 2022 stable
1.24.92 Oct 17, 2022 stable
1.24.91 Oct 14, 2022 stable
1.24.90 Oct 13, 2022 stable
1.24.89 Oct 7, 2022 stable
1.24.88 Oct 6, 2022 stable
1.24.87 Oct 5, 2022 stable
1.24.86 Oct 4, 2022 stable
1.24.85 Oct 3, 2022 stable
1.24.84 Sep 30, 2022 stable
1.24.83 Sep 29, 2022 stable
1.24.82 Sep 27, 2022 stable
1.24.81 Sep 26, 2022 stable
1.24.80 Sep 23, 2022 stable
1.24.79 Sep 22, 2022 stable
1.24.78 Sep 21, 2022 stable
1.24.77 Sep 20, 2022 stable
1.24.76 Sep 19, 2022 stable
1.24.75 Sep 16, 2022 stable
1.24.74 Sep 15, 2022 stable
1.24.73 Sep 14, 2022 stable
1.24.72 Sep 13, 2022 stable
1.24.71 Sep 12, 2022 stable
1.24.70 Sep 9, 2022 stable
1.24.69 Sep 8, 2022 stable
1.24.68 Sep 7, 2022 stable
1.24.67 Sep 6, 2022 stable
1.24.66 Sep 2, 2022 stable
1.24.65 Sep 1, 2022 stable
1.24.64 Aug 31, 2022 stable
1.24.63 Aug 30, 2022 stable
1.24.62 Aug 29, 2022 stable
1.24.61 Aug 26, 2022 stable
1.24.60 Aug 25, 2022 stable
1.24.59 Aug 24, 2022 stable
1.24.58 Aug 23, 2022 stable
1.24.57 Aug 22, 2022 stable
1.24.56 Aug 19, 2022 stable
1.24.55 Aug 18, 2022 stable
1.24.54 Aug 17, 2022 stable
1.24.53 Aug 16, 2022 stable
1.24.52 Aug 15, 2022 stable
1.24.51 Aug 12, 2022 stable
1.24.50 Aug 11, 2022 stable
1.24.49 Aug 10, 2022 stable
1.24.48 Aug 9, 2022 stable
1.24.47 Aug 8, 2022 stable
1.24.46 Aug 4, 2022 stable
1.24.45 Aug 3, 2022 stable
1.24.44 Aug 2, 2022 stable
1.24.43 Aug 1, 2022 stable
1.24.42 Jul 30, 2022 stable
1.24.41 Jul 29, 2022 stable
1.24.40 Jul 28, 2022 stable
1.24.39 Jul 27, 2022 stable
1.24.38 Jul 26, 2022 stable
1.24.37 Jul 25, 2022 stable
1.24.36 Jul 22, 2022 stable
1.24.35 Jul 21, 2022 stable
1.24.34 Jul 20, 2022 stable
1.24.33 Jul 19, 2022 stable
1.24.32 Jul 18, 2022 stable
1.24.31 Jul 15, 2022 stable
1.24.30 Jul 14, 2022 stable
1.24.29 Jul 13, 2022 stable
1.24.28 Jul 12, 2022 stable
1.24.27 Jul 11, 2022 stable
1.24.26 Jul 8, 2022 stable
1.24.25 Jul 7, 2022 stable
1.24.24 Jul 6, 2022 stable
1.24.23 Jul 5, 2022 stable
1.24.22 Jul 1, 2022 stable
1.24.21 Jun 30, 2022 stable
1.24.20 Jun 29, 2022 stable
1.24.19 Jun 28, 2022 stable
1.24.18 Jun 27, 2022 stable
1.24.17 Jun 24, 2022 stable
1.24.16 Jun 23, 2022 stable
1.24.15 Jun 22, 2022 stable
1.24.14 Jun 21, 2022 stable
1.24.13 Jun 20, 2022 stable
1.24.12 Jun 17, 2022 stable
1.24.11 Jun 16, 2022 stable
1.24.10 Jun 15, 2022 stable
1.24.9 Jun 14, 2022 stable
1.24.8 Jun 13, 2022 stable
1.24.7 Jun 10, 2022 stable
1.24.6 Jun 9, 2022 stable
1.24.5 Jun 8, 2022 stable
1.24.4 Jun 7, 2022 stable
1.24.3 Jun 6, 2022 stable
1.24.2 Jun 2, 2022 stable
1.24.1 Jun 1, 2022 stable
1.24.0 May 31, 2022 stable
1.23.10 May 27, 2022 stable
1.23.9 May 26, 2022 stable
1.23.8 May 25, 2022 stable
1.23.7 May 24, 2022 stable
1.23.6 May 23, 2022 stable
1.23.5 May 20, 2022 stable
1.23.4 May 19, 2022 stable
1.23.3 May 18, 2022 stable
1.23.2 May 17, 2022 stable
1.23.1 May 16, 2022 stable
1.23.0 May 13, 2022 stable
1.22.13 May 12, 2022 stable
1.22.12 May 11, 2022 stable
1.22.11 May 10, 2022 stable
1.22.10 May 9, 2022 stable
1.22.9 May 6, 2022 stable
1.22.8 May 5, 2022 stable
1.22.7 May 4, 2022 stable
1.22.6 May 3, 2022 stable
1.22.5 May 2, 2022 stable
1.22.4 Apr 29, 2022 stable
1.22.3 Apr 28, 2022 stable
1.22.2 Apr 27, 2022 stable
1.22.1 Apr 26, 2022 stable
1.22.0 Apr 25, 2022 stable
1.21.46 Apr 22, 2022 stable
1.21.45 Apr 21, 2022 stable
1.21.44 Apr 20, 2022 stable
1.21.43 Apr 19, 2022 stable
1.21.42 Apr 15, 2022 stable
1.21.41 Apr 14, 2022 stable
1.21.40 Apr 13, 2022 stable
1.21.39 Apr 12, 2022 stable
1.21.38 Apr 11, 2022 stable
1.21.37 Apr 8, 2022 stable
1.21.36 Apr 7, 2022 stable
1.21.35 Apr 6, 2022 stable
1.21.34 Apr 5, 2022 stable
1.21.33 Apr 4, 2022 stable
1.21.32 Apr 1, 2022 stable
1.21.31 Mar 31, 2022 stable
1.21.30 Mar 30, 2022 stable
1.21.29 Mar 29, 2022 stable
1.21.28 Mar 28, 2022 stable
1.21.27 Mar 25, 2022 stable
1.21.26 Mar 24, 2022 stable
1.21.25 Mar 23, 2022 stable