Skip to content

Instantly share code, notes, and snippets.

@zhangsen
Created December 1, 2011 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhangsen/1416742 to your computer and use it in GitHub Desktop.
Save zhangsen/1416742 to your computer and use it in GitHub Desktop.
sample use of conary api
from conary import conaryclient, conarycfg
from conary.state import ConaryStateFromFile
cfg =conarycfg.ConaryConfiguration()
client = conaryclient.ConaryClient(cfg)
repos = client.getRepos()
conaryState = ConaryStateFromFile('CONARY', repos)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment