pyDataverse
pyDataverse copied to clipboard
Python module for Dataverse Software (dataverse.org).
Check which API endpoints are compatible with using as identifier the Dataverse database ID and/or the PID. * [ ] http://docs.python-requests.org/en/master/user/quickstart/#response-status- API Endpoints * ENDPOINT: RESULT * ENDPOINT: RESULT After...
When pulling a dataset, the response object contains the json of the dataset. Would it be attractive to instead return a Dataset object? The Dataset class would simply contain getter...
Add docs as downloads (pdf, html, epub). ## Prepare * [ ] Define, where to place them inside the documentation ## Implementation * [ ] Update Docs * [ ]...
DESCRIPTION ## Prepare * Review existing themes * [ ] https://sphinx-themes.org/ * [ ] https://sphinx-themes.org/sample-sites/pytorch-sphinx-theme/ * [ ] https://sphinx-themes.org/sample-sites/furo/ * [ ] https://sphinx-themes.org/sample-sites/catalyst-sphinx-theme/ * [ ] https://github.com/pandas-dev/pydata-sphinx-theme * [ ]...
Improve usage of User-Agent. So far, it automatically adds `pydataverse` to it. The parameter should be defined and stored when creating an API object. The use-case for this in mind,...
Improve the handling of `write_dict_as_csv()`. The fieldnames should not be passed, unless no other way around it. Maybe use the default list from the models module, or define a static...
write_json() does not accept empty lists passed as data. ## Prepare * [ ] Check: are there any restrictions for the JSON data format ## Implementation * [ ] Write...
Write tests to check the structure of CSV templates and their function. ## Prepare * [ ] Define what should be tested and how ## Implementation * [ ] Develop...
Use linting for all string manipulation. ## Prepare * [ ] Check: pylint * [ ] Check: flake8 * [ ] Define first, small linting strategy: what to test, what...
Use type-annotation for all string manipulation. ## Prepare * [ ] Check: what are type annotations used for, next to functions? * [ ] https://docs.python.org/3/library/typing.html * [ ] https://inventwithpython.com/blog/2019/11/24/type-hints-for-busy-python-programmers/ ##...