PyPI Repository Configuration
Last modified by Thomas Mortagne on 2026/10/10 10:42
Reference
The Python 3 PyPI Repository reads two properties from xwiki.properties, both about the packages listed in the extension index. The file is read when XWiki starts, so a change takes effect after a restart.
| Property | What it sets | Default |
|---|---|---|
| pypi.popularPackages.count | The number of most downloaded packages listed in the extension index. 0 lists all the PyPI packages, which means resolving hundreds of thousands of packages. | 500 |
| pypi.popularPackages.url | The location of the list of the most downloaded packages, in the JSON format of the Top PyPI Packages list (see PyPI Repository Limitations). | The list published by Top PyPI Packages on GitHub |
pypi.popularPackages.count=1000
pypi.popularPackages.url=https://raw.githubusercontent.com/hugovk/top-pypi-packages/main/top-pypi-packages.min.json