Skip to content

Releases: bodylabs/baiji-serialization

Add CSV support

10 May 17:09
Compare
Choose a tag to compare
Add CSV (#8)

* Add venv/ to gitignore

* Copy csv.py from core

* Copy test_csv.py from core

* Update imports

* Add csv to readme, fix json loading example

* Add line break

* Minor version bump

* Fix readme examples

* Update bodylabs. to baiji. in comments

* Clean up method call

2.0.0: Add better support for custom json class serialziers (#7)

05 May 19:40
Compare
Choose a tag to compare
* Add better support for custom json class serialziers

* fix lint:

* add some docs:

* fix lint

1.2.1

11 Apr 20:47
Compare
Choose a tag to compare
relax requirement versions

Add support for numpy arrays

15 Mar 16:35
Compare
Choose a tag to compare
Make compatible with json_tricks numpy handling (#6)

Added support for handling np.ndarrays in the json_tricks style. We can load files written by json_tricks and write files that are compatible with it. I also copied over the sparse matrix handler from core.

Introduces YAML safe loading and dumping

10 Nov 17:47
Compare
Choose a tag to compare

For backward compatibility, loading or dumping unsafe YAML contents only produce a DeprecationWarning if the function has not been explicitly called with a safe argument.

Loading or dumping with safe=False causes behavior identical to releases predating this one.
Loading or dumping with safe=True will ensure that only safe contents are allowed. Contents deemed unsafe by the pyyaml module will raise a SerializationSafetyError.