Skip to main content

Detect, resolve and fetch repositories of content

Project description

repoproviders

Package Latest PyPI Version Supported Python Versions Documentation
Meta BSD-3-Clause Code of Conduct Checked with mypy Code Style Black
Automation

Detect, resolve and fetch repositories of content

Supported Repositories

Repository Resolver Fetcher
GitHub Repos
GitHub Refs (Commits, Tags, Branches)
GitHub PRs
GitHub Action Artifacts
Gists
Git Repos
GitLab Repos
GitLab Refs (Commits, Tags, Branches)
Google Drive Folders (Public)
Zenodo Repositories
Dataverse Repositories
Figshare
DOI N/A
Hydroshare
Mercurial
CKAN
Software Heritage
ZIP files over HTTP
Codeberg Refs

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

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

repoproviders-0.1.9.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repoproviders-0.1.9-py2.py3-none-any.whl (51.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: repoproviders-0.1.9.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for repoproviders-0.1.9.tar.gz
Algorithm Hash digest
SHA256 99da39d47b04d4601779d2227fb41b78746d785b426de9e3b132fac8c5f222ed
MD5 4c51546a4fee548d9b438d58e04b2dff
BLAKE2b-256 52df68e3b412a020dfcd9fd2ac0c4b357ff4c95f4cad5a6b73170bbd9bfb6648

See more details on using hashes here.

Provenance

The following attestation bundles were made for repoproviders-0.1.9.tar.gz:

Publisher: release.yml on yuvipanda/repoproviders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file repoproviders-0.1.9-py2.py3-none-any.whl.

File metadata

  • Download URL: repoproviders-0.1.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 51.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for repoproviders-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a6b6986e6a38e9de52e361a4ae79dd8002fef18c918a74747a874f0e841acb02
MD5 3ebbd68d2c258b0e70eca4f7ebf88cb2
BLAKE2b-256 898efc98c7bbf8b9b4f5960be0120f20ffea751311603ae0a37cd48cd2a2f62d

See more details on using hashes here.

Provenance

The following attestation bundles were made for repoproviders-0.1.9-py2.py3-none-any.whl:

Publisher: release.yml on yuvipanda/repoproviders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page