This topic describes how to manage artifacts in a PyPI private repository in Alibaba Cloud DevOps Packages.
Prerequisites
A PyPI repository is created.
Use a PyPI repository
To configure push and pull settings for your PyPI repository, perform the following steps:
Go to the PyPI repository details page.
In the left-side navigation pane, click User Guide.
Specify the push and pull parameters by following the on-screen instructions.

View artifacts
Go to the repository details page. In the left-side navigation pane, click Artifacts to view all artifacts in the repository.
To search for an artifact by name, click the search icon in the upper-right corner of the page and enter the artifact name.

View version details
On the Artifacts page, click the name of the artifact that you want to manage. In the panel that appears, the detailed information about the artifact is displayed. The version is automatically set to the latest version. To view a different version, select that version from the drop-down list.

Disable an artifact version
On the Artifacts page, click the name of the artifact that you want to manage. In the panel that appears, turn on Disable Artifact to disable that version of the artifact.

Disabling applies to a specific version only, not the entire artifact. For example, if you disable sampleproject 3.0.0 in the artifact details panel, only version 3.0.0 becomes unavailable for download. Other versions, such as sampleproject 4.0.0, remain available for download and use.
Manage artifact metadata
On the Artifacts page, click the name of the artifact that you want to manage. In the panel that appears, click the Metadata tab to manage the metadata of the artifact version. The metadata applies only to the specific artifact version.

Delete an artifact version
On the Artifacts page, click the name of the artifact that you want to manage. In the panel that appears, click Delete This Version to delete the artifact version.
After the artifact version is deleted, you can recover it from the artifact recycle bin.