Registry /
http-networking / alibabacloud-gateway-pop
Install & Compatibility
Where this runs
tested against v0.1.3 · 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 1.263s · 49.9MB
glibcpy 3.10–3.910 runs
installs and imports cleanly · install 13.3s · import 1.136s · 52MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Client
✓ from alibabacloud_gateway_pop.client import Client
Demonstrates the instantiation of the `Client` using a standard `Config` object, highlighting its role as an internal component within the Alibaba Cloud Tea SDK ecosystem.
import os
from alibabacloud_tea_openapi.models import Config
from alibabacloud_gateway_pop.client import Client
# This library is a low-level gateway component, typically used internally
# by other Alibaba Cloud SDKs built on the Tea framework. Direct usage
# for making API calls is rare for end-users, as it requires a full Tea client setup.
# Example: How a higher-level SDK might configure and instantiate this gateway client.
# The actual config parameters (like endpoint) will depend on the higher-level SDK's requirements.
config = Config(
endpoint='example.aliyuncs.com', # Replace with a relevant endpoint if used directly
access_key_id=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_ID', 'DUMMY_AK_ID'),
access_key_secret=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_SECRET', 'DUMMY_AK_SECRET'),
# Other common config parameters like security_token, type, etc.
)
try:
# Instantiate the gateway client. In a real application, this client
# would be wrapped by a service-specific client (e.g., ECS, OSS client).
client = Client(config)
print("Alibaba Cloud Gateway POP Client instantiated successfully.")
# Further operations would involve 'client.do_request' or similar low-level calls
# which are usually abstracted away by service-specific SDKs.
except Exception as e:
print(f"Error instantiating client: {e}")
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'alibabacloud_gateway_pop'
The `alibabacloud-gateway-pop` package is not installed in your current Python environment.
fixRun `pip install alibabacloud-gateway-pop` to install the package.
TypeError: Client() missing 1 required positional argument: 'config'
The `Client` class requires a `Config` object to be passed during instantiation.
fixEnsure you import `Config` (e.g., from `alibabacloud_tea_openapi.models`) and pass a valid instance to the `Client` constructor, like `client = Client(config=my_config)`.
Upgrade
Version history
0.1.3latest on PyPI · released Nov 27, 2025
Audit
Dependencies
alibabacloud-tearequiredCore dependency for the Alibaba Cloud Tea framework, which this gateway library is built upon.
alibabacloud-darabonba-signature-utilrequiredRequired for request signing within the Tea framework.
alibabacloud-tea-openapirequiredProvides common configuration models (like Config) used across Tea-based API clients.