Skip to main content

mypy-boto3

PyPI - mypy-boto3 PyPI - Python Version Docs ![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3

boto3.typed

Dynamic boto3 1.44.0

Generated with mypy-boto3-builder 8.12.0.

More information can be found on types-boto3 page.

See how it helps to find and fix potential bugs:

types-boto3 demo

How to install

# Install this package
python -m pip install types-boto3

# Install type annotations for boto3 services you use
python -m pip install 'types-boto3[s3,ec2]'

# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-boto3-lite[s3,ec2]'

Usage

Provides ServiceName and ResourceServiceName literals:

from typing import overload

import boto3
from botocore.client import BaseClient
from types_boto3.literals import ServiceName
from types_boto3_ec2.client import EC2Client
from types_boto3_ec2.literals import EC2ServiceName
from types_boto3_s3.client import S3Client
from types_boto3_s3.literals import S3ServiceName


@overload
def get_client(service_name: EC2ServiceName) -> EC2Client: ...


@overload
def get_client(service_name: S3ServiceName) -> S3Client: ...


@overload
def get_client(service_name: ServiceName) -> BaseClient: ...


def get_client(service_name: ServiceName) -> BaseClient:
    return boto3.client(service_name)


# type: S3Client, fully type annotated
# All methods and attributes are auto-completed and type checked
s3_client = get_client("s3")

# type: EC2Client, fully type annotated
# All methods and attributes are auto-completed and type checked
ec2_client = get_client("ec2")

# type: BaseClient, only basic type annotations
# Dynamodb-specific methods and attributes are not auto-completed and not type checked
dynamodb_client = get_client("dynamodb")

Latest changes

Full changelog can be found in Releases.

Versioning

mypy-boto3 version is the same as related boto3 version and follows Python Packaging version specifiers.

Support and contributing

Please reports any bugs or request new features in mypy_boto3_builder repository.

Metadata

Release files for mypy-boto3 1.44.0

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

Source distribution (sdist)

Source distribution for mypy-boto3 1.44.0
File Size Uploaded Provenance Actions
mypy_boto3-1.44.0.tar.gz 23.1 kB Without provenance Details for mypy_boto3-1.44.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mypy-boto3 1.44.0
File Interpreter ABI Platform Actions
mypy_boto3-1.44.0-py3-none-any.whl Python 3 none any Details for mypy_boto3-1.44.0-py3-none-any.whl

Total release size: 46.3 kB

Release files / mypy_boto3-1.44.0.tar.gz

Download URL mypy_boto3-1.44.0.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c5acf21cb6d2c175ac7ef173de63b0ddf9e2caba0ae8de91cd65d58d7df37e65
BLAKE2b-256 checksum
How to use checksums
66d095f31d73cdc136bcfd85cb80f53d3d2b223f28b774d72d511b32423217a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / mypy_boto3-1.44.0-py3-none-any.whl

Download URL mypy_boto3-1.44.0-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9666cdf991e1069bcd9f87b30743e2b03df8b090cd83bb02f86c15b08cdca4ef
BLAKE2b-256 checksum
How to use checksums
2b91ec5658b6d963a03e713889232c7a2549ab78a04ad9c09613359d68ee1e37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for mypy-boto3 1.44.0

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

2 release files No provenance

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