jsonl
About
jsonl is a Python library designed to simplify working with JSON Lines data, adhering to the JSON Lines format.
Features:
- 🌎 Provides an API similar to Python's standard
json
module. - 🚀 Supports custom serialization/deserialization callbacks, with the standard
json
module as the default. - 🗜️ Supports compression and decompression using
gzip
,bzip2
, andxz
formats. - 🔧 Can load files with broken lines, skipping any malformed entries.
- 📦 Includes an easy-to-use utility for writing to multiple JSON Lines files.
Installation (via pip)
pip install py-jsonl