Thin wrapper around source control systems
Project description
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+https://github.com/mwilliamson/mayo.git", "/tmp/mayo") print open("/tmp/mayo/README.md").read()
Mayo can also be used as a script:
mayo fetch git+https://github.com/mwilliamson/mayo.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+https://github.com/mwilliamson/mayo.git#74d69b4", "/tmp/mayo")
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
mayo-0.2.0.tar.gz
(4.5 kB
view details)
File details
Details for the file mayo-0.2.0.tar.gz
.
File metadata
- Download URL: mayo-0.2.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf8f1fb23d757739d4d7c20533731e30e5f645668ce4a1d61e6d3f304c8366ad |
|
MD5 | e0d246b1d0f1ed83b6387d1903537822 |
|
BLAKE2b-256 | 3ab36cc1b114e672ace175e45796b8dd492b40906edd9ff407bedee50e9470a4 |