Detect, resolve and fetch repositories of content
Project description
repoproviders
| Package | |
| Meta | |
| Automation |
Detect, resolve and fetch repositories of content
Examples
You can try these out with a pip install repoproviders.
# Resolve a GitHub reference
➜ repoproviders resolve https://github.com/yuvipanda/requirements
Git(repo='https://github.com/yuvipanda/requirements', ref='HEAD')
ImmutableGit(repo='https://github.com/yuvipanda/requirements', ref='5a8737831f74a97bf71a7c4e1500fa0223b13d0d')
# Resolve a GitHub reference to a specific branch based on a URL
➜ repoproviders resolve https://github.com/yuvipanda/requirements/tree/master
Git(repo='https://github.com/yuvipanda/requirements', ref='master')
ImmutableGit(repo='https://github.com/yuvipanda/requirements', ref='5a8737831f74a97bf71a7c4e1500fa0223b13d0d')
# Resolve a DOI
➜ repoproviders resolve 10.1126/science.aar3646
Doi(url='https://www.science.org/doi/10.1126/science.aar3646')
# Resolve a DOI that points to another resolver we support (Dataverse)
➜ repoproviders resolve 10.7910/DVN/6ZXAGT
Doi(url='https://dataverse.harvard.edu/citation?persistentId=doi:10.7910/DVN/6ZXAGT')
DataverseDataset(installationUrl='https://dataverse.harvard.edu', persistentId='doi:10.7910/DVN/6ZXAGT')```
# Resolve a Zenodo DOI
➜ repoproviders resolve 10.5281/zenodo.805993
Doi(url='https://zenodo.org/doi/10.5281/zenodo.805993')
ZenodoDataset(installationUrl='https://zenodo.org/', recordId='14007206')
# Resolve a Zenodo URL directly
➜ repoproviders resolve https://zenodo.org/records/14007206
ZenodoDataset(installationUrl='https://zenodo.org/', recordId='14007206')
Copyright
- Copyright © 2024 Yuvi Panda.
- Free software distributed under the 3-Clause BSD License.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repoproviders-0.1.2.tar.gz.
File metadata
- Download URL: repoproviders-0.1.2.tar.gz
- Upload date:
- Size: 47.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c18b7083b8dacd96c5c95d5746520796690cf3e09340d7109636855f9aaefaed
|
|
| MD5 |
bbd51944bd9379192498ded188c31b55
|
|
| BLAKE2b-256 |
a065c81b96bc9a82ea725709ab6bf51caac9d370ac8cc7cde8b0cbe80fb5b93e
|
Provenance
The following attestation bundles were made for repoproviders-0.1.2.tar.gz:
Publisher:
release.yml on yuvipanda/repoproviders
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
repoproviders-0.1.2.tar.gz -
Subject digest:
c18b7083b8dacd96c5c95d5746520796690cf3e09340d7109636855f9aaefaed - Sigstore transparency entry: 798967897
- Sigstore integration time:
-
Permalink:
yuvipanda/repoproviders@b5bf8854a8ef4b2a5fded42d9865cf8ed95fb231 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/yuvipanda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b5bf8854a8ef4b2a5fded42d9865cf8ed95fb231 -
Trigger Event:
push
-
Statement type:
File details
Details for the file repoproviders-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: repoproviders-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd2825eb7b1f64b06929062a79431b13c9e22a8a1f149c7336ad9c957c31ffa5
|
|
| MD5 |
920d812e214dbc63da121599db47effd
|
|
| BLAKE2b-256 |
057d033a1d0156c466126e973c0fc61b2de458e909fb50f9b327e58834af47b2
|
Provenance
The following attestation bundles were made for repoproviders-0.1.2-py2.py3-none-any.whl:
Publisher:
release.yml on yuvipanda/repoproviders
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
repoproviders-0.1.2-py2.py3-none-any.whl -
Subject digest:
cd2825eb7b1f64b06929062a79431b13c9e22a8a1f149c7336ad9c957c31ffa5 - Sigstore transparency entry: 798967909
- Sigstore integration time:
-
Permalink:
yuvipanda/repoproviders@b5bf8854a8ef4b2a5fded42d9865cf8ed95fb231 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/yuvipanda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b5bf8854a8ef4b2a5fded42d9865cf8ed95fb231 -
Trigger Event:
push
-
Statement type: