Skip to main content

TestStatus PyPiStatus BlackStyle BlackPackStyle MITLicenseBadge

numpy

Uses json_numpy for transparent loads and dumps of lists into numpy-arrayrs if the dtype is either purely int or float.

trees

Recursively read (or write) .json files in a tree of directories.

lines

JSON-lines or .jsonl is a powerful extension to the JSON-family.

import json_utils as ju

with ju.lines.open("my-items.jsonl.gz", mode="w|gz") as jl:
    for i in range(100):
        jl.write({"number": i})

with ju.lines.open("my-items.jsonl.gz", mode="r|gz") as jl:
    for obj in jl:
        print("item", obj["number"])

Metadata

Release files for json-utils-sebastian-achim-mueller 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for json-utils-sebastian-achim-mueller 0.0.6
File Size Uploaded
json_utils_sebastian_achim_mueller-0.0.6.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for json-utils-sebastian-achim-mueller 0.0.6
File Interpreter ABI Platform
json_utils_sebastian_achim_mueller-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / json_utils_sebastian_achim_mueller-0.0.6.tar.gz

Download URL json_utils_sebastian_achim_mueller-0.0.6.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a73c7aa0466b81a73a453346d77cb01c0e2d29529a534266032216880989f089
BLAKE2b-256 checksum
How to use checksums
9b6f9b08af87b4e7c518ab85470ea2313619d9ca1cc1d824c7f3e1f094f71276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / json_utils_sebastian_achim_mueller-0.0.6-py3-none-any.whl

Download URL json_utils_sebastian_achim_mueller-0.0.6-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43bf9fdf09fa509cd59f7e60b44aaf89ae03a479f28662275513a3748384e480
BLAKE2b-256 checksum
How to use checksums
57d99777d3694a2a9649ff8e48a933ec6d23a4a56161de10a56868266e4148c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page