This topic describes how to create a PyPI Repository. This is required before publishing and installing PyPI packages. There are three primary types of repositories:
Local repositories: Where you store and share 1st and 2nd party packages with your organization
Remote repositories: Enable you to download from any remote location, including external package registries or other Artifactory instances
Virtual repositories: Enable aggregating remote and local repositories, enabling your organization to scale by providing a single URL that allows access to multiple repositories and types
For more information on JFrog repositories, see Repository Management Overview.
Prerequisite: You need Admin or Project Admin permissions to create a PyPI repository. If you don't have Admin permissions, the option will not be available.
To create a PyPI repository:
In the Administration tab, click Repositories.
Click Create a Repository and then select the repository type you want to create (local, remote, or virtual).
In the Select Package Type window, click PyPI.
Configure the repository, as described below:
Local repository: Enter a meaningful name for the repository (for example, pypi-local-repository-1) and configure other basic and advanced settings, as required. For more information, see Basic Settings for Local Repositories and Advanced Settings for Local Repositories.
Remote repository: In addition to providing a name, verify the URL of the remote registry, and configure other basic and advanced settings, as required. For more information, see Basic Settings for Remote Repositories and Advanced Settings for Remote Repositories.
Virtual repository: In addition to providing a name, select one or more local or remote repositories to include in the virtual repository. For more information, see Basic Settings for Virtual Repositories.
Click Create Repository.