v0.2.0 - Ida Pfeiffer
This release adds functionalities to import, manipulate and export the metadata of Dataverses, Datasets and Datafiles.
Version 0.2.0 is named in honor of Ida Pfeiffer (Wikipedia), an Austrian traveler and travel book author. She went on for several travels around the world, where she collected plants, insects, mollusks, marine life and mineral specimens and brought most of them back home to the Natural History Museum of Vienna.
For help or general questions please have a look in our Docs or email [email protected].
Features
- add Datavers Api metadata functionalities:
- set allowed attributes via a list of
dict()
- import of Dataverse and Dataset metadata from Dataverse Api JSON
- validity check of Dataverse, Dataset and Datafile attributes necessary for Dataverse Api upload
- export Dataverse, Dataset and Datafile attributes as dict() and JSON
- export Dataverse and Dataset metadata JSON necessary for Dataverse Api upload
- tests for Dataverse, Dataset and Datafile
- set allowed attributes via a list of
- add PUT request and edit metadata request to
Api()
(PR #8) - read in csv files and convert to Dataverse compatible
dict()
for automatic import of datasets into aDataset()
object
Improvements
- improved documentation: added docstrings where missing, cleaned them up and added examples
- added PyPI test to
tox.ini
- added test fixtures for frequently used functions inside tests
Dependencies
- fixed requests version:
requests>=2.12.0
or newer needed
Contribute
From 18th to 22nd of June 2019, pyDataverse's main developer Stefan Kasberger will be at the Dataverse Community Conference in Cambridge, MA to exchange with others about pyDataverse end develop it further. If you are interested and around, drop by and join us. If you can not attend, you can connect with us via Dataverse Chat.
To find out how you can contribute, please have a look at the Contributor Guide. No contribution is too small!
The most important contribution you can make right now is to use the module. It would be great, if you install it, run some code on your PC and access your own Dataverse instance if possible - and give feedback after it (contact).
Another way is, to share this release with others, who could be interested (e. g. retweet my Tweet, or send an Email).
About pyDataverse
pyDataverse includes a collection of functionalities to import, export and manipulate data and it's metadata via the Dataverse API.
https://twitter.com/stefankasberger/status/1140832352517668864
Thanks to Ajax23 for the PR #8. Great contribution, and it's always amazing to see the idea of Open Source in action. :)
-- Greetz, Stefan Kasberger