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
Release history Release notifications | RSS feed
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.10.tar.gz
(5.0 kB
view details)
File details
Details for the file blah-0.1.10.tar.gz
.
File metadata
- Download URL: blah-0.1.10.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bf827259ea3a070747f9f19e9974b73e05cbb0473e0011b8abbdb79de721f0e |
|
MD5 | 5d3e4e251003a5f3e86109f218c325e7 |
|
BLAKE2b-256 | ee03e1bbe79beb7ae0ee7a8d3cab7b5a72f009e3e5cd93d4d65f9af8cd2c2dd8 |