Registry / type-stubs / mypy-boto3-quicksight

mypy-boto3-quicksight

JSON →
library1.43.70pypypi✓ verified 23d ago

mypy-boto3-quicksight provides static type annotations for the boto3 QuickSight service, generated by mypy-boto3-builder. It enhances development with type-checking capabilities for QuickSight operations. The library is actively maintained with frequent updates, often aligning with new boto3 releases and builder improvements. Current version is 1.42.80.

pip install mypy-boto3-quicksight
INSTALL
IMPORT
SIG · MYPY-BOTO3-QUICKSI
M
mypy-boto3-quicksight
type-stubspythonv1.43.70
Install
3.5s avg
Import
Disk
20MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.70 · 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 · 22.3MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.5s · import 0.000s · 23MB
20MB installed
● package 20MB
Code
Verified usage

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

QuickSightClient
from mypy_boto3_quicksight import QuickSightClient
from mypy_boto3_quicksight import QuickSightClient

Demonstrates how to import and use `QuickSightClient` to type-hint a `boto3` QuickSight client. This enables static analysis tools like MyPy to validate your QuickSight API calls. For the code to execute successfully, ensure your AWS credentials are configured and replace `AWS_ACCOUNT_ID` with a real value from your environment or directly in the code.

import boto3 from mypy_boto3_quicksight.client import QuickSightClient from typing import TYPE_CHECKING import os # Ensure boto3 is installed for runtime functionality # pip install boto3 mypy-boto3-quicksight if TYPE_CHECKING: # Type-hint the boto3 client for QuickSight client: QuickSightClient = boto3.client("quicksight") else: client = boto3.client("quicksight") # Example: List dashboards (requires AWS credentials configured) try: print("Attempting to list QuickSight dashboards...") # Replace '123456789012' with your actual AWS Account ID or set AWS_ACCOUNT_ID env var. aws_account_id = os.environ.get('AWS_ACCOUNT_ID', '123456789012') response = client.list_dashboards( AwsAccountId=aws_account_id ) dashboards = response.get("DashboardSummaryList", []) if dashboards: print(f"Found {len(dashboards)} dashboards. First dashboard name: {dashboards[0].get('Name')}") else: print(f"No dashboards found for AWS Account ID: {aws_account_id}, or the ID is invalid.") except Exception as e: print(f"An error occurred: {e}") print("QuickSight client setup with type hints successful.")
Debug
Known issues
breakingPython 3.8 support was removed with `mypy-boto3-builder` version 8.12.0. If you are using Python 3.8, you must upgrade to Python 3.9 or newer to use the latest versions of these type stubs.
fix
Upgrade your Python environment to 3.9 or later. If upgrading is not possible, pin an older version of `mypy-boto3-quicksight` that supported Python 3.8.
affects: mypy-boto3-builder >=8.12.0, corresponding `mypy-boto3-quicksight` versions (1.42.80 and later)
gotchaThis package provides only type stubs ('.pyi' files) for `boto3`. It does not include the actual `boto3` library or its runtime functionality. You must install `boto3` separately for your code to run.
fix
Ensure `boto3` is installed in your environment alongside `mypy-boto3-quicksight`: `pip install boto3`.
affects: All versions
breakingThe `mypy-boto3-builder` (version 8.9.0) introduced changes to how `TypeDef` names are generated, specifically shortening verbose names (e.g., `*RequestRequestTypeDef` to `*RequestTypeDef`). If your code directly imports specific `TypeDef`s, their names may have changed.
fix
Review your explicit `TypeDef` imports and adjust names according to the updated stub definitions. Typically, redundant suffixes like `RequestRequest` or `Extra` were simplified or repositioned.
affects: mypy-boto3-builder >=8.9.0, corresponding `mypy-boto3-quicksight` versions
gotchaThe builder migrated to PEP 561 compliant packages in version 8.12.0. While this generally improves compatibility with type checkers by making stubs discoverable automatically, ensure your `mypy` configuration (e.g., `pyproject.toml`) is not relying on outdated, non-standard stub discovery mechanisms.
fix
Verify that your `mypy` setup is current. Usually, no specific `MYPYPATH` or similar configuration is needed for PEP 561 stubs. If issues arise, consult `mypy` documentation for package discovery and ensure your `mypy` version is also up-to-date.
affects: mypy-boto3-builder >=8.12.0, corresponding `mypy-boto3-quicksight` versions
Upgrade
Version history
1.43.70latest on PyPI · released Aug 12, 2026
Audit
Dependencies
boto3requiredProvides the actual AWS SDK runtime functionality; these are only type stubs.
pythonrequiredRequires Python 3.9 or newer for compatibility with recent stub versions.
Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
mypy-boto3-quicksight — pip install mypy-boto3-quicksight · libregistry