Skip to main content

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


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)

Uploaded Source

Built Distribution

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

whywhytools-0.4.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for whywhytools-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9975bbc48bf8bf8c2e6ebdebf0d3b92bba612551ab91794d3328aeef276a46bc
MD5 e98888a79d37a5c2936ebad4bb6be091
BLAKE2b-256 a13c9bf005d7973d708a0045436bdf9cb3141e92b73441e327a94b79b604c2b7

See more details on using hashes here.

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

Hashes for whywhytools-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f82d34dfcaff2e35115e1ea33ff3a30b79448645e9625eee97f053ab6074462
MD5 69a37f96893ad5e4b7f248a7ddabffc1
BLAKE2b-256 c3839a9002930fab01b8cb4f3f272d8480c45f4fbb1274e9c3a9d7dbd6495744

See more details on using hashes here.

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