Skip to content

v0.3.2

Latest

Choose a tag to compare

@DevinDeSilva DevinDeSilva released this 09 Apr 19:36

dycomutils v0.3.0

This release improves the serialization utilities and refreshes the package documentation.

What's new

  • Added a clearer public API for dycomutils.serialization using explicit exports via __all__
  • Split serialization helpers into focused modules:
    • json.py
    • jsonl.py
    • pickle.py
    • text.py
  • Added save_jsonl_append(loc, data) for appending a single JSON object to a JSONL file
    • creates the file automatically if it does not already exist
    • pairs naturally with load_jsonl_generator(loc) for streaming read/write workflows
  • Updated the README with package positioning, module overview, and usage examples

Serialization API

The serialization package now clearly exposes:

  • save_json
  • load_json
  • save_jsonl
  • save_jsonl_append
  • load_jsonl
  • load_jsonl_generator
  • save_pickle
  • load_pickle
  • save_text
  • load_text
  • file_exist

Version

  • Bumped package version from 0.2.0 to 0.3.0