Dtoolcore

Latest version: v3.18.3

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

Scan your dependencies

Page 5 of 8

3.2.0

--------------------

Added
^^^^^

- Add "created_at" key to the administrative metadata

Fixed
^^^^^

- Fixed timestamp defect in DiskStoragBroker

3.1.0

--------------------

Added
^^^^^

- Add ``dtoolcore.copy_resume`` function

3.0.0

--------------------

This release starts making more use of URIs in the core API. It also adds more
metadata to describe the structure of the dataset and fixes a defect in how
timestamps were handled on Windows.

Added
^^^^^

* Helper functions ``sanitise_uri`` and ``generous_parse_uri`` to handle URIs
that consist only of relative paths (added to ``dtoolcore.utils``).
* Writing of ``.dtool/structure.json`` file to the DiskStorageBroker; a file
for describing the structure of the dtool dataset in a computer readable format
* Writing of ``.dtool/README.txt`` file to the DiskStorageBroker; a file
for describing the structure of the dtool dataset in a human readable format
* Helper function ``timestamp`` for calculating the Unix timestamp from a
Python datetime object

Changed
^^^^^^^

* Functions that previously took ``prefix`` and ``storage`` arguments now take
``base_uri`` instead. These URIs are sanitised so that relative paths work.
Most notably ``generate_proto_dataset`` and ``copy``.


Fixed
^^^^^

* Removed the historical ``dtool_readme`` key/value pair from the
administrative metadata (in the .dtool/dtool file)

2.9.3

--------------------

Fixed
^^^^^

- Made ``.dtool/manifest.json`` content created by DiskStorageBroker human
readable by adding new lines and indentation to the JSON formatting.

2.9.2

--------------------

Fixed
^^^^^

- Made the DiskStorageBroker.list_overlay_names method more robust. It no
longer falls over if the ``.dtool/overlays`` directory has been lost, i.e. by
cloning a dataset with no overlays from a Git repository.

2.9.1

--------------------

Fixed
^^^^^

- Fixed defect where an incorrect URI would get set on the dataset when using
``DataSet.from_path`` class method on a relative path

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.