When you install a given package using the Pip client, you'll use the PyPI REST API to download that package. This article will explain the PyPi REST API, which isn't normally used manually. The client executes several actions when attempting to install a package through Artifactory. The process begins when you enter the following command:
pip install nginxctlThereafter, the client will pull the metadata from the /simple API endpoint:
20180524093654|538|REQUEST|127.0.0.1|anonymous|GET|/api/pypi/pypi/simple/nginxctl/|HTTP/1.1|200|0
Using this metadata, the client will download the .tar.gz file:
20180524093656|1412|REQUEST|127.0.0.1|anonymous|GET|/api/pypi/pypi/packages/72/45/936e0805da71fcaf0e5a1f9256f757f5fa95057e391687ba067ef2d52926/nginxctl-1.1.2.tar.gz|HTTP/1.1|200|17024
Then the client will install the package from the downloaded .tar.gz.