# dryad2dataverse
**dryad2dataverse** is a [Python](https://python.org) 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](https://dataverse.org/ "Dataverse software main site") 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](https://datadryad.org) repository to a [Dataverse](https://dataverse.org) 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](https://www.mkdocs.org/) and `mkdocs serve` to have a local server version of the documentation.
Raw data
{
"_id": null,
"home_page": null,
"name": "dryad2dataverse",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "Harvard Dataverse, Dataverse, research data management, data repository, Dryad, datadryad.org, dataverse.org",
"author": null,
"author_email": "Paul Lesack <paul.lesack@ubc.ca>",
"download_url": "https://files.pythonhosted.org/packages/24/3c/200b468d695ad6a3c6d5be51fddee8c071ec7edf51014b150e3a4b881ed2/dryad2dataverse-0.7.6.tar.gz",
"platform": null,
"description": "# dryad2dataverse\n\n**dryad2dataverse** is a [Python](https://python.org) 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](https://dataverse.org/ \"Dataverse software main site\") repository. Dryad2dataverse is pure Python and should run on any platform which supports Python 3.6 or greater.\n\nData transfers between repositories require local storage, so not all platforms will be equally suitable.\n\n## Installing\n\n`pip install dryad2dataverse`\n\n## Usage\n\nMost users will likely just want to use the command line transfer and monitor tool (`dryadd`) but the tools are available in any Python environment\n\n### Command line application\n\n`dryadd [all the various options]`\n\nsee all the options available with\n\n`dryadd -h`\n\nInitiate a transfer from a [Dryad](https://datadryad.org) repository to a [Dataverse](https://dataverse.org) repository.\n\n### Using the package\n\n```\n#Serializer\nimport dryad2dataverse.serializer\n#Transfer\nimport dryad2dataverse.transfer\n#Monitor\n#import dryad2dataverse.monitor\n\ni_heart_dryad = dryad2dataverse.serializer.Serializer('doi:10.5061/dryad.2rbnzs7jp')\ndv = dryad2dataverse.transfer.Transfer(i_heart_dryad)\ndv.download_files()\ndv.upload_study(targetDv='dryad')\ndv.upload_files()\n\n#For an explanation look at the more detailed docs\n#You know, like where your API key goes.\n```\n\n## Documentation\n\nThis 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`.\n\nA (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.\n\nOr if you've cloned the git repostory above, you can use [mkdocs](https://www.mkdocs.org/) and `mkdocs serve` to have a local server version of the documentation. \n",
"bugtrack_url": null,
"license": null,
"summary": "Utility for copying and syncing data from a Dryad data repository to a Dataverse repository",
"version": "0.7.6",
"project_urls": {
"Documentation": "https://ubc-library-rc.github.io/dryad2dataverse",
"Homepage": "https://ubc-library-rc.github.io/dryad2dataverse",
"Repository": "https://github.com/ubc-library-rc/dryad2dataverse.git",
"Tracker": "https://github.com/ubc-library-rc/dryad2dataverse/issues"
},
"split_keywords": [
"harvard dataverse",
" dataverse",
" research data management",
" data repository",
" dryad",
" datadryad.org",
" dataverse.org"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7f4a0716e4f8fe8d67d66dae530da0e168b25acab926a766b6af8686573faaff",
"md5": "df3218e3aa220d0221f66030be5c0d47",
"sha256": "c6c91d69cf54ec3e46773ad141e85493ec5dde3ff6d06adf3c97e0f0670dab8b"
},
"downloads": -1,
"filename": "dryad2dataverse-0.7.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "df3218e3aa220d0221f66030be5c0d47",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 38323,
"upload_time": "2024-11-05T21:05:59",
"upload_time_iso_8601": "2024-11-05T21:05:59.379851Z",
"url": "https://files.pythonhosted.org/packages/7f/4a/0716e4f8fe8d67d66dae530da0e168b25acab926a766b6af8686573faaff/dryad2dataverse-0.7.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "243c200b468d695ad6a3c6d5be51fddee8c071ec7edf51014b150e3a4b881ed2",
"md5": "00a9182898b7518d5330ed6b45b6f2c8",
"sha256": "1ca7e58fa83a1bdd0a3ab9721a88bd9f694b5fe79d56099f6794ace7bbd0160f"
},
"downloads": -1,
"filename": "dryad2dataverse-0.7.6.tar.gz",
"has_sig": false,
"md5_digest": "00a9182898b7518d5330ed6b45b6f2c8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4208908,
"upload_time": "2024-11-05T21:06:02",
"upload_time_iso_8601": "2024-11-05T21:06:02.107237Z",
"url": "https://files.pythonhosted.org/packages/24/3c/200b468d695ad6a3c6d5be51fddee8c071ec7edf51014b150e3a4b881ed2/dryad2dataverse-0.7.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-05 21:06:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ubc-library-rc",
"github_project": "dryad2dataverse",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "certifi",
"specs": [
[
">=",
"2022.12.7"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
">=",
"2.0.4"
]
]
},
{
"name": "chardet",
"specs": [
[
">=",
"3.0.4"
]
]
},
{
"name": "idna",
"specs": [
[
">=",
"2.10.0"
]
]
},
{
"name": "pycryptodome",
"specs": [
[
">=",
"3.20.0"
]
]
},
{
"name": "requests",
"specs": [
[
">=",
"2.26.0"
]
]
},
{
"name": "requests-toolbelt",
"specs": [
[
">=",
"0.9.1"
]
]
},
{
"name": "urllib3",
"specs": [
[
">=",
"1.26.6"
]
]
}
],
"lcname": "dryad2dataverse"
}