python-orjson
Port variant v15
Summary Fast, correct Python JSON library (3.15)
Package version 3.13.0
Homepage https://github.com/ijl/orjson
Keywords python, rust
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 13 NOV 2026, 13:25:52 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)
PY314 OFF Build using Python 3.14 PY315 ON Build using Python 3.15
Package Dependencies by Type
Build (only) python-maturin:single:v15
rust:single:std
python315:dev:std
python-pip:single:v15
python-setuptools:single:v15
python-wheel:single:v15
python-build:single:v15
python-installer:single:v15
autoselect-python:single:std
Build and Runtime python315:primary:std
Runtime (only) ravensys-gcc:libs:std (single subpackage)
Download groups
main mirror://PYPI/o/orjson
cr01 mirror://CRATES/associative-cache:3.0.1
cr02 mirror://CRATES/bytecount:0.6.9
cr03 mirror://CRATES/cc:1.6.0
cr04 mirror://CRATES/find-msvc-tools:0.1.14
cr05 mirror://CRATES/gimli:0.34.0
cr06 mirror://CRATES/itoap:1.0.1
cr07 mirror://CRATES/jiff-core:0.1.1
cr08 mirror://CRATES/libc:0.2.190
cr09 mirror://CRATES/no-panic:0.1.37
cr10 mirror://CRATES/once_cell:1.21.4
cr11 mirror://CRATES/proc-macro2:1.0.107
cr12 mirror://CRATES/pyo3-build-config:0.29.3
cr13 mirror://CRATES/pyo3-ffi:0.29.3
cr14 mirror://CRATES/quote:1.0.47
cr15 mirror://CRATES/shlex:2.0.1
cr16 mirror://CRATES/simdutf8:0.1.5
cr17 mirror://CRATES/syn:3.0.6
cr18 mirror://CRATES/target-lexicon:0.13.5
cr19 mirror://CRATES/unicode-ident:1.0.26
cr20 mirror://CRATES/unwinding:0.2.10
cr21 mirror://CRATES/xxhash-rust:0.8.19
cr22 mirror://CRATES/zmij:1.0.23
Distribution File Information
d1de5eb04485110c5da4c657e49168995d55e076b1ce60f1a042e254f4186c4f 2732604 rust/crates/orjson-3.13.0.tar.gz 138b4febdc7d0135523c55358c97361fd45089bc65fe859ef21a58d0892deb00 21494 rust/crates/associative-cache-3.0.1.tar.gz 175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e 18695 rust/crates/bytecount-0.6.9.tar.gz f74872d07caf508b30a21f6836e7d7016a2eaf7d9ff4f48deaa58cd8a0407630 116280 rust/crates/cc-1.6.0.tar.gz aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484 31390 rust/crates/find-msvc-tools-0.1.14.tar.gz 1033caf0b349c518623b5396bfb2cf0bddf44f0306d543a250e5743297aafd10 335386 rust/crates/gimli-0.34.0.tar.gz 9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8 83316 rust/crates/itoap-1.0.1.tar.gz 5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c 129192 rust/crates/jiff-core-0.1.1.tar.gz ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78 853678 rust/crates/libc-0.2.190.tar.gz fc80370b4544f28ffa317e3c3474ee3ecbfe269196c01ae657d9f837a7d944a1 15125 rust/crates/no-panic-0.1.37.tar.gz 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 35010 rust/crates/once_cell-1.21.4.tar.gz 985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9 59588 rust/crates/proc-macro2-1.0.107.tar.gz 7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb 41138 rust/crates/pyo3-build-config-0.29.3.tar.gz dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330 91291 rust/crates/pyo3-ffi-0.29.3.tar.gz 1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001 31622 rust/crates/quote-1.0.47.tar.gz f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba 19332 rust/crates/shlex-2.0.1.tar.gz e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e 28488 rust/crates/simdutf8-0.1.5.tar.gz 8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee 313821 rust/crates/syn-3.0.6.tar.gz adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca 26928 rust/crates/target-lexicon-0.13.5.tar.gz d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954 48425 rust/crates/unicode-ident-1.0.26.tar.gz 4b134ada16dda9e435abe2a6d76a01d497bc60707357845a15f9b0ed42dc88ce 29566 rust/crates/unwinding-0.2.10.tar.gz 550a2b930b62486a393c52d5c3b84bff264b28aa437ed64694d31e93b1757af7 23487 rust/crates/xxhash-rust-0.8.19.tar.gz 29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b 28612 rust/crates/zmij-1.0.23.tar.gz
Ports that require python-orjson:v15
No other ports depend on this one.