A lightweight Python package for reading and writing JSON/JSON Lines 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.5.0.tar.gz
(3.2 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.5.0.tar.gz.
File metadata
- Download URL: whywhytools-0.5.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecfdb5e629afbb1413ccb46c945e91fa61dc0b9e4fd976715cbad20e4e2923ba
|
|
| MD5 |
4550cc8b5465dba319af3c6e6a54c1a1
|
|
| BLAKE2b-256 |
6cb62a3231f5ae7feb6d5b51597ebd9aeecd10b6008e554ea12ee94c8e6a4df2
|
File details
Details for the file whywhytools-0.5.0-py3-none-any.whl.
File metadata
- Download URL: whywhytools-0.5.0-py3-none-any.whl
- Upload date:
- Size: 4.7 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 |
878259a96fad69002fc768bfb97f51e6778d62ade038db7d14a424fe87596a09
|
|
| MD5 |
676f2e0dc4a7d8f69a7fa7b5df43aec1
|
|
| BLAKE2b-256 |
33993e49b99cf20f35698c20f14c0be8c3bca67ec19c6eaa303446e9d0c96451
|