explosion / srsly

🦉 Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)
MIT License
432 stars 31 forks source link

Add functionality for gzipped .jsonl reading and writing #84

Closed rmitsch closed 1 year ago

rmitsch commented 1 year ago

Description

Add functionality for gzipped .jsonl reading and writing + tests and docs update. Thanks to @RXminuS for submitting a first PR for this. Unrelated formatting changes in readme are due to running prettier on it.

Types of change

New feature.

Checklist

adrianeboyd commented 1 year ago

Thanks! append_new_line=True seems weird, but consistent with the existing methods.