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.7.tar.gz
(15.0 kB
view hashes)
Built Distribution
Close
Hashes for mypy_boto3_ec2-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c4b37a031755369f072761e3bd6bde02567849bdd5946f1eadabda60d1bdff2 |
|
MD5 | 350cd66379b0aa6b86f17112c76085d5 |
|
BLAKE2b-256 | bd8d9daf5e0a493f91220d06e2e93c9fd964be81e3fd3f96ec570cc644859686 |