Use Pip Search
Artifactory supports search using pip's search command in local, remote and virtual repositories. For example:
pip search
$ pip search frog-fu --index http://localhost:8081/artifactory/api/pypi/pypi-virtual/ frog-fu - 0.2a INSTALLED: 0.2a (latest) $ pip search irbench --index http://localhost:8081/artifactory/api/pypi/pypi-virtual/ irbench - Image Retrieval Benchmark.
In this example frog-fu is a locally installed package, while irbench is found at pypi.org
, both repositories aggregated by the pypi-virtual
repository.
Specifying the index
When using the search command, the index should be specified explicitly (without the /simple
at the end), as pip will ignore the index-url
variable in its pip.conf
file.
Use Artifactory Search
PyPI packages can also be searched for using Artifactory's Property Search. All PyPI packages have the properties pypi.name
, pypi.version
and pypi.summary
set by the uploading client, or later during indexing for supported file types.