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.1.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da30894d1a73f256f0ed44eeec5885abc533949d767f160863be19aec6537b2a |
|
MD5 | 5bb0231518b23980aef38df558bf7c3d |
|
BLAKE2b-256 | 1d5d71d69da796e42d1e5edfb4e57a2474194cf4f8af3e3bcdf11accdd0864e8 |