List-repo#

Description#

Takes a repository URL and returns a list of all packages and all versions that are stored there.

You can list the packages available in a repository using the list-repo command. This shows all known packages with the list of the versions present in the repository.

The output displays one line per package with all available versions listed after the package name.

For usage examples, see the Tutorial. For CLI options, run wrapp list-repo --help.

Python API Reference#

async wrapp.list_repo(
repository: str,
*,
scheduler: SchedulerContext | None = None,
) List[Tuple[str, List[str]]]#

Takes a repository URL and returns a list all packages and all versions that are stored there

Parameters:
  • repository – URL of a repository, excluding the .packages directory name

  • 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