Overview
Scenario
With DLI's SDKs, you can quickly and easily use DLI without worrying about the details of the requests. This section describes how to obtain and use SDKs in a Python environment.
Notes
- To use DLI's Python SDKs to access a specific service's API, you need to ensure that the current service has been enabled and authorized on the DLI management console.
- Python 2.7.10, 3.4.0, or later versions are required. The Visual C++ compilation environment is required, and Visual C++ build tools or Visual Studio must be installed.
For details about how to configure the Python development environment, see Configuring the Python SDK Environment.
- The DLI Python SDK dependencies include urllib3 1.15 or later, six 1.10 or later, certifi, and python-dateutil.
- For details about how to obtain and install Python SDKs, see Obtaining and Installing SDKs.
- To use SDKs to access DLI, you need to initialize the DLI client. During DLI client initialization, you can use the AK/SK or token for authentication. For details, see Initializing the DLI Client.
Python SDKs
SDK |
Description |
---|---|
This section provides instructions on how to use DLI's Python SDKs to retrieve a list of all queues. |
|
This section provides instructions on how to use DLI's Python SDKs to upload resource packages, query all resource packages, query specific resource packages, and delete resource packages. |
|
This section provides instructions on how to use DLI's Python SDKs for database-related operations, table-related operations, and job-related operations. |
|
This section provides instructions on how to use DLI's Python SDKs to submit Spark jobs, cancel Spark jobs, and delete Spark jobs. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot