Registry / type-stubs / mypy-boto3-partnercentral-channel

mypy-boto3-partnercentral-channel

JSON →
library1.43.0pypypi✓ verified 22d ago

mypy-boto3-partnercentral-channel provides type annotations for the boto3 PartnerCentralChannel API, allowing for static type checking of your AWS client interactions. It is a generated package, part of the wider `mypy-boto3` ecosystem, and its version typically aligns with the `boto3` version it provides stubs for. The `mypy-boto3-builder` project maintains a frequent release cadence, often daily or weekly, to keep up with `boto3` updates and add new features/fixes to the type stubs.

pip install mypy-boto3-partnercentral-channel boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-PARTNER
M
mypy-boto3-partnercentral-channel
type-stubspythonv1.43.0
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.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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 51.9MB
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.

PartnerCentralChannelClient
from mypy_boto3_partnercentral_channel.client import PartnerCentralChannelClient
Client
from mypy_boto3_partnercentral_channel.client import PartnerCentralChannelClient as Client
Common alias for convenience
ListChannelsResponseTypeDef
from mypy_boto3_partnercentral_channel.type_defs import ListChannelsResponseTypeDef
Example of a common response type definition.

This quickstart demonstrates how to initialize a `boto3` client with `mypy-boto3-partnercentral-channel` type annotations for improved development experience. It shows a basic API call (`list_channels`) with a type-hinted response, enabling IDE autocompletion and MyPy checks.

import boto3 import os from mypy_boto3_partnercentral_channel.client import PartnerCentralChannelClient from mypy_boto3_partnercentral_channel.type_defs import ListChannelsResponseTypeDef # Create a boto3 client with type hints # AWS credentials are typically managed by environment variables, shared credential file, or IAM roles. # For explicit region, use os.environ.get. region = os.environ.get('AWS_REGION', 'us-east-1') session = boto3.Session(region_name=region) # The client variable is type-hinted for autocompletion and static analysis client: PartnerCentralChannelClient = session.client("partnercentral-channel") try: # Use the client with type-hinted response response: ListChannelsResponseTypeDef = client.list_channels() print(f"Successfully listed channels in {region}:") for channel in response.get("Channels", []): print(f" - ID: {channel['ChannelId']}, Name: {channel['ChannelName']}") except Exception as e: print(f"Error listing Partner Central channels: {e}")
Debug
Known issues
breakingPython 3.8 support has been dropped for packages generated by `mypy-boto3-builder` version 8.12.0 and later. If you are using `mypy-boto3-partnercentral-channel` version 1.42.60 or newer, you must use Python 3.9 or higher.
fix
Upgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-partnercentral-channel >=1.42.60 (corresponding to mypy-boto3-builder >=8.12.0)
breakingTypeDef naming conventions changed in `mypy-boto3-builder` version 8.9.0. Specifically, argument TypeDefs were shortened, and 'Extra' postfixes were moved. This might cause import errors or incorrect type references if your code explicitly imports specific TypeDefs from `mypy_boto3_partnercentral_channel.type_defs`.
fix
Review your imports and usage of `TypeDef` objects; consult the official `mypy-boto3-builder` documentation for the new naming patterns or rely on IDE autocompletion.
affects: mypy-boto3-partnercentral-channel >=1.42.0 (corresponding to mypy-boto3-builder >=8.9.0)
gotchaThese packages provide type stubs only. They do not contain any runtime code and must be used alongside the actual `boto3` library. Installing `mypy-boto3-partnercentral-channel` without `boto3` will result in runtime errors.
fix
Ensure `boto3` is installed in your environment (`pip install boto3`).
affects: All versions
gotchaThe `mypy-boto3` ecosystem migrated to PEP 561-compliant packages. While this generally improves compatibility with type checkers, in rare cases with older MyPy versions or unusual project setups, you might need to ensure your type checker correctly discovers these stubs.
fix
Ensure your type checker (e.g., MyPy) is up-to-date. If issues persist, verify your `pyproject.toml` or MyPy configuration for package discovery.
affects: All versions generated by mypy-boto3-builder >=8.12.0
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the underlying AWS SDK runtime for which these are type stubs.
typing-extensionsoptionalMay be required for full compatibility with older Python versions (<3.10) for advanced type features.
Agent activity
22 hits · last 30 days
node
18
OpenAI (training)
2
Resources
mypy-boto3-partnercentral-channel — pip install mypy-boto3-partnercentral-channel · libregistry