PyPI Repository Configuration
Last modified by Vincent Massol on 2026/11/30 17:33
Two xwiki.properties settings choose how many and which of the most downloaded PyPI packages the extension index lists.
Reference
The Python 3 PyPI Repository reads them from xwiki.properties 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