from conary import conaryclient from conary import versions cc = conaryclient.ConaryClient() netclient = cc.getRepos() label = versions.Label("musicpd.rpath.org@rpl:1") print netclient.troveNames(label)