scopesim.server.database.list_packages#
- scopesim.server.database.list_packages(pkg_name: str | None = None) list[str]#
List all packages, or all variants of a single package.
- Parameters:
pkg_name (str, optional) –
None: lists all stable packages on the server
<PackageName>: lists all variants of <PackageName> on the server
- Returns:
pkg_names
- Return type:
Examples
- ::
from scopesim import list_packages
# list all stable packages on the server list_packages()
# list all variants of a specific package list_packages(“Armazones”)