s365b.core.third_party ====================== .. py:module:: s365b.core.third_party .. autoapi-nested-parse:: The open-source Python packages this server runs with, read where it runs. Walks the installed ``mailsafehouse`` distribution's runtime requirements (extras included) through ``importlib.metadata``, so the About page shows the versions actually in the image, not those of a developer's machine. Each package's own licence file is installed with it. Attributes ---------- .. autoapisummary:: s365b.core.third_party.DISTRIBUTION s365b.core.third_party.SPDX Functions --------- .. autoapisummary:: s365b.core.third_party.server_packages Module Contents --------------- .. py:data:: DISTRIBUTION :value: 'mailsafehouse' .. py:data:: SPDX .. py:function:: server_packages() -> list[dict[str, str]] Every Python package the server needs to run, with its licence. :returns: Entries with ``name``, ``version``, ``license``, ``url`` and ``part`` (``"server"``), sorted by name; empty if the server is not installed as a package (e.g. run from a source tree).