All Products
Search
Document Center

Dataphin:Third-party library management

Last Updated:Jan 21, 2025

When developing Python computing tasks in Dataphin, utilize the Python third-party package feature for installing and managing Python third-party packages.

Python module entry

  1. Navigate to the Management Center from the Dataphin home page.

  2. To access the Python Module page, follow the steps below:

    Select System settings > Python third-party package > Python Module in sequence.

    image

Introduction to the Python third-party package page

The Python third-party package page comprises Python Module and traffic mirror source components.

  • Python Module: This section is dedicated to the installation and management of Python third-party packages.

  • Traffic mirror source: During online installation, Dataphin retrieves and installs Python third-party packages from the specified traffic mirror source.

Introduction to the Python Module page

image.png

Parameter

Description

Search and Filter Area

  • Search: Allows for locating Python Modules by name.

  • Filter: Enables filtering based on the Python version associated with the Module.

Function Area

Python Module List

This list displays Module names, Python versions, version numbers, installers, installation dates, statuses, and available management operations, which include:

Note

Default system Python Modules are listed and do not support management operations.

  • View Dependencies: This feature allows you to see the dependency details for the Python Module. However, modules that are installing or have an installation failed status cannot display dependency information.

  • Upgrade: To upgrade the current Python Module, only the upload installation method is available. Python Modules that are in the process of installing or upgrading cannot be upgraded. This method entails uploading a new upgrade package. For more information, see Resource type.

    Note

    In case of upgrade failure, the system will automatically revert to the previous version to ensure Module references remain unaffected. Successful upgrades will implement the newer version.

  • View Status Details: Provides detailed information on the current status of the Python Module.

    • Installation and Upgrade Status: For Python Modules that are currently being installed or upgraded, you can perform cancel installation or cancel upgrade operations through the Status Details dialog box.

    • If Python Modules are in a failed installation or failed upgrade status, you can attempt a retry through the status details dialog box.

  • Delete: Remove the current Python Module. Modules that are installing, upgrading, or have dependencies cannot be deleted.

Batch Operations

Enables batch deletion of selected Python Modules. However, modules that are currently installing, upgrading, or have dependencies cannot be selected for deletion.

Introduction to the traffic mirror source page

image

Parameter

Description

Search Area

Facilitates the search for traffic mirror sources by name.

Function Area

  • Sort: Click image button. In the traffic mirror source list, supports dragging image to sort traffic mirror sources. When performing online installation or upgrade of Python Modules, the system will connect to the traffic mirror sources in top-down order. If the connection is successful, the traffic mirror source will be used for installation or upgrade. If the connection fails, the next traffic mirror source will be tried.

  • Add Traffic Mirror Source: To add a new traffic mirror source, refer to Add Traffic Mirror Source.

  • Refresh: Click image.png to refresh the traffic mirror source list.

Traffic Mirror Source List

Presents traffic mirror source names, URLs, adders, addition times, and management operations, which include:

  • Edit: Modify traffic mirror source settings by clicking the image icon.

  • Delete: Click image icon to delete the current traffic mirror source. To ensure the normal use of the feature, at least one traffic mirror source needs to be retained.