Registry / type-stubs / mypy-boto3-evidently

mypy-boto3-evidently

JSON →
library1.42.35pypypi✓ verified 22d ago

mypy-boto3-evidently provides static type annotations for the `boto3` AWS CloudWatch Evidently service client, enhancing development with type-checking capabilities. It is generated by the `mypy-boto3-builder` project and is currently at version 1.42.35. Releases are frequent, typically in sync with `boto3` updates and `mypy-boto3-builder` enhancements.

pip install boto3 mypy-boto3-evidently
INSTALL
IMPORT
SIG · MYPY-BOTO3-EVIDENT
M
mypy-boto3-evidently
type-stubspythonv1.42.35
Install
3.8s avg
Import
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.42.35 · 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.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 52MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.8s · import 0.000s · 52MB
50MB installed
● package 50MB
Code
Verified usage

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

EvidentlyClient
from mypy_boto3_evidently import EvidentlyClient
Service Resource types (e.g., 'ExperimentTypeDef')
from mypy_boto3_evidently.type_defs import ExperimentTypeDef

This example demonstrates how to import and use `EvidentlyClient` to type-hint your `boto3` CloudWatch Evidently client. It allows your type checker (like MyPy) to validate method calls and parameter types, catching errors before runtime. It also shows importing a specific `TypeDef` for response annotations.

import boto3 from mypy_boto3_evidently import EvidentlyClient from mypy_boto3_evidently.type_defs import CreateExperimentResponseTypeDef # Initialize a boto3 client (ensure boto3 is installed and configured) client: EvidentlyClient = boto3.client("evidently") # Example usage with type hints try: # This call is type-checked against the EvidentlyClient interface response: CreateExperimentResponseTypeDef = client.create_experiment( name="MyFeatureExperiment", project="MyProject", # Add other required parameters here, for example: # treatments=[{ 'feature': 'feature-name', 'treatmentName': 'control' }], # onlineAbConfig={ 'treatmentWeights': {'control': 100} } ) print(f"Experiment created: {response.get('arn')}") except client.exceptions.ConflictException: print("Experiment already exists.") except Exception as e: print(f"An error occurred: {e}")
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0, affecting all generated `mypy-boto3-*` packages, including `mypy-boto3-evidently`.
fix
Upgrade your Python environment to 3.9 or newer. The `requires_python` field in PyPI is `>=3.9`.
affects: >=8.12.0 of mypy-boto3-builder (and derived mypy-boto3-evidently versions)
breakingTypeDef naming conventions were changed in `mypy-boto3-builder` version 8.9.0. Specifically, argument TypeDefs use shorter names (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`), and conflicting TypeDef `Extra` postfixes were moved (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`).
fix
Review and update imports and references to specific `TypeDef` names in your codebase if you relied on the previous naming convention.
affects: >=8.9.0 of mypy-boto3-builder (and derived mypy-boto3-evidently versions)
gotchaThe `mypy-boto3` ecosystem migrated to PEP 561 compliant packages in `mypy-boto3-builder` version 8.12.0. While generally transparent, this changes how type checkers discover and use the stubs.
fix
Ensure your type checker (e.g., MyPy) is up-to-date and correctly configured to find PEP 561 packages. Most modern setups should handle this automatically.
affects: >=8.12.0 of mypy-boto3-builder (and derived mypy-boto3-evidently versions)
gotchaThe `mypy-boto3` project distinguishes between general `boto3-stubs` (the full collection, formerly `mypy-boto3`) and individual service stubs like `mypy-boto3-evidently`. From `mypy-boto3-builder` 8.9.0, 'Legacy `mypy-boto3` moved to a separate product and is no longer generated along with `boto3-stubs`'.
fix
For specific services, prefer installing `mypy-boto3-SERVICENAME` directly (e.g., `pip install mypy-boto3-evidently`) alongside `boto3`. Only use `boto3-stubs` if you explicitly need types for *all* AWS services at once, which can increase dependency footprint.
affects: >=8.9.0 of mypy-boto3-builder (and derived mypy-boto3-evidently versions)
Upgrade
Version history
1.42.35latest on PyPI · released Jan 26, 2026
Audit
Dependencies
boto3requiredProvides the AWS SDK client for which these stubs offer type hints.
typing-extensionsoptionalUsed for compatibility with older Python versions requiring backported typing features, though dynamically managed.
Agent activity
11 hits · last 30 days
node
10
Resources
mypy-boto3-evidently — pip install mypy-boto3-evidently · libregistry