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
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.6.0.tar.gz.
File metadata
- Download URL: whywhytools-0.6.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8aedf9767eb1bb40d30903669d7a5bdc4cbd688864a11783e8eba61abab64fc9
|
|
| MD5 |
ee8518033dc2ba51517b364b7ef1fce2
|
|
| BLAKE2b-256 |
ad160c59bdcdd675004456457ba2b9a0b968ee72f4323230186d9c1227ea3734
|
Provenance
The following attestation bundles were made for whywhytools-0.6.0.tar.gz:
Publisher:
publish_to_pypi.yaml on whywhybug/whywhytools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whywhytools-0.6.0.tar.gz -
Subject digest:
8aedf9767eb1bb40d30903669d7a5bdc4cbd688864a11783e8eba61abab64fc9 - Sigstore transparency entry: 852689770
- Sigstore integration time:
-
Permalink:
whywhybug/whywhytools@ba87a51fb545089d2f0c83410b2fe3f7a6c88509 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/whywhybug
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yaml@ba87a51fb545089d2f0c83410b2fe3f7a6c88509 -
Trigger Event:
push
-
Statement type:
File details
Details for the file whywhytools-0.6.0-py3-none-any.whl.
File metadata
- Download URL: whywhytools-0.6.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc358e9f2f2e2654bd0f9820d7535bd84990bdc05d112033418181ef1d469357
|
|
| MD5 |
6091a9ce93241ad6f32e993890e97bb0
|
|
| BLAKE2b-256 |
366c71c405339c7274bd4b787784679d9fc2cafc3edb4ac53a8f2ddc64d38fac
|
Provenance
The following attestation bundles were made for whywhytools-0.6.0-py3-none-any.whl:
Publisher:
publish_to_pypi.yaml on whywhybug/whywhytools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whywhytools-0.6.0-py3-none-any.whl -
Subject digest:
dc358e9f2f2e2654bd0f9820d7535bd84990bdc05d112033418181ef1d469357 - Sigstore transparency entry: 852689840
- Sigstore integration time:
-
Permalink:
whywhybug/whywhytools@ba87a51fb545089d2f0c83410b2fe3f7a6c88509 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/whywhybug
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yaml@ba87a51fb545089d2f0c83410b2fe3f7a6c88509 -
Trigger Event:
push
-
Statement type: