Mayo: Download source control URIs
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.
Metadata
Release files for mayo 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mayo-0.2.5.tar.gz | 4.5 kB | Without provenance | Details for mayo-0.2.5.tar.gz |
Release files / mayo-0.2.5.tar.gz
| Download URL | mayo-0.2.5.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d002b1e3f1a443aff9badafdb25706cb567bd9402264613e8788080ecea35552
|
|
BLAKE2b-256 checksum How to use checksums |
9d5daca3e60e15258531105e36d661e0895527c583c402e1bae09522855257e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mayo 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.