Mypy-friendly boto3 type annotations for ec2 service.
Project description
mypy-boto3-ec2 submodule
Provides type annotations for boto3.ec2
service
Installation
pip install mypy-boto3[ec2]
Usage
import boto3
from mypy_boto3.ec2 import Client, ServiceResource
client: Client = boto3.client("ec2")
resource: ServiceResource = boto3.resource("ec2")
# now your IDE can suggest you method and arguments names
# and mypy can check types
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mypy-boto3-ec2-0.1.8.tar.gz
(15.0 kB
view hashes)
Built Distribution
Close
Hashes for mypy_boto3_ec2-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a9128f0d762cfeb0c2638c9cb17f30ce47221fd3b44f15607e7ea6382fcb2e |
|
MD5 | 4413a4ee9703d531e3f0bb73845e8a53 |
|
BLAKE2b-256 | c368188337e0f8dcf3b27c47f476ca80fa88c7cbc847a0a6230ccf6e01c221ce |