dakweb.queries.binary

Debian binary package related queries.

@copyright: 2017 Michael Stapelberg <stapelberg@debian.org> @copyright: 2017 Joerg Jaspert <joerg@debian.org> @license: GNU General Public License version 2 or later

dakweb.queries.binary.binary_by_metadata(key: Optional[str] = None) str

Finds all Debian binary packages which have the specified metadata set in their correspondig source package.

E.g., to find out the Go import paths of all Debian Go packages, query /binary/by_metadata/Go-Import-Path.

Parameters:

key – Metadata key of the source package to search for.

Returns:

A list of dictionaries of - binary - source - metadata value

dakweb.queries.binary.binary_metadata_keys() str

List all possible metadata keys

Returns:

A list of metadata keys