[ trixie ]
[ sid ]
[ 原始碼: python-orjson ]
套件:python3-orjson(3.10.7-2)
python3-orjson 的相關連結
Debian 的資源:
下載原始碼套件 python-orjson:
- [python-orjson_3.10.7-2.dsc]
- [python-orjson_3.10.7.orig.tar.gz]
- [python-orjson_3.10.7-2.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
JSON parsing Python library
Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy orjson is a fast, correct JSON library for Python. It benchmarks as the fastest Python library for JSON and is more correct than the standard json library or other third-party libraries. It serializes dataclass, datetime, numpy, and UUID instances natively.
Its features and drawbacks compared to other Python JSON libraries:
* serializes `dataclass` instances 40-50x as fast as other libraries * serializes `datetime`, `date`, and `time` instances to RFC 3339 format, e.g., "1970-01-01T00:00:00+00:00" * serializes `numpy.ndarray` instances 4-12x as fast with 0.3x the memory usage of other libraries * pretty prints 10x to 20x as fast as the standard library * serializes to `bytes` rather than `str`, i.e., is not a drop-in replacement * serializes `str` without escaping unicode to ASCII, e.g., "好" rather than "\\\u597d" * serializes `float` 10x as fast and deserializes twice as fast as other libraries * serializes subclasses of `str`, `int`, `list`, and `dict` natively, requiring `default` to specify how to serialize others * serializes arbitrary types using a `default` hook * has strict UTF-8 conformance, more correct than the standard library * has strict JSON conformance in not supporting Nan/Infinity/-Infinity * has an option for strict JSON conformance on 53-bit integers with default support for 64-bit * does not provide `load()` or `dump()` functions for reading from/writing to file-like objects
其他與 python3-orjson 有關的套件
|
|
|
|
下載 python3-orjson
硬體架構 | 套件大小 | 安裝後大小 | 檔案 |
---|---|---|---|
amd64 | 274。3 kB | 1,283。0 kB | [檔案列表] |
arm64 | 249。8 kB | 1,235。0 kB | [檔案列表] |
armel | 264。5 kB | 1,297。0 kB | [檔案列表] |
armhf | 259。5 kB | 1,185。0 kB | [檔案列表] |
i386 | 292。3 kB | 1,313。0 kB | [檔案列表] |
mips64el | 269。6 kB | 1,757。0 kB | [檔案列表] |
ppc64 (非官方移植版) | 267。3 kB | 1,491。0 kB | [檔案列表] |
ppc64el | 276。6 kB | 1,491。0 kB | [檔案列表] |
riscv64 | 284。2 kB | 1,171。0 kB | [檔案列表] |
s390x | 303。7 kB | 1,723。0 kB | [檔案列表] |
sparc64 (非官方移植版) | 259。7 kB | 2,137。0 kB | [檔案列表] |