Sack

class dnf.sack.Sack

The package sack. Contains metadata information about all known packages, installed and available.

query()

Return a Query for querying packages contained in this sack.