Installed-package-list#
Description#
Given a top level wrapp file, outputs the list of all packages within one top level package.
To retrieve a list of packages that have been installed within one higher level package, wrapp offers a command to search the storage’s folder tree for all package files and produce informative output.
This will recursively load all wrapp files and print package name, version, install location, source repository, and number of file items for each subpackage. 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