classLibrary#

class Library(
*,
name: str,
downloads: _Downloads | None = None,
)#

A library listed by an installer.

name#

Its Maven coordinate.

Type:

str

property path: str#

Its path inside the libraries directory.

property url: str | None#

Where to download it, or None if it has no URL.

property hashes: dict[str, str]#

Its expected digests keyed by algorithm name.

property size: int | None#

Its size in bytes, or None if unknown.