Registry / aws / alibabacloud-gpdb20160503

alibabacloud-gpdb20160503

JSON →
library5.5.0pypypi✓ verified 84d ago

Official Alibaba Cloud SDK for AnalyticDB for PostgreSQL (Greenplum), version 5.3.0, supporting CRUD operations on GPDB instances, backups, and SSL/whitelist management. Released monthly or quarterly.

pip install alibabacloud-gpdb20160503
INSTALL
IMPORT
SIG · ALIBABACLOUD-GPDB2
A
alibabacloud-gpdb20160503
awspythonv5.5.0
Install
9.2s avg
Import
1781ms
Disk
59MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v5.5.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 1.872s · 58.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 9.2s · import 1.690s · 61MB
59MB installed
● package 59MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from alibabacloud_gpdb20160503.client import Client
from alibabacloud_gpdb20160503 import Client
Client must be imported from the 'client' submodule, not the package root.
CreateDBInstanceRequest
from alibabacloud_gpdb20160503.models import CreateDBInstanceRequest
from alibabacloud_gpdb20160503 import CreateDBInstanceRequest
Request/Response models are in the 'models' submodule.

Initialize client and list all GPDB instances.

import os from alibabacloud_tea_openapi.models import Config from alibabacloud_gpdb20160503.client import Client from alibabacloud_gpdb20160503.models import DescribeDBInstancesRequest from alibabacloud_tea_util.models import RuntimeOptions config = Config( access_key_id=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_ID', 'your-key'), access_key_secret=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_SECRET', 'your-secret'), region_id='cn-hangzhou' ) client = Client(config) request = DescribeDBInstancesRequest( region_id='cn-hangzhou' ) response = client.describe_dbinstances(request) print(response.body.to_map())
Debug
Known issues
breakingIn v5.x, the Client import path changed from 'alibabacloud_gpdb20160503.client import Client' (correct) to a submodule. Old imports from package root will fail.
fix
Use 'from alibabacloud_gpdb20160503.client import Client'.
affects: >=5.0.0
deprecatedSome API actions (e.g., tag management) are deprecated and may return errors. Check Alibaba Cloud API documentation for the latest endpoints.
fix
Use the recommended API version and action from the official docs.
affects: >=5.0.0
gotchaThe request model fields use camelCase (e.g., 'RegionId'), but when converting to dict via .to_map() the SDK returns camelCase. Do not accidentally pass snake_case keys.
fix
Always use the property names as defined in the SDK (e.g., 'region_id' in Python, but serialized as 'RegionId').
affects: all
Errors
Common errors & fixes
ImportError: cannot import name 'Client' from 'alibabacloud_gpdb20160503'
Wrong import path in v5.x.
fix
from alibabacloud_gpdb20160503.client import Client
AttributeError: module 'alibabacloud_gpdb20160503' has no attribute 'CreateDBInstanceRequest'
Model classes are not at package root.
fix
from alibabacloud_gpdb20160503.models import CreateDBInstanceRequest
Upgrade
Version history
5.5.0latest on PyPI · released Jun 18, 2026
Audit
Dependencies
alibabacloud_tea_openapirequiredCore SDK runtime for Alibaba Cloud OpenAPI
alibabacloud_tea_utilrequiredUtility helpers (e.g., runtime options)
Agent activity
29 hits · last 30 days
node
26
Resources
alibabacloud-gpdb20160503 — pip install alibabacloud-gpdb20160503 · libregistry