{"library":"ndjson","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"0.3.1","tags":["json","ndjson","jsonlines","serialization","deserialization","stream","newline-delimited"],"install":[{"cmd":"pip install ndjson","imports":["import ndjson","ndjson.load(file_object)","ndjson.dump(data, file_object)","ndjson.loads(string_data)","ndjson.dumps(data)","ndjson.reader(file_object)","ndjson.writer(file_object)"]}],"homepage":null,"github":"https://github.com/rhgrant10/ndjson","docs":null,"changelog":null,"pypi":"https://pypi.org/project/ndjson/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/ndjson/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}