parsing a stream of json objects without loading the whole stream into memory
Project description
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)
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
Close
Hashes for json_stream_parser-0.3.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c8142a2eca1fd836ef61173fb34a2695dc08bb327c8c1163287aa7c97a2576a |
|
MD5 | b00275b59aa88590503e6ee39a600101 |
|
BLAKE2b-256 | 13f40a4fb58ae069ed4be15029a9b233c705bf804249fdda0b40c683224e8569 |