python-orjson
Port variant v11
Summary Fast, correct Python JSON library (3.11)
BROKEN
Package version 3.10.9
Homepage https://github.com/ijl/orjson
Keywords python, rust
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 19 OCT 2024, 19:30:40 UTC
Port created 08 JAN 2023, 04:18:24 UTC
Subpackage Descriptions
single 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 2x faster than other libs - 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
Configuration Switches (platform-specific settings discarded)
PY311 ON Build using Python 3.11 PY312 OFF Build using Python 3.12
Package Dependencies by Type
Build (only) python-setuptools-rust:single:v11
python-maturin:single:v11
python-pip:single:v11
rust:single:std
autoselect-python:single:std
Build and Runtime python311:single:std
Runtime (only) ravensys-gcc:libs:std (single subpackage)
Download groups
main mirror://PYPI/o/orjson
cr01 mirror://CRATES/arrayvec:0.7.6
cr02 mirror://CRATES/associative-cache:2.0.0
cr03 mirror://CRATES/bytecount:0.6.8
cr04 mirror://CRATES/castaway:0.2.3
cr05 mirror://CRATES/cc:1.1.31
cr06 mirror://CRATES/cfg-if:1.0.0
cr07 mirror://CRATES/compact_str:0.8.0
cr08 mirror://CRATES/crunchy:0.2.2
cr09 mirror://CRATES/encoding_rs:0.8.34
cr10 mirror://CRATES/gimli:0.30.0
cr11 mirror://CRATES/half:2.4.1
cr12 mirror://CRATES/itoa:1.0.11
cr13 mirror://CRATES/itoap:1.0.1
cr14 mirror://CRATES/jiff:0.1.13
cr15 mirror://CRATES/libc:0.2.161
cr16 mirror://CRATES/memchr:2.7.4
cr17 mirror://CRATES/no-panic:0.1.30
cr18 mirror://CRATES/once_cell:1.20.2
cr19 mirror://CRATES/proc-macro2:1.0.88
cr20 mirror://CRATES/quote:1.0.37
cr21 mirror://CRATES/rustversion:1.0.18
cr22 mirror://CRATES/ryu:1.0.18
cr23 mirror://CRATES/serde:1.0.210
cr24 mirror://CRATES/serde_derive:1.0.210
cr25 mirror://CRATES/serde_json:1.0.131
cr26 mirror://CRATES/shlex:1.3.0
cr27 mirror://CRATES/simdutf8:0.1.5
cr28 mirror://CRATES/smallvec:1.13.2
cr29 mirror://CRATES/static_assertions:1.1.0
cr30 mirror://CRATES/syn:2.0.79
cr31 mirror://CRATES/target-lexicon:0.12.16
cr32 mirror://CRATES/unicode-ident:1.0.13
cr33 mirror://CRATES/unwinding:0.2.2
cr34 mirror://CRATES/version_check:0.9.5
cr35 mirror://CRATES/xxhash-rust:0.8.12
Distribution File Information
c378074e0c46035dc66e57006993233ec66bf8487d501bab41649b4b7289ed4d 5399823 rust/crates/orjson-3.10.9.tar.gz 7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50 31237 rust/crates/arrayvec-0.7.6.tar.gz b993cd767a2bc7307dd87622311ca22c44329cc7a21366206bfa0896827b2bad 13960 rust/crates/associative-cache-2.0.0.tar.gz 5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce 14694 rust/crates/bytecount-0.6.8.tar.gz 0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5 11509 rust/crates/castaway-0.2.3.tar.gz c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f 84637 rust/crates/cc-1.1.31.tar.gz baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd 7934 rust/crates/cfg-if-1.0.0.tar.gz 6050c3a16ddab2e412160b31f2c871015704239bca62f72f6e5f0be631d3f644 70994 rust/crates/compact_str-0.8.0.tar.gz 7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7 2995 rust/crates/crunchy-0.2.2.tar.gz b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59 1378166 rust/crates/encoding_rs-0.8.34.tar.gz e2e1d97fbe9722ba9bbd0c97051c2956e726562b61f86a25a4360398a40edfc9 277411 rust/crates/gimli-0.30.0.tar.gz 6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888 50892 rust/crates/half-2.4.1.tar.gz 49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b 10563 rust/crates/itoa-1.0.11.tar.gz 9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8 83316 rust/crates/itoap-1.0.1.tar.gz 8a45489186a6123c128fdf6016183fcfab7113e1820eb813127e036e287233fb 604330 rust/crates/jiff-0.1.13.tar.gz 8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1 765389 rust/crates/libc-0.2.161.tar.gz 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3 96670 rust/crates/memchr-2.7.4.tar.gz 8540b7d99a20166178b42a05776aef900cdbfec397f861dfc7819bf1d7760b3d 11789 rust/crates/no-panic-0.1.30.tar.gz 1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775 33394 rust/crates/once_cell-1.20.2.tar.gz 7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9 49219 rust/crates/proc-macro2-1.0.88.tar.gz b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af 28558 rust/crates/quote-1.0.37.tar.gz 0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248 17794 rust/crates/rustversion-1.0.18.tar.gz f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f 47713 rust/crates/ryu-1.0.18.tar.gz c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a 78338 rust/crates/serde-1.0.210.tar.gz 243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f 56020 rust/crates/serde_derive-1.0.210.tar.gz 67d42a0bd4ac281beff598909bb56a86acaf979b84483e1c79c10dcaf98f8cf3 150406 rust/crates/serde_json-1.0.131.tar.gz 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 18713 rust/crates/shlex-1.3.0.tar.gz e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e 28488 rust/crates/simdutf8-0.1.5.tar.gz 3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67 35216 rust/crates/smallvec-1.13.2.tar.gz a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f 18480 rust/crates/static_assertions-1.1.0.tar.gz 89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590 268981 rust/crates/syn-2.0.79.tar.gz 61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1 26488 rust/crates/target-lexicon-0.12.16.tar.gz e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe 43279 rust/crates/unicode-ident-1.0.13.tar.gz dc55842d0db6329a669d55a623c674b02d677b16bfb2d24857d4089d41eba882 26818 rust/crates/unwinding-0.2.2.tar.gz 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a 15554 rust/crates/version_check-0.9.5.tar.gz 6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984 21329 rust/crates/xxhash-rust-0.8.12.tar.gz
Ports that require python-orjson:v11
No other ports depend on this one.