Type annotations for boto3.MarketplaceMetering 1.13.26 service, generated by mypy-boto3-buider 2.0.3
Project description
mypy-boto3-meteringmarketplace
Type annotations for boto3.MarketplaceMetering 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.3.
More information can be found on boto3-stubs page.
How to use
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for MarketplaceMetering
service.
python -m pip install boto3-stubs[meteringmarketplace]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_meteringmarketplace
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_meteringmarketplace import MarketplaceMeteringClient
# Now mypy can check if your code is valid.
client: MarketplaceMeteringClient = boto3.client("meteringmarketplace")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: MarketplaceMeteringClient = session.client("meteringmarketplace")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_meteringmarketplace
and other installed services.
# Run this command when you add or remove service packages
python -m mypy_boto3
Generated index provides overloads for boto3.client
and boto3.service
,
boto3.Session.client
and boto3.Session.resource
functions,
so explicit type annotations are not needed.
mypy
supports function overloads as expectedPyCharm
also supports function overloads, but consumes a lot of RAM, use carefullyVSCode
does not currently support function overloads
Also, generated index allows you to import types from mypy_boto3
:
# you can replace imports
import mypy_boto3_meteringmarketplace as meteringmarketplace
from mypy_boto3_meteringmarketplace import MarketplaceMeteringClient
# with these
from mypy_boto3 import meteringmarketplace
from mypy_boto3.meteringmarketplace import MarketplaceMeteringClient
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
Built Distribution
Hashes for mypy-boto3-meteringmarketplace-1.13.26.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9112a90647794f9269f48f063aaa89e4be0169eeff339e862d9436f472421aa |
|
MD5 | c905135054511df3dc96921774749f2b |
|
BLAKE2b-256 | 2522c659d7c2a2f1946269c7149e29866465434e24c86c35fc74bc5e745ec73e |
Hashes for mypy_boto3_meteringmarketplace-1.13.26.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15e2dbddafc6dd55a915700d5081bab83f363580f15999f81c132e7836f4c0f2 |
|
MD5 | 4d9bd56032a7038eb1d4150d52488ec7 |
|
BLAKE2b-256 | e4df501c15732c9d36a0aebac882205e93b28c63173da902a4bdc40a0b2b8216 |