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 (de)serialization via user-defined callbacks.
- 🗜️ Built-in support for
gzip
,bzip2
,xz
compression formats andZIP
orTAR
archives. - 🔧 Skips malformed lines during file loading.
- 📥 Loads from URLs, file paths, or file-like objects.
Installation (via pip)
pip install py-jsonl