python-orjson 3.11.5-ok1 source package in openKylin
Changelog
python-orjson (3.11.5-ok1) huanghe; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Fri, 08 May 2026 22:36:00 +0800
python-orjson (3.11.5-ok1) huanghe; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Fri, 08 May 2026 22:36:00 +0800
| Series | Published | Component | Section | |
|---|---|---|---|---|
| Huanghe V3.0 | proposed | main | python |
| File | Size | SHA-256 Checksum |
|---|---|---|
| python-orjson_3.11.5.orig.tar.xz | 781.9 KiB | 22e1d6e04aaeeba9b7f361402a187cb5425e8706726e9866ad566cd3d305773d |
| python-orjson_3.11.5-ok1.debian.tar.xz | 3.7 KiB | 6e7cee82bfc5e11fada18b76641c4158baa22188f62bab1a9e2753c43c8cee68 |
| python-orjson_3.11.5-ok1.dsc | 2.6 KiB | 45ea6622b626bd978b67232c1eb013b2b0c774e59da88355f6a40322e1e16bc2 |
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-
* 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/
* 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