Registry /
type-stubs / mypy-boto3-license-manager-linux-subscriptions
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.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.3MB
glibcpy 3.10–3.910 runs
installs and imports cleanly · install 2.6s · import 0.000s · 19MB
71MB installed
● package 71MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Client
✓ from mypy_boto3_license_manager_linux_subscriptions import Client
✗ from mypy_boto3_license_manager_linux_subscriptions import Client
ServiceResource
✓ from mypy_boto3_license_manager_linux_subscriptions import ServiceResource
Paginator
✓ from mypy_boto3_license_manager_linux_subscriptions import Paginator
This example demonstrates how to use `boto3.client` with type hints from `mypy-boto3-license-manager-linux-subscriptions`. The `TYPE_CHECKING` block ensures that the stub imports are only active during type checking, avoiding runtime import errors if the stub package is not installed in the runtime environment. This allows type checkers to validate the usage of the License Manager Linux Subscriptions client and its responses.
import boto3
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from mypy_boto3_license_manager_linux_subscriptions import Client
from mypy_boto3_license_manager_linux_subscriptions.type_defs import GetServiceSettingsResponseTypeDef
def get_license_settings() -> GetServiceSettingsResponseTypeDef:
# mypy-boto3 provides type hints for the boto3 client
client: Client = boto3.client("license-manager-linux-subscriptions")
response = client.get_service_settings()
print(f"License settings: {response}")
return response
if __name__ == '__main__':
# Example usage (ensure AWS credentials are configured)
try:
get_license_settings()
except Exception as e:
print(f"An error occurred: {e}")
Debug
Known issues
breakingSupport for Python 3.8 was removed from `mypy-boto3-builder` 8.12.0. This means `mypy-boto3-license-manager-linux-subscriptions` versions generated by builder 8.12.0 or later will not officially support Python 3.8.fixUpgrade to Python 3.9 or newer. If stuck on Python 3.8, use an older version of `mypy-boto3-license-manager-linux-subscriptions` generated by `mypy-boto3-builder < 8.12.0`.
affects: mypy-boto3-license-manager-linux-subscriptions >= 1.42.3 (generated by builder 8.12.0)
gotchaThis package provides only type stubs for `boto3`. It does not include `boto3` itself. You must install `boto3` separately to use the AWS SDK at runtime.fixEnsure `boto3` is installed in your environment: `pip install boto3`.
affects: All versions
breakingTypeDef naming conventions changed in `mypy-boto3-builder` 8.9.0. If you were directly importing specific generated TypeDefs (e.g., `CreateDistributionRequestRequestTypeDef`), their names might have been shortened (e.g., `CreateDistributionRequestTypeDef`) or suffixes adjusted.fixReview your code for direct TypeDef imports and update the names according to the new conventions. Consult the `mypy-boto3-builder` release notes or regenerate stubs to find the correct names.
affects: mypy-boto3-license-manager-linux-subscriptions versions generated by `mypy-boto3-builder >= 8.9.0`
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs; `boto3` itself is required for actual runtime execution.