Registry / type-stubs / mypy-boto3-bcm-data-exports

mypy-boto3-bcm-data-exports

JSON →
library1.43.57pypypi✓ verified 23d ago

mypy-boto3-bcm-data-exports provides a set of type annotations for the `boto3` AWS SDK, specifically for the Billing and Cost Management Data Exports (BCM Data Exports) service. These annotations enhance code completion, static analysis, and type checking for `boto3` users with tools like MyPy, VSCode, and PyCharm. The library is currently at version 1.42.77 and is released frequently, typically in sync with `boto3` and `botocore` updates.

pip install mypy-boto3-bcm-data-exports
INSTALL
IMPORT
SIG · MYPY-BOTO3-BCM-DAT
M
mypy-boto3-bcm-data-exports
type-stubspythonv1.43.57
Install
3.3s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.57 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.7MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.3s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BCMDataExportsClient
from mypy_boto3_bcm_data_exports import BCMDataExportsClient
from mypy_boto3_bcm_data_exports import BCMDataExportsClient
BCMDataExportsServiceResource
from mypy_boto3_bcm_data_exports import BCMDataExportsServiceResource
ServiceResource
from mypy_boto3_bcm_data_exports import ServiceResource

This quickstart demonstrates how to initialize a `bcm-data-exports` client using `boto3` and explicitly annotate it with the `BCMDataExportsClient` type from `mypy-boto3-bcm-data-exports` for enhanced type checking and IDE support. It includes a basic example of calling `list_exports`.

import boto3 from mypy_boto3_bcm_data_exports.client import BCMDataExportsClient def get_bcm_data_exports_client() -> BCMDataExportsClient: """Returns a type-hinted BCM Data Exports client.""" client: BCMDataExportsClient = boto3.client( "bcm-data-exports", region_name="us-east-1", aws_access_key_id="{}".format(os.environ.get('AWS_ACCESS_KEY_ID', '')), aws_secret_access_key="{}".format(os.environ.get('AWS_SECRET_ACCESS_KEY', '')), ) return client # Example usage: if __name__ == "__main__": import os client = get_bcm_data_exports_client() # You can now use 'client' with full type hints and autocomplete # For example, to list exports: try: response = client.list_exports() print("Successfully listed BCM Data Exports:") for export in response.get('Exports', []): print(f" - {export.get('ExportArn')}") except Exception as e: print(f"Error listing exports: {e}")
Debug
Known issues
breakingPython 3.8 support has been officially removed for all `mypy-boto3` packages. Projects targeting Python 3.8 must use older versions of `mypy-boto3` or `mypy-boto3-builder`.
fix
Upgrade your Python environment to 3.9 or higher. If not possible, pin `mypy-boto3-bcm-data-exports` to a version older than 8.12.0 (e.g., `mypy-boto3-bcm-data-exports<8.12.0`).
affects: >=8.12.0
breakingAll `mypy-boto3` packages, including `mypy-boto3-bcm-data-exports`, have migrated to PEP 561 `py.typed` packages. This changes how type checkers discover stubs and might require updates to your `mypy` configuration or import paths if you were relying on older, non-PEP 561 compatible patterns.
fix
Ensure your type checker (e.g., MyPy) is up-to-date. In most cases, this change is transparent, but if issues arise, check your `mypy` configuration for `mypy_path` or similar settings that might conflict with `py.typed` discovery.
affects: >=8.12.0
breakingTypeDef naming conventions were changed, potentially affecting custom code that directly imports or references generated `TypedDict` names. For example, some 'RequestRequestTypeDef' names were shortened, and 'Extra' postfixes were moved.
fix
Review your code for direct imports of `mypy_boto3_bcm_data_exports.type_defs` and update `TypedDict` names to match the new conventions as indicated by your type checker.
affects: >=8.9.0
gotchaExplicit type annotations are highly recommended (and sometimes required, e.g., for `lite` versions) for `boto3.client()` and `boto3.resource()` calls to fully leverage `mypy-boto3` type checking and IDE autocomplete.
fix
Always explicitly annotate your `boto3` client and resource variables with the imported `Client` or `ServiceResource` types (e.g., `client: BCMDataExportsClient = boto3.client(...)`).
affects: All versions
gotcha`mypy-boto3-bcm-data-exports` provides *type annotations* only; it does not include `boto3` itself. `boto3` must be installed separately for your application to run.
fix
Ensure `pip install boto3` is part of your project's dependencies.
affects: All versions
gotchaThe `mypy-boto3` packages are generated for specific `boto3` versions. To ensure correct type checking, it is crucial to keep your `mypy-boto3-bcm-data-exports` package version synchronized with your installed `boto3` runtime version.
fix
Regularly update both `boto3` and its corresponding `mypy-boto3-*` stub packages. Consider using `pip install 'boto3-stubs[bcm-data-exports]'` which often manages this synchronization.
affects: All versions
Upgrade
Version history
1.43.57latest on PyPI · released Jul 27, 2026
Audit
Dependencies
boto3requiredProvides the runtime functionality for which these are type stubs.
Agent activity
29 hits · last 30 days
node
26
OpenAI (training)
1
Resources
mypy-boto3-bcm-data-exports — pip install mypy-boto3-bcm-data-exports · libregistry