Skip to main content

Thin wrapper around source control systems

Project description

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.6.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file blah-0.1.6.tar.gz.

File metadata

  • Download URL: blah-0.1.6.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for blah-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cf53c3c53bdb300eb643248006f6c57c4d025b3600f363fe13ff558d0f5680a1
MD5 1b71939685c2cd7dfe99c08b35ad7c2c
BLAKE2b-256 525d692035866f2408dddaeb736634e7d40681993b5e37b188f19897a75d98a6

See more details on using hashes here.

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