Skip to main content

botocore

https://codecov.io/github/boto/botocore/coverage.svg?branch=develop

A low-level interface to a growing number of Amazon Web Services. The botocore package is the foundation for the AWS CLI as well as boto3.

Botocore is maintained and published by Amazon Web Services.

Notices

On 01/15/2021 deprecation for Python 2.7 was announced and support was dropped on 07/15/2021. To avoid disruption, customers using Botocore on Python 2.7 may need to upgrade their version of Python or pin the version of Botocore. For more information, see this blog post.

Getting Started

Assuming that you have Python and virtualenv installed, set up your environment and install the required dependencies like this or you can install the library using pip:

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

Using Botocore

After installing botocore

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

Other credentials configuration method can be found here

Then, from a Python interpreter:

>>> import botocore.session
>>> session = botocore.session.get_session()
>>> client = session.create_client('ec2')
>>> print(client.describe_instances())

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. Please note many of the same resources available for boto3 are applicable for botocore:

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 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

Botocore 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:

More Resources

Metadata

Release files for botocore 1.23.6

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

Source distribution (sdist)

Source distribution for botocore 1.23.6
File Size Uploaded Provenance Actions
botocore-1.23.6.tar.gz 8.4 MB Without provenance Details for botocore-1.23.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for botocore 1.23.6
File Interpreter ABI Platform Actions
botocore-1.23.6-py3-none-any.whl Python 3 none any Details for botocore-1.23.6-py3-none-any.whl

Total release size: 16.5 MB

Release files / botocore-1.23.6.tar.gz

Download URL botocore-1.23.6.tar.gz
Size 8.4 MB
Tags Source
SHA-256 checksum
How to use checksums
9e8d870a0a4335ce4816c707137da54b1ab7bf98f0ed959a7ba59c98c7f6c057
BLAKE2b-256 checksum
How to use checksums
51f283d7c34f168faf6e26b150702f08fe3c2ba1e880bfbd05a8df8748c6e8fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.1 requests/2.21.0 setuptools/57.5.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / botocore-1.23.6-py3-none-any.whl

Download URL botocore-1.23.6-py3-none-any.whl
Size 8.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
66e8ae9249b1a66f049baae05b2d0556193db9efae58fc5791186341e123001c
BLAKE2b-256 checksum
How to use checksums
675424e26c5b0665e7241d8227b9ff0432a6dc0f6781a0954ab611887be199ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.1 requests/2.21.0 setuptools/57.5.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for botocore 1.23.6

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.23.6 This release

2 release files No provenance

1.4.45

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