pyDataverse
pyDataverse copied to clipboard
Python module for Dataverse Software (dataverse.org).
Return additional data objects from the API requests by passing a param. **Requirements** * requests.response * requests.response.json() * requests.response.json() as dict() * pandas.DataFrame * pyDataverse.models.Dataverse * pyDataverse.models.Dataset * pyDataverse.models.Datafile *...
Improve get_children() functionality. **Requirements** * pass param, if conversion of dataverse ID to dataverse alias should be done * make data collection more efficient by parallel activities * store state...
The upload_datafile method now allows a file object to be passed. This way, the file to be sent can be opened outside the dverse client (e.g. a temporary file object).
## General **[Milestone](https://github.com/gdcc/pyDataverse/milestone/4)** **Goal** Re-factor API module. Improve Open Source development, testing and community support to a level, so it is easy to build upon. **Features** * Improve project management...
Reduce API classes to Native, Sword and OAI-PMH (if already implemented). Update naming of classes. ## Prepare * [ ] Define naming of API classes * [ ] Research *...
Add logging functionality to all modules. ## Prepare * [ ] Research * [ ] https://docs.python.org/3/library/logging.html * [ ] https://docs.python.org/3/howto/logging.html * [ ] https://www.youtube.com/watch?v=Pbz1fo7KlGg * [ ] https://www.youtube.com/watch?v=p0A4CV4MWd0 * [...
by @lincolnsherpa: While creating Dataverse it would be also awesome to fill in "storageDriveLevel" and other fields too.
Verify the file integrity of files downloaded with their hash values. Mentioned in a call by @atrisovic. ## Prepare * [x] check Python hash implementation * [x] md5 * [x]...
using Windows 64bit pydataverse 0.3.0 python 3.7.9 dataverse v. 4.20 build 413-4e07b62 Using NativeApi calls ```python apiProd = NativeApi(baseUrlProd, apiKeyProd) ``` To Get A Role: ```python resp = apiProd.get_request(baseUrlProd+"/api/roles/10") {'status':...
Allow downloading of unpublished draft dataset and its data files using the API token and its access credentials.