saturnin._scripts.commands.pkg¶
Saturnin package manager commands
Globals¶
Command functions¶
- saturnin._scripts.commands.pkg.install_package(args: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]¶
Installs Python package into Saturnin virtual environment via ‘pip’.
Note
This command is used also to upgrade installed packages using ‘-U’ or ‘–upgrade’ option.
- saturnin._scripts.commands.pkg.uninstall_package(args: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]¶
Uninstalls Python package from Saturnin virtual environment via
pip
.
- saturnin._scripts.commands.pkg.pip(args: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]¶
Runs ‘pip’ package manager in Saturnin virtual environment.
- saturnin._scripts.commands.pkg.list_services(with_name: str = <typer.models.OptionInfo object>)[source]¶
Lists installed Saturnin services.
- Parameters:
with_name (str) –
- saturnin._scripts.commands.pkg.show_service(service_id: str = <typer.models.ArgumentInfo object>)[source]¶
Show information about installed service.
- Parameters:
service_id (str) –
- saturnin._scripts.commands.pkg.list_applications(with_name: str = <typer.models.OptionInfo object>)[source]¶
Lists installed Saturnin applications.
- Parameters:
with_name (str) –
- saturnin._scripts.commands.pkg.show_application(app_id: str = <typer.models.ArgumentInfo object>)[source]¶
Show information about installed application.
- Parameters:
app_id (str) –
- saturnin._scripts.commands.pkg.list_packages()[source]¶
Lists installed distribution packages with Saturnin components.
This command does not list ALL packages installed in Saturnin virtual environment, but only those that contain registered Saturnin components. To list all installed packages, use: pip list.
- saturnin._scripts.commands.pkg.update_registry()[source]¶
Updates registry of installed Saturnin components.
The registry is updated automatically when Saturnin packages are manipulated with built-in install, uninstall or pip commands. Manual update is required only when packages are added/updated/removed in differet way.