Skip to main content

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


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.6.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whywhytools-0.6.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

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

Hashes for whywhytools-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8aedf9767eb1bb40d30903669d7a5bdc4cbd688864a11783e8eba61abab64fc9
MD5 ee8518033dc2ba51517b364b7ef1fce2
BLAKE2b-256 ad160c59bdcdd675004456457ba2b9a0b968ee72f4323230186d9c1227ea3734

See more details on using hashes here.

Provenance

The following attestation bundles were made for whywhytools-0.6.0.tar.gz:

Publisher: publish_to_pypi.yaml on whywhybug/whywhytools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for whywhytools-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc358e9f2f2e2654bd0f9820d7535bd84990bdc05d112033418181ef1d469357
MD5 6091a9ce93241ad6f32e993890e97bb0
BLAKE2b-256 366c71c405339c7274bd4b787784679d9fc2cafc3edb4ac53a8f2ddc64d38fac

See more details on using hashes here.

Provenance

The following attestation bundles were made for whywhytools-0.6.0-py3-none-any.whl:

Publisher: publish_to_pypi.yaml on whywhybug/whywhytools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page