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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for blah-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d8a13ea1b1600bb6695101e98d8e03beb8cc5d0da66340e2f86e2c472ac56045
MD5 0f6c3d203c9e3747ac7c6140037ae8f6
BLAKE2b-256 f75987ee59327e76f4fb9e0694eab13b8c4bdbf82e0e5d8ed143f0d284b29e60

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