Utility for copying and syncing data from a Dryad data repository to a Dataverse repository
Project description
dryad2dataverse
dryad2dataverse is a Python package and an associated console line application which allows easier transfer of metadata and data from a Dryad data repository (ie, https://datadryad.org) to a Dataverse repository. Dryad2dataverse is pure Python and should run on any platform which supports Python 3.6 or greater.
Data transfers between repositories require local storage, so not all platforms will be equally suitable.
Installing
pip install dryad2dataverse
Usage
Most users will likely just want to use the command line transfer and monitor tool (dryadd
) but the tools are available in any Python environment
Command line application
dryadd [all the various options]
see all the options available with
dryadd -h
Initiate a transfer from a Dryad repository to a Dataverse repository.
Using the package
#Serializer
import dryad2dataverse.serializer
#Transfer
import dryad2dataverse.transfer
#Monitor
#import dryad2dataverse.monitor
i_heart_dryad = dryad2dataverse.serializer.Serializer('doi:10.5061/dryad.2rbnzs7jp')
dv = dryad2dataverse.transfer.Transfer(i_heart_dryad)
dv.download_files()
dv.upload_study(targetDv='dryad')
dv.upload_files()
#For an explanation look at the more detailed docs
#You know, like where your API key goes.
Documentation
This very terse description is by no means the entirety of the documentation. Complete plain text documentation is available in the docs
directory of (https://github.com/ubc-library-rc/dryad2dataverse), beginning with index.md
.
A (much) more user-friendly version of the documentation is available at https://ubc-library-rc.github.io/dryad2dataverse, including full dryadd
documentation and API information.
Or if you've cloned the git repostory above, you can use mkdocs and mkdocs serve
to have a local server version of the documentation.
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
Built Distribution
File details
Details for the file dryad2dataverse-0.7.6.tar.gz
.
File metadata
- Download URL: dryad2dataverse-0.7.6.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ca7e58fa83a1bdd0a3ab9721a88bd9f694b5fe79d56099f6794ace7bbd0160f |
|
MD5 | 00a9182898b7518d5330ed6b45b6f2c8 |
|
BLAKE2b-256 | 243c200b468d695ad6a3c6d5be51fddee8c071ec7edf51014b150e3a4b881ed2 |
File details
Details for the file dryad2dataverse-0.7.6-py3-none-any.whl
.
File metadata
- Download URL: dryad2dataverse-0.7.6-py3-none-any.whl
- Upload date:
- Size: 38.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c91d69cf54ec3e46773ad141e85493ec5dde3ff6d06adf3c97e0f0670dab8b |
|
MD5 | df3218e3aa220d0221f66030be5c0d47 |
|
BLAKE2b-256 | 7f4a0716e4f8fe8d67d66dae530da0e168b25acab926a766b6af8686573faaff |