Wiki source code of Python
Last modified by superadmin on 2026/11/25 21:24
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The packages come from [[PyPI>>https://pypi.org/]], the repository of the Python packages, through the [[Python 3 PyPI Repository>>doc:extensions:Extension.Python.PyPI.WebHome]] extension, and the scripts import them with the [[Python 3 Macro>>doc:documentation.extensions.dev.python.python3-macro.WebHome]]. | ||
| 2 | |||
| 3 | {{plantuml}} | ||
| 4 | @startuml | ||
| 5 | |||
| 6 | skinparam componentStyle rectangle | ||
| 7 | |||
| 8 | actor "Administrator" as ADMIN | ||
| 9 | cloud "**pypi.org**" as PYPI | ||
| 10 | component "**Extension Manager**\nwith the PyPI repository" as EM | ||
| 11 | database "**Installed packages**\nper wiki, or for the farm" as PKG | ||
| 12 | component "**Python 3 Macro**\nscripts in wiki pages" as MACRO | ||
| 13 | |||
| 14 | ADMIN --> EM : searches and installs a package | ||
| 15 | EM --> PYPI : resolves the package and its dependencies | ||
| 16 | EM --> PKG : installs the wheels | ||
| 17 | PKG --> MACRO : importable by the scripts of the wiki | ||
| 18 | @enduml | ||
| 19 | {{/plantuml}} | ||
| 20 | |||
| 21 | [[Install Python Packages>>doc:documentation.extensions.admin.python.install-python-packages.WebHome]] walks through the installation of a package, [[PyPI Repository Limitations>>doc:documentation.extensions.admin.python.pypi-repository-limitations.WebHome]] says which packages can be installed and which versions are selected, and [[PyPI Repository Configuration>>doc:documentation.extensions.admin.python.pypi-repository-configuration.WebHome]] lists the properties to set in ##xwiki.properties##. |