Type annotations for boto3.MarketplaceMetering 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-meteringmarketplace
Type annotations for boto3.MarketplaceMetering 1.13.24 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.2.
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
File details
Details for the file mypy-boto3-meteringmarketplace-1.13.24.3.tar.gz
.
File metadata
- Download URL: mypy-boto3-meteringmarketplace-1.13.24.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28a625f1162141bc127939435cbdfa5c9d6af9c80b9fd4984dbca1619e3ff4c3 |
|
MD5 | ad85cc1f42cebc9718f779f2b7bd5959 |
|
BLAKE2b-256 | bbe229a6860e3918371f5619435853e4517494f69ea49210868618125fb81b14 |
File details
Details for the file mypy_boto3_meteringmarketplace-1.13.24.3-py3-none-any.whl
.
File metadata
- Download URL: mypy_boto3_meteringmarketplace-1.13.24.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b12d0ba50f0c6d8f5b1902497810ff37f040b1cd86af8ccb78b60c961ae48539 |
|
MD5 | 44497124cb72b30c5f967db543ae8ea9 |
|
BLAKE2b-256 | bd17b414f500c6ac91646f96510acba2ffd49b90cf5283b3e387d9844f38ea64 |