Install & Compatibility
Where this runs
tested against v1.43.0 · 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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.622s · 51.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.7s · import 0.550s · 52MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AppFabricClient
✓ from mypy_boto3_appfabric.client import AppFabricClient
Import the specific client type from the service stub package.
AppFabricServiceName
✓ from mypy_boto3_appfabric.type_defs import AppFabricServiceName
Import TypeDefs and Literals as needed for more specific typing.
Demonstrates how to import the AppFabricClient type and use it to type-hint a boto3 client instance, enabling autocompletion and static analysis.
import boto3
from mypy_boto3_appfabric.client import AppFabricClient
from os import environ
def get_appfabric_client() -> AppFabricClient:
# Ensure boto3 is configured, e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION_NAME env vars
client: AppFabricClient = boto3.client(
"appfabric",
region_name=environ.get('AWS_REGION_NAME', 'us-east-1')
)
return client
if __name__ == "__main__":
appfabric_client = get_appfabric_client()
print(f"AppFabric client created: {appfabric_client}")
# Example: List app bundles (replace with actual AppFabric operation)
try:
response = appfabric_client.list_app_bundles()
print(f"Successfully listed app bundles: {len(response.get('appBundleList', []))}")
except Exception as e:
print(f"Error listing app bundles: {e}")
Debug
Known issues
breakingPython 3.8 support was removed for all `mypy-boto3` packages with `mypy-boto3-builder` version 8.12.0. Users on Python 3.8 will need to upgrade to Python 3.9+ to use the latest stubs.fixUpgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >=8.12.0 (affects all generated stubs)
breakingThe `mypy-boto3-builder` 8.9.0 release introduced changes to how TypeDef names are generated (e.g., shorter names, `Extra` postfix moved). If you were relying on specific generated TypeDef names, these may have changed.fixReview your type hint imports and update TypeDef names if they no longer resolve correctly.
affects: mypy-boto3-builder >=8.9.0 (affects all generated stubs)
gotcha`mypy-boto3-appfabric` provides only type stubs. You must also install the `boto3` library for the runtime functionality.fixEnsure `boto3` is installed alongside `mypy-boto3-appfabric` (e.g., `pip install boto3 mypy-boto3-appfabric`).
affects: All versions
gotchaPyCharm users might experience slow performance with `Literal` overloads. It is recommended to use `boto3-stubs-lite` or disable PyCharm's type checker and rely on external tools like MyPy or Pyright.fixConsider `pip install boto3-stubs-lite` or use an external type checker.
affects: All versions
gotchaThe version of `mypy-boto3-appfabric` (e.g., 1.42.3) generally aligns with the `boto3` version it provides stubs for. However, the `mypy-boto3-builder` (e.g., 8.12.0), which generates these stubs, has its own independent versioning. Breaking changes in the builder apply to all generated stub packages.fixAlways refer to the `mypy-boto3-builder` changelog for foundational changes affecting stub generation.
affects: All versions
gotchaWith `mypy-boto3-builder` 8.12.0, all packages migrated to `PEP 561` for stub distribution. This might affect how some tools discover and use the type stubs if their configuration expects an older distribution method.fixEnsure your type checker (e.g., mypy, pyright) is up-to-date and configured to correctly discover `PEP 561` compliant stub packages.
affects: mypy-boto3-builder >=8.12.0 (affects all generated stubs)
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the runtime functionality for the AWS SDK for Python (Boto3) for which these are type stubs.
pythonrequiredRequires Python 3.9 or newer.