A lightweight Python package for reading and writing JSON Lines (.jsonl) files.
Project description
whywhytools
A lightweight Python package for reading and writing JSON Lines (.jsonl) files, providing simple APIs for line-based JSON data processing.
Installation
pip install whywhytools
Quickstart
write file
from whywhytools import write_jsonl
ds = [{'text': 'hello world'}]
write_jsonl(ds, 'output.jsonl')
read file
from whywhytools import read_jsonl
ds = read_jsonl('output.jsonl')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
whywhytools-0.4.0.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whywhytools-0.4.0.tar.gz.
File metadata
- Download URL: whywhytools-0.4.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9975bbc48bf8bf8c2e6ebdebf0d3b92bba612551ab91794d3328aeef276a46bc
|
|
| MD5 |
e98888a79d37a5c2936ebad4bb6be091
|
|
| BLAKE2b-256 |
a13c9bf005d7973d708a0045436bdf9cb3141e92b73441e327a94b79b604c2b7
|
File details
Details for the file whywhytools-0.4.0-py3-none-any.whl.
File metadata
- Download URL: whywhytools-0.4.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f82d34dfcaff2e35115e1ea33ff3a30b79448645e9625eee97f053ab6074462
|
|
| MD5 |
69a37f96893ad5e4b7f248a7ddabffc1
|
|
| BLAKE2b-256 |
c3839a9002930fab01b8cb4f3f272d8480c45f4fbb1274e9c3a9d7dbd6495744
|