NDJSON Decoder for Python
JSON →The `ndjson` library for Python, currently at version `0.3.1`, provides a `JsonDecoder` and `JsonEncoder` for newline-delimited JSON (NDJSON), also known as JSON Lines. It offers a familiar interface similar to Python's built-in `json` module, enabling efficient reading and writing of NDJSON data to and from file-like objects and strings. This lightweight library has no external dependencies and is particularly useful for processing large datasets or streaming applications where each line represents a complete, independent JSON object. Although its last release was in 2020 and its PyPI status is 'Pre-Alpha', it is considered stable and functional for its stated purpose.
Traffic · last 30 days ↓77% vs prev 7d
total hits 17
actors 7 distinct systems
last hit 3d ago Googlebot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany
API endpoints
full doc /v1/registry/ndjson
install /v1/registry/ndjson/install
compatibility /v1/registry/ndjson/compatibility