Dataverse-utils

Latest version: v0.10.4

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

Scan your dependencies

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

0.8.7

* Updated dryad2dataverse dependency to eliminate the possibility of `urllib3.util.Retry` errors.
* Fixed typo in `pyproject.toml` so that utility runs instead of creating an error.

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

0.8.5

Now available on [PyPi](https://pypi.org)! No more faffing about with Git!

Now includes eight console utilities for your management pleasure. Collect them all!

* Console scripts should function properly from the command line and work with cygwin
* Repackaged to work with current standards
* Documentation no longer out of date
* LDC uploader now requires manually created certificate chain .pem
* Record copying utility available.

Check the changelog for all of the exciting details!

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

0.6.0

This release includes automatic mimetype detection in `dv_manifest_gen.py` and support for setting mimetypes in the upload functions in `dataverse_utils`.

It's also the first "release", although tags are available for earlier versions.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.