Skip to main content

Thin wrapper around source control systems

Project description

This package is deprecated. Blah has been renamed to Mayo. Please use the package mayo instead.

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

import blah

blah.fetch("git+https://github.com/mwilliamson/blah.git", "/tmp/blah")
print open("/tmp/blah/README.md").read()

Blah can also be used as a script:

blah fetch git+https://github.com/mwilliamson/blah.git /tmp/blah

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

blah.fetch("git+https://github.com/mwilliamson/blah.git#74d69b4", "/tmp/blah")

At the moment, git and hg URIs are supported.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blah-0.1.12.tar.gz (5.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page