skillfed

huaweicloudsdkecs

ECS

huaweicloudsdkecs v3.1.210 228.6K downloads/30d#9,148 on PyPI160
Permissive license Apache-2.0 Active released

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 huaweicloudsdkecs

uv

uv add huaweicloudsdkecs

poetry

poetry add huaweicloudsdkecs

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development

Tags

huawei cloud ecs sdkhuaweicloud compute service apipython huawei cloud clientecs instance management sdkhuawei cloud infrastructure api
cloud-sdkhuawei-cloudinfrastructure-as-code

More Software Development packages