I would like to access a bazaar repository and pull code from it with either a Python or PHP script.
How is this done? Is there a Python module / PEAR library that makes this easy?
If it helps, the repository is on Launchpad.
Edit: As mentioned below, running the bazaar commands directly is not an option. Also, an example would be much appreciated.