Python examples
The Alibaba Cloud EAIS Python software development kit (SDK) lets you access the Alibaba Cloud Elastic Accelerated Computing Instances (EAIS) service without requiring complex programming. This topic describes how to install the Alibaba Cloud EAIS Python SDK and start making calls.
Prerequisites
Before you call an API, create an AccessKey. For more information, see Create an AccessKey.
An AccessKey for an Alibaba Cloud account has access permissions for all APIs. For security purposes, use a Resource Access Management (RAM) user for API calls or daily O&M. Do not save your AccessKey ID and AccessKey secret in your project code because this can lead to an AccessKey leak and compromise the security of all resources in your account. This example uses the Alibaba Cloud Credentials tool to manage the AccessKey for identity verification when making API calls. For more information, see Manage access credentials. You can also set the Alibaba Cloud AccessKey in the environment variables of your Linux, macOS, or Windows operating system for identity verification. For more information, see Configure environment variables on Linux, macOS, and Windows systems.
Install the EAIS Python SDK
You can run the following command to install the EAIS Python SDK in a Python 3.6 or later environment.
pip install alibabacloud_eais20190624==2.1.2