python-orjson
Port variant v14
Summary Fast, correct Python JSON library (3.14)
Package version 3.11.5
Homepage https://github.com/ijl/orjson
Keywords python, rust
Maintainer Python Automaton
License Not yet specified
Other variants v13
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 09 DEC 2025, 20:39:37 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)
PY313 OFF Build using Python 3.13 PY314 ON Build using Python 3.14
Package Dependencies by Type
Build (only) python-maturin:single:v14
rust:single:std
python314:dev:std
python-pip:single:v14
python-setuptools:single:v14
python-wheel:single:v14
python-build:single:v14
python-installer:single:v14
autoselect-python:single:std
Build and Runtime python314:primary:std
Runtime (only) ravensys-gcc:libs:std (single subpackage)
Download groups
main mirror://PYPI/o/orjson
cr01 mirror://CRATES/associative-cache:2.0.0
cr02 mirror://CRATES/bytecount:0.6.9
cr03 mirror://CRATES/bytes:1.11.0
cr04 mirror://CRATES/cc:1.2.48
cr05 mirror://CRATES/cfg-if:1.0.4
cr06 mirror://CRATES/crunchy:0.2.4
cr07 mirror://CRATES/encoding_rs:0.8.35
cr08 mirror://CRATES/find-msvc-tools:0.1.5
cr09 mirror://CRATES/gimli:0.32.3
cr10 mirror://CRATES/half:2.7.1
cr11 mirror://CRATES/itoa:1.0.15
cr12 mirror://CRATES/itoap:1.0.1
cr13 mirror://CRATES/jiff:0.2.16
cr14 mirror://CRATES/jiff-static:0.2.16
cr15 mirror://CRATES/libc:0.2.178
cr16 mirror://CRATES/memchr:2.7.6
cr17 mirror://CRATES/once_cell:1.21.3
cr18 mirror://CRATES/portable-atomic:1.11.1
cr19 mirror://CRATES/portable-atomic-util:0.2.4
cr20 mirror://CRATES/proc-macro2:1.0.103
cr21 mirror://CRATES/pyo3-build-config:0.27.2
cr22 mirror://CRATES/pyo3-ffi:0.27.2
cr23 mirror://CRATES/quote:1.0.42
cr24 mirror://CRATES/ryu:1.0.20
cr25 mirror://CRATES/serde:1.0.228
cr26 mirror://CRATES/serde_core:1.0.228
cr27 mirror://CRATES/serde_derive:1.0.228
cr28 mirror://CRATES/serde_json:1.0.145
cr29 mirror://CRATES/shlex:1.3.0
cr30 mirror://CRATES/simdutf8:0.1.5
cr31 mirror://CRATES/smallvec:1.15.1
cr32 mirror://CRATES/syn:2.0.111
cr33 mirror://CRATES/target-lexicon:0.13.3
cr34 mirror://CRATES/unicode-ident:1.0.22
cr35 mirror://CRATES/unwinding:0.2.8
cr36 mirror://CRATES/uuid:1.19.0
cr37 mirror://CRATES/version_check:0.9.5
cr38 mirror://CRATES/xxhash-rust:0.8.15
cr39 mirror://CRATES/zerocopy:0.8.31
cr40 mirror://CRATES/zerocopy-derive:0.8.31
Distribution File Information
82393ab47b4fe44ffd0a7659fa9cfaacc717eb617c93cde83795f14af5c2e9d5 5972347 rust/crates/orjson-3.11.5.tar.gz b993cd767a2bc7307dd87622311ca22c44329cc7a21366206bfa0896827b2bad 13960 rust/crates/associative-cache-2.0.0.tar.gz 175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e 18695 rust/crates/bytecount-0.6.9.tar.gz b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3 78391 rust/crates/bytes-1.11.0.tar.gz c481bdbf0ed3b892f6f806287d72acd515b352a4ec27a208489b8c1bc839633a 92458 rust/crates/cc-1.2.48.tar.gz 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 9360 rust/crates/cfg-if-1.0.4.tar.gz 460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5 3887 rust/crates/crunchy-0.2.4.tar.gz 75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3 1381050 rust/crates/encoding_rs-0.8.35.tar.gz 3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844 30942 rust/crates/find-msvc-tools-0.1.5.tar.gz e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7 289789 rust/crates/gimli-0.32.3.tar.gz 6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b 61040 rust/crates/half-2.7.1.tar.gz 4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c 11231 rust/crates/itoa-1.0.15.tar.gz 9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8 83316 rust/crates/itoap-1.0.1.tar.gz 49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35 731814 rust/crates/jiff-0.2.16.tar.gz 980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69 77672 rust/crates/jiff-static-0.2.16.tar.gz 37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091 783720 rust/crates/libc-0.2.178.tar.gz f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273 97616 rust/crates/memchr-2.7.6.tar.gz 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d 34534 rust/crates/once_cell-1.21.3.tar.gz f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483 185506 rust/crates/portable-atomic-1.11.1.tar.gz d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507 47043 rust/crates/portable-atomic-util-0.2.4.tar.gz 5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8 60024 rust/crates/proc-macro2-1.0.103.tar.gz b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6 35564 rust/crates/pyo3-build-config-0.27.2.tar.gz 1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089 78552 rust/crates/pyo3-ffi-0.27.2.tar.gz a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f 31504 rust/crates/quote-1.0.42.tar.gz 28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f 48738 rust/crates/ryu-1.0.20.tar.gz 9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e 83652 rust/crates/serde-1.0.228.tar.gz 41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad 63111 rust/crates/serde_core-1.0.228.tar.gz d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79 59605 rust/crates/serde_derive-1.0.228.tar.gz 402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c 155748 rust/crates/serde_json-1.0.145.tar.gz 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 18713 rust/crates/shlex-1.3.0.tar.gz e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e 28488 rust/crates/simdutf8-0.1.5.tar.gz 67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03 38116 rust/crates/smallvec-1.15.1.tar.gz 390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87 302117 rust/crates/syn-2.0.111.tar.gz df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c 28498 rust/crates/target-lexicon-0.13.3.tar.gz 9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5 47919 rust/crates/unicode-ident-1.0.22.tar.gz 60612c845ef41699f39dc8c5391f252942c0a88b7d15da672eff0d14101bbd6d 27968 rust/crates/unwinding-0.2.8.tar.gz e2e054861b4bd027cd373e18e8d8d8e6548085000e41290d95ce0c373a654b4a 60244 rust/crates/uuid-1.19.0.tar.gz 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a 15554 rust/crates/version_check-0.9.5.tar.gz fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3 21515 rust/crates/xxhash-rust-0.8.15.tar.gz fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3 257633 rust/crates/zerocopy-0.8.31.tar.gz d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a 90835 rust/crates/zerocopy-derive-0.8.31.tar.gz
Ports that require python-orjson:v14
No other ports depend on this one.