You are here: Home / LBN / Up2date / Core Linux / BastionLinux 36 / python3-json-stream-2.3.2-1.lbn36.noarch

python3-json-stream-2.3.2-1.lbn36.noarch

Package Attributes
RPM  python3-json-stream-2.3.2-1.lbn36.noarch.rpm Architecture  noarch Size  163389 Created  2024/04/02 10:53:38 UTC
Package Specification
Summary Streaming JSON encoder and decoder
Group Unspecified
License ZPL
Home Page https://pypi.org/project/json-stream
Description

json-stream

Simple streaming JSON parser and encoder. When reading JSON data, json-stream can decode JSON data in a streaming manner, providing a pythonic dict/list-like interface, or a visitor-based interfeace. Can stream from files, URLs or iterators. When writing JSON data, json-stream can stream JSON objects as you generate them. These techniques allow you to reduce memory consumption and latency. Reading json-stream is a JSON parser just like the standard library's json.load(). It will read a JSON document and convert it into native python types. import json_stream data = json_stream.load(f)

Features:

stream all JSON data types (objects, lists and simple types) stream nested data simple pythonic list-like/dict-like interface stream truncated or malformed JSON data (up to the first error) native code parsing speedups for most common platforms pure python fallback if native extensions not available

Unlike json.load(), json-stream can stream JSON data from any file-like or it

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(FileDigests)  
Provides
python-json-stream
python3-json-stream
python3.10-json-stream
python3.10dist(json-stream)
python3dist(json-stream)
Obsoletes
python-json-stream

Document Actions