Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Parsing a stream of json objects without loading the whole stream into memory. Solution to https://stackoverflow.com/questions/6886283/how-i-can-i-lazily-read-multiple-json-values-from-a-file-stream-in-python

import sys
from json_stream_parser import load_iter
for obj in load_iter(sys.stdin):
    print(obj)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

json_stream_parser-0.3.dev0.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file json_stream_parser-0.3.dev0.tar.gz.

File metadata

  • Download URL: json_stream_parser-0.3.dev0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for json_stream_parser-0.3.dev0.tar.gz
Algorithm Hash digest
SHA256 7c8142a2eca1fd836ef61173fb34a2695dc08bb327c8c1163287aa7c97a2576a
MD5 b00275b59aa88590503e6ee39a600101
BLAKE2b-256 13f40a4fb58ae069ed4be15029a9b233c705bf804249fdda0b40c683224e8569

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.dev0 This release

1 file

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