Skip to main content

botocore

Package Version Python Versions License

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 2025-04-22, support for Python 3.8 ended for Botocore. This follows the Python Software Foundation end of support for the runtime which occurred on 2024-10-07. 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
$ python -m venv .venv
...
$ source .venv/bin/activate
$ python -m pip install -r requirements.txt
$ python -m 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 Reference Guide:

More Resources

Metadata

Release files for botocore 1.40.46

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.40.46
File Size Uploaded Provenance Actions
botocore-1.40.46.tar.gz 14.4 MB Without provenance Details for botocore-1.40.46.tar.gz

Built distribution (wheel)

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

Total release size: 28.5 MB

Release files / botocore-1.40.46.tar.gz

Download URL botocore-1.40.46.tar.gz
Size 14.4 MB
Tags Source
SHA-256 checksum
How to use checksums
4b0c0efdba788117ef365bf930c0be7300fa052e5e195ea3ed53ab278fc6d7b1
BLAKE2b-256 checksum
How to use checksums
880d479610d986aaba0379a6d40ec07e52826fd4d8fa3eb7745b60071f35d41a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.22

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

Download URL botocore-1.40.46-py3-none-any.whl
Size 14.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d2c8e0d9ba804d6fd9b942db0aa3e6cfbdd9aab86581b472ee97809b6e5103e0
BLAKE2b-256 checksum
How to use checksums
669a3d1a9f50ce8b264a88032f05d79e0a6bac2ba34212428c5569547b4169d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.22

Security for botocore 1.40.46

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