#!/usr/bin/python from conary import conaryclient from conary import versions # the conary client has a lot of update logic, etc cc = conaryclient.ConaryClient() # the netclient is a slightly thinner interface to the repository itself netClient = cc.getRepos() labelToQuery = versions.Label("musicpd.rpath.org@rpl:1") print netClient.troveNames(labelToQuery)