huaweicloudsdkecs
ECS
What it is and what it does
This is the Huawei Cloud Python SDK for Elastic Compute Service (ECS), a service client library that abstracts Huawei Cloud's ECS APIs into Python objects and methods. It depends on huaweicloudsdkcore for authentication, HTTP configuration, and exception handling. You use it by instantiating a client with credentials and region configuration, then calling methods like list_vpcs() to interact with ECS resources. The SDK handles request serialization, response parsing, and error translation so you don't write raw HTTP calls.
The package is designed for developers building applications that need to query, create, or manage compute instances on Huawei Cloud. It requires Python 3.6 or later and Huawei Cloud account credentials (Access Key and Secret Key). Authentication is configured through BasicCredentials, and the SDK supports environment variables, proxy configuration, SSL verification control, and request/response logging for debugging.
Use it for:
- Query and list ECS instances in a specific Huawei Cloud region for inventory or monitoring purposes.
- Automate ECS instance provisioning and lifecycle management in infrastructure-as-code workflows.
- Build management dashboards or CLI tools that interact with Huawei Cloud compute resources.
- Integrate Huawei Cloud ECS operations into Python applications without writing REST API calls.
- Configure advanced HTTP behavior like proxy settings, SSL verification, and request logging for enterprise deployments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python SDK for Huawei Cloud Elastic Compute Service (ECS) that provides programmatic access to ECS APIs without handling low-level HTTP details.
Yes. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and supports modern Python versions (3.6–3.12). It is the official Huawei Cloud ECS SDK and has no known vulnerabilities. Install it if you need to programmatically manage Huawei Cloud ECS resources from Python.
Install
huaweicloudsdkecs on PyPI
pip
pip install huaweicloudsdkecsuv
uv add huaweicloudsdkecspoetry
poetry add huaweicloudsdkecsInstalling huaweicloudsdkecs
Before you install
Low install friction with a single core dependency. Active maintenance with a release dated 2026-08-13 and 160 repository stars. Supports Python 3.6 through 3.12.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install huaweicloudsdkecs
import os
from huaweicloudsdkcore.auth.credentials import BasicCredentials
from huaweicloudsdkecs.v2 import EcsClient
credentials = BasicCredentials(
os.getenv("HUAWEICLOUD_SDK_AK"),
os.getenv("HUAWEICLOUD_SDK_SK")
)
client = EcsClient.new_builder().with_credentials(credentials).build()
Requires Huawei Cloud account with Access Key (AK) and Secret Key (SK) configured in environment variables HUAWEICLOUD_SDK_AK and HUAWEICLOUD_SDK_SK before use.
Verify before relying
- Whether this package is actively maintained beyond the latest release date shown
- Specific ECS operations and API coverage compared to the full Huawei Cloud ECS API
- Performance characteristics and rate-limiting behavior for large-scale operations
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — huaweicloudsdkcore |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 228,614/month — #9,148 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: huaweicloudsdkecs-3.1.210-py3-none-any.whl
Keywords: ECS, huaweicloud, sdk
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
esdk-obs-pythonPython SDK for interacting with Huawei OBS…
permissive · top 15,000 on PyPI
huaweicloudsdkcoreProvides core authentication, HTTP…
permissive · top 15,000 on PyPI
huaweicloudsdkevsPython SDK for Huawei Cloud Elastic Volume…
permissive · top 15,000 on PyPI
byteplus-python-sdk-v2Python SDK for calling Byteplus APIs with…
unclear · top 15,000 on PyPI
volcengine-python-sdkPython SDK for Volcengine cloud services,…
permissive · top 15,000 on PyPI
ecsapiAn SDK for managing Seeweb ECS cloud…
permissive · top 15,000 on PyPI
aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic…
permissive · top 15,000 on PyPI
volcengineVolcengine SDK for Python provides client…
permissive · top 15,000 on PyPI
alibabacloud-ecs20140526Provides a Python SDK for interacting with…
permissive · top 15,000 on PyPI
tosA Python SDK for interacting with Volcengine's…
unclear · top 15,000 on PyPI