Skip to main content

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

dryad2dataverse-0.8.4.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

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

dryad2dataverse-0.8.4-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file dryad2dataverse-0.8.4.tar.gz.

File metadata

  • Download URL: dryad2dataverse-0.8.4.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.1 Darwin/24.6.0

File hashes

Hashes for dryad2dataverse-0.8.4.tar.gz
Algorithm Hash digest
SHA256 94d2dda0037ed01efbc39b2ba22323f8a160118d190bc96533d9f22e293d97e9
MD5 0d037b9329cef3f23614ae8d915d9333
BLAKE2b-256 bce76ac60fec412c63d6a9363fcd3ebc81d685701d519ca926aaf882f70e9548

See more details on using hashes here.

File details

Details for the file dryad2dataverse-0.8.4-py3-none-any.whl.

File metadata

  • Download URL: dryad2dataverse-0.8.4-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.1 Darwin/24.6.0

File hashes

Hashes for dryad2dataverse-0.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1b5d880c726f1bcddf28a29fcbd2da8c0b7c66933cf5733c3fe1cbb6459477a0
MD5 915b199f8c884d9d79c230ae3948bdd6
BLAKE2b-256 54e0ae67f60f2bf2f1a1dd89a3085ac8cec7aae3d6fae86363300ebdf9204fa5

See more details on using hashes here.

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