Unitpackage

Latest version: v0.8.4

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

Scan your dependencies

Page 1 of 2

0.8.4

====================

**Fixed:**

* Fixed `entry.save`, where the saved datapackages contained the `echemdb` resource.

0.8.3

====================

**Fixed:**

* Fixed saving entries with `date` and `datetime` objects.

0.8.2

====================

**Fixed:**

* Fixed creation of fields, when not all fields were provided to `local.create_unitpackage`.
* Fixed creating an entry from the parent directory with `Entry.from_csv`.

0.8.1

====================

**Fixed:**

* Fixed binder configuration files and links.
* Upgraded to pandas version 2.

0.8.0

====================

**Added:**

* Added 'entry.save' which creates a unitpackage, i.e., a CSV file and a JSON file, in the directory `outdir`.
* Added 'collection.save_entries' saves the entries of this collection using `entry.save`.
* Added `Collection.from_local`, creating a collection from local datapackages.
* Added `Collection.from_remote`, creating a collection from remote datapackages collected from a url containing a ZIP.
* Added `Entry.from_local`, loading an entry from a local datapackage.
* Added `Entry.from_csv`, creating an entry from a CSV and optionally allows adding metadata to the entry and modifying the field properties.
* Added `Entry.from_df`, creating an entry from a pandas dataframe and optionally allows adding metadata to the entry and modifying the field properties.

**Changed:**

* Changed default url to collect datapackages to assets in https://github.com/echemdb/electrochemistry-data/releases.
* Changed loading echemdb data, using `Collection.from_remote()` instead of `Collection()`.
* Changed `Entry.create_examples` to load pre-defined datapackages instead of generating datapackges from SVGs with the `svgdigitizer`.

**Removed:**

* Removed `svgdigitizer` as dependency used in automated tests.
* Removed `Entry._digitize_example`, used to create datapackages for automated test.
*

**Fixed:**

* Fixed the description of the project in the `setup.py`.

0.7.1

====================

**Fixed:**

* Fixed content of the Changelog to indicate that `unitpackage` originates from https://github.com/echemdb/echemdb.

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.