Registry /
type-stubs / mypy-boto3-groundstation
Install & Compatibility
Where this runs
tested against v1.43.18 · 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.648s · 52.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.8s · import 0.570s · 53MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
GroundStationClient
✓ from mypy_boto3_groundstation.client import GroundStationClient
✗ from boto3.client import GroundStationClient
While boto3.client is the runtime way to get a client, mypy-boto3 provides the specific type annotation for static checking.
GroundStationServiceResource
✓ from mypy_boto3_groundstation.service_resource import GroundStationServiceResource
Imports the type for the service resource, if used (less common for GroundStation).
ConfigTypeTypeDef
✓ from mypy_boto3_groundstation.type_defs import ConfigTypeTypeDef
Imports specific TypeDef structures for stricter type checking of method parameters or responses.
This quickstart demonstrates how to obtain a type-hinted `boto3` GroundStation client and use one of its methods, `list_configs`, with its corresponding response type definition. This allows `mypy` to validate your `boto3` usage statically.
import boto3
from mypy_boto3_groundstation.client import GroundStationClient
from mypy_boto3_groundstation.type_defs import ListConfigsResponseTypeDef
def get_groundstation_config_types() -> List[str]:
# The 'client' variable is now type-hinted by mypy-boto3-groundstation
client: GroundStationClient = boto3.client("groundstation")
# Methods and their return types are type-checked
response: ListConfigsResponseTypeDef = client.list_configs()
config_types = [config['configType'] for config in response.get('configList', [])]
return config_types
if __name__ == "__main__":
# Example of running the function (requires AWS credentials configured for boto3)
try:
print(f"Available GroundStation config types: {get_groundstation_config_types()}")
except Exception as e:
print(f"Error fetching config types (ensure AWS config): {e}")
Debug
Known issues
breaking`mypy-boto3-builder` (which generates this package) removed support for Python 3.8 starting from builder version 8.12.0. This means `mypy-boto3-groundstation` versions generated by builder 8.12.0 or newer will require Python 3.9+.fixUpgrade your Python environment to 3.9 or higher. If you need Python 3.8 support, pin to an older `mypy-boto3-groundstation` version generated by a builder <8.12.0.
affects: >=1.42.0 (estimated, corresponding to builder 8.12.0)
gotchaThis package provides *type stubs* for `boto3` and does not include the `boto3` runtime itself. `boto3` must be installed separately for your code to run.fixAlways install `boto3` alongside `mypy-boto3-groundstation` (e.g., `pip install boto3 mypy-boto3-groundstation`).
affects: All versions
breakingThe `mypy-boto3-builder` migrated to PEP 561 compliant packages in version 8.12.0. While this is generally beneficial, it might affect how some build systems or custom tooling discover and consume these type packages.fixEnsure your build and type-checking tools are up-to-date and compatible with PEP 561-compliant type packages. No direct code change is usually required for users.
affects: >=1.42.0 (estimated, corresponding to builder 8.12.0)
gotchaTypeDef naming conventions can change with `mypy-boto3-builder` updates. For instance, in builder 8.9.0, verbose names like `CreateDistributionRequestRequestTypeDef` were shortened to `CreateDistributionRequestTypeDef`.fixIf you directly import and use specific `TypeDef` names, be aware that they might change with new `mypy-boto3-groundstation` versions. Refer to the generated stub files or the `mypy-boto3-builder` release notes for exact name changes.
affects: >=1.39.0 (estimated, corresponding to builder 8.9.0) and later
Upgrade
Version history
1.43.18latest on PyPI · released May 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3's runtime functionality; boto3 itself must be installed and used.
mypyrequiredThis package is designed to be used with the mypy static type checker.