s365b.core.third_party

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

Functions

server_packages() → list[dict[str, str]]

Every Python package the server needs to run, with its licence.

Module Contents

s365b.core.third_party.DISTRIBUTION = 'mailsafehouse'[source]
s365b.core.third_party.SPDX[source]
s365b.core.third_party.server_packages() → list[dict[str, str]][source]

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).