Releases: bodylabs/baiji-serialization
Releases · bodylabs/baiji-serialization
Add CSV support
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)
* Add better support for custom json class serialziers * fix lint: * add some docs: * fix lint
1.2.1
Add support for numpy arrays
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
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.