METADATA 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. Metadata-Version: 2.1
  2. Name: boto3
  3. Version: 1.24.12
  4. Summary: The AWS SDK for Python
  5. Home-page: https://github.com/boto/boto3
  6. Author: Amazon Web Services
  7. License: Apache License 2.0
  8. Project-URL: Documentation, https://boto3.amazonaws.com/v1/documentation/api/latest/index.html
  9. Project-URL: Source, https://github.com/boto/boto3
  10. Platform: UNKNOWN
  11. Classifier: Development Status :: 5 - Production/Stable
  12. Classifier: Intended Audience :: Developers
  13. Classifier: Natural Language :: English
  14. Classifier: License :: OSI Approved :: Apache Software License
  15. Classifier: Programming Language :: Python
  16. Classifier: Programming Language :: Python :: 3
  17. Classifier: Programming Language :: Python :: 3.7
  18. Classifier: Programming Language :: Python :: 3.8
  19. Classifier: Programming Language :: Python :: 3.9
  20. Classifier: Programming Language :: Python :: 3.10
  21. Requires-Python: >= 3.7
  22. License-File: LICENSE
  23. License-File: NOTICE
  24. Requires-Dist: botocore (<1.28.0,>=1.27.12)
  25. Requires-Dist: jmespath (<2.0.0,>=0.7.1)
  26. Requires-Dist: s3transfer (<0.7.0,>=0.6.0)
  27. Provides-Extra: crt
  28. Requires-Dist: botocore[crt] (<2.0a0,>=1.21.0) ; extra == 'crt'
  29. ===============================
  30. Boto3 - The AWS SDK for Python
  31. ===============================
  32. |Version| |Python| |License|
  33. Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for
  34. Python, which allows Python developers to write software that makes use
  35. of services like Amazon S3 and Amazon EC2. You can find the latest, most
  36. up to date, documentation at our `doc site`_, including a list of
  37. services that are supported.
  38. Boto3 is maintained and published by `Amazon Web Services`_.
  39. 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.
  40. Notices
  41. -------
  42. On 2021-01-15, deprecation for Python 2.7 was announced and support was dropped
  43. on 2021-07-15. To avoid disruption, customers using Boto3 on Python 2.7 may
  44. need to upgrade their version of Python or pin the version of Boto3. For
  45. 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/>`__.
  46. On 2022-05-30, support for Python 3.6 was ended. This follows the
  47. Python Software Foundation `end of support <https://www.python.org/dev/peps/pep-0494/#lifespan>`__
  48. for the runtime which occurred on 2021-12-23.
  49. For more information, see this `blog post <https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/>`__.
  50. .. _boto: https://docs.pythonboto.org/
  51. .. _`doc site`: https://boto3.amazonaws.com/v1/documentation/api/latest/index.html
  52. .. _`Amazon Web Services`: https://aws.amazon.com/what-is-aws/
  53. .. |Python| image:: https://img.shields.io/pypi/pyversions/boto3.svg?style=flat
  54. :target: https://pypi.python.org/pypi/boto3/
  55. :alt: Python Versions
  56. .. |Version| image:: http://img.shields.io/pypi/v/boto3.svg?style=flat
  57. :target: https://pypi.python.org/pypi/boto3/
  58. :alt: Package Version
  59. .. |License| image:: http://img.shields.io/pypi/l/boto3.svg?style=flat
  60. :target: https://github.com/boto/boto3/blob/develop/LICENSE
  61. :alt: License
  62. Getting Started
  63. ---------------
  64. Assuming that you have a supported version of Python installed, you can first
  65. set up your environment with:
  66. .. code-block:: sh
  67. $ python -m venv .venv
  68. ...
  69. $ . .venv/bin/activate
  70. Then, you can install boto3 from PyPI with:
  71. .. code-block:: sh
  72. $ python -m pip install boto3
  73. or install from source with:
  74. .. code-block:: sh
  75. $ git clone https://github.com/boto/boto3.git
  76. $ cd boto3
  77. $ python -m pip install -r requirements.txt
  78. $ python -m pip install -e .
  79. Using Boto3
  80. ~~~~~~~~~~~~~~
  81. After installing boto3
  82. Next, set up credentials (in e.g. ``~/.aws/credentials``):
  83. .. code-block:: ini
  84. [default]
  85. aws_access_key_id = YOUR_KEY
  86. aws_secret_access_key = YOUR_SECRET
  87. Then, set up a default region (in e.g. ``~/.aws/config``):
  88. .. code-block:: ini
  89. [default]
  90. region=us-east-1
  91. Other credentials configuration method can be found `here <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html>`__
  92. Then, from a Python interpreter:
  93. .. code-block:: python
  94. >>> import boto3
  95. >>> s3 = boto3.resource('s3')
  96. >>> for bucket in s3.buckets.all():
  97. print(bucket.name)
  98. Running Tests
  99. ~~~~~~~~~~~~~
  100. You can run tests in all supported Python versions using ``tox``. By default,
  101. it will run all of the unit and functional tests, but you can also specify your own
  102. ``pytest`` options. Note that this requires that you have all supported
  103. versions of Python installed, otherwise you must pass ``-e`` or run the
  104. ``pytest`` command directly:
  105. .. code-block:: sh
  106. $ tox
  107. $ tox -- unit/test_session.py
  108. $ tox -e py26,py33 -- integration/
  109. You can also run individual tests with your default Python version:
  110. .. code-block:: sh
  111. $ pytest tests/unit
  112. Getting Help
  113. ------------
  114. We use GitHub issues for tracking bugs and feature requests and have limited
  115. bandwidth to address them. Please use these community resources for getting
  116. help:
  117. * Ask a question on `Stack Overflow <https://stackoverflow.com/>`__ and tag it with `boto3 <https://stackoverflow.com/questions/tagged/boto3>`__
  118. * Open a support ticket with `AWS Support <https://console.aws.amazon.com/support/home#/>`__
  119. * If it turns out that you may have found a bug, please `open an issue <https://github.com/boto/boto3/issues/new>`__
  120. Contributing
  121. ------------
  122. 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.
  123. Maintenance and Support for SDK Major Versions
  124. ----------------------------------------------
  125. Boto3 was made generally available on 06/22/2015 and is currently in the full support phase of the availability life cycle.
  126. 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:
  127. * `AWS SDKs and Tools Maintenance Policy <https://docs.aws.amazon.com/credref/latest/refdocs/maint-policy.html>`__
  128. * `AWS SDKs and Tools Version Support Matrix <https://docs.aws.amazon.com/credref/latest/refdocs/version-support-matrix.html>`__
  129. More Resources
  130. --------------
  131. * `NOTICE <https://github.com/boto/boto3/blob/develop/NOTICE>`__
  132. * `Changelog <https://github.com/boto/boto3/blob/develop/CHANGELOG.rst>`__
  133. * `License <https://github.com/boto/boto3/blob/develop/LICENSE>`__