Dataverse-utils

Latest version: v0.16.2

Safety actively analyzes 710644 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.16.2

New utility `dv_list_files`! Get all the file IDs, versions, descriptions etc. for all versions of a dataset in a nice TSV, CSV or JSON.

---

**Full Changelog**: https://github.com/ubc-library-rc/dataverse_utils/compare/v0.14.0...v0.16.2

0.14.0

* Added automatic handling in `ldc.py` for handling records with no explicit introduction.
* Suggested use of `pipx` instead of pip if you only want the utilities
* Documentation cleanup.

---

**Full Changelog**: https://github.com/ubc-library-rc/dataverse_utils/compare/v0.13.1...v0.14.0

0.13.1

* Allow an override on upload to force a particular mimetype
* TSVs can have custom paths so that destination file trees can be made on the fly
* Typo <strike>correcshuns</strike> corrections

**Full Changelog**: https://github.com/ubc-library-rc/dataverse_utils/compare/v0.10.4...v0.13.1

0.10.3

* `dataverse_utils.dvdata.Study` objects now have `source_version` and `target_version` keys.

* Class method`dataverse_utils.dvdata.Study.get_version` will retrieve a target's Dataverse version.

* `dataverse_utils.dvdata.Study.fix_licence` will replace formerly correct licence type `'NONE'` with `None` for compatibilty with Dataverse v5.10+.

* `dataverse_utils.dvdata.Study.production_location` will change `productionPlace` multiple value to `True` and convert `value` to `[value]` for compatibility with Dataverse v5.13+.

* `dataverse_utils.dvdata.Study.set_version` with call to target url method will create (hopefully) correct upload json.

* `dv_study_migrator` now uses these methods from `dataverse_utils.dvdata.Study`.

---

**Full Changelog**: https://github.com/ubc-library-rc/dataverse_utils/compare/v0.10.2...v0.10.3

0.9.2

* `dv_study_migrator` checks for Dataverse target version and (ideally) handles licence uploads correctly. That is, there will be "Custom Dataset Terms" plus the terms of use when migrating data from another instance.

**Full Changelog**: https://github.com/ubc-library-rc/dataverse_utils/compare/v0.9.1...v0.9.2

0.9.1

* New script `dv_study_migrator` can transfer metadata *and* files between dataverse installations
* **dataverse_utils.upload_file** now has customizable timeout, labels, etc.
* `dv_record_copy` has corrected documentation

**Full Changelog**: https://github.com/ubc-library-rc/dataverse_utils/compare/v0.8.7...v0.9.1

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.