Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Download source control URIs in Python
Latest commit ac2dfdc @mwilliamson Bump version to 0.2.5

Mayo: Download source control URIs

The main use of Mayo is being able to download repositories from a URI that specifies what version control system (VCS) is being used:

import mayo

mayo.fetch("git+", "/tmp/mayo")
print open("/tmp/mayo/").read()

Mayo can also be used as a script:

mayo fetch git+ /tmp/mayo

Specific commits can be selected by appending a hash to the URI, followed by the name of the commit:

mayo.fetch("git+", "/tmp/mayo")

At the moment, git and hg URIs are supported.

Something went wrong with that request. Please try again.