Installed Package List#
Description#
Given a top-level wrapp file, outputs the list of all packages within that top-level package.
Usage:
wrapp installed-package-list <top_level_wrapp_file>
This recursively loads all wrapp files and prints, for each subpackage:
Package name
Version
Install location
Source repository
Number of file items
This will pick up both properly installed packages with their dependency recorded and stray wrapp files which are present in the folder tree and will only be picked up by the next create command.
For CLI options, run wrapp installed-package-list --help.
Python API Reference#
- async wrapp.installed_package_list(
- wrapp_file: str,
- *,
- direct_only: bool = False,
- context: CommandParameters = CommandParameters(debug=False, verbose=False, dry_run=False, log_file=None, hash_cache_file=None),
- scheduler: SchedulerContext | None = None,
Given a top level wrapp file, outputs the list of all packages within one top level package.
Recursively load all wrapp files and print package name, version, wrapp file url, install location, source repository, and number of file items.
- Parameters:
wrapp_file – URL of the top level wrapp file to analyze.
direct_only – Return only direct dependencies of the top level package, not the full recursive tree.
context – Optionally, global configuration parameters.
scheduler – Optionally pre-constructed SchedulerContext. When calling many functions in a row make sure to pre-construct the scheduler.
- Returns:
List of tuples consisting of a package name and a list of version strings that package is available in
- Raises:
FailedCommand – When prerequisites not matched
StorageOperationError – Raised when network or file operations fail