python-orjson
Port variant v13
Summary Fast, correct Python JSON library (3.13)
Package version 3.11.9
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 22 MAY 2026, 14:41:05 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 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) python-maturin:single:v13
rust:single:std
python313:dev:std
python-pip:single:v13
python-setuptools:single:v13
python-wheel:single:v13
python-build:single:v13
python-installer:single:v13
autoselect-python:single:std
Build and Runtime python313: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/bytes:1.11.1
cr04 mirror://CRATES/cc:1.2.61
cr05 mirror://CRATES/cfg-if:1.0.4
cr06 mirror://CRATES/encoding_rs:0.8.35
cr07 mirror://CRATES/find-msvc-tools:0.1.9
cr08 mirror://CRATES/gimli:0.32.3
cr09 mirror://CRATES/itoa:1.0.18
cr10 mirror://CRATES/itoap:1.0.1
cr11 mirror://CRATES/jiff:0.2.24
cr12 mirror://CRATES/jiff-static:0.2.24
cr13 mirror://CRATES/libc:0.2.186
cr14 mirror://CRATES/memchr:2.8.0
cr15 mirror://CRATES/no-panic:0.1.36
cr16 mirror://CRATES/once_cell:1.21.4
cr17 mirror://CRATES/portable-atomic:1.13.1
cr18 mirror://CRATES/portable-atomic-util:0.2.7
cr19 mirror://CRATES/proc-macro2:1.0.106
cr20 mirror://CRATES/pyo3-build-config:0.28.3
cr21 mirror://CRATES/pyo3-ffi:0.28.3
cr22 mirror://CRATES/quote:1.0.45
cr23 mirror://CRATES/serde:1.0.228
cr24 mirror://CRATES/serde_core:1.0.228
cr25 mirror://CRATES/serde_derive:1.0.228
cr26 mirror://CRATES/serde_json:1.0.149
cr27 mirror://CRATES/shlex:1.3.0
cr28 mirror://CRATES/simdutf8:0.1.5
cr29 mirror://CRATES/syn:2.0.117
cr30 mirror://CRATES/target-lexicon:0.13.5
cr31 mirror://CRATES/unicode-ident:1.0.24
cr32 mirror://CRATES/unwinding:0.2.8
cr33 mirror://CRATES/xxhash-rust:0.8.15
cr34 mirror://CRATES/zmij:1.0.21
Distribution File Information
4fef17e1f8722c11587a6ef18e35902450221da0028e65dbaaa543619e68e48f 5599163 rust/crates/orjson-3.11.9.tar.gz 138b4febdc7d0135523c55358c97361fd45089bc65fe859ef21a58d0892deb00 21494 rust/crates/associative-cache-3.0.1.tar.gz 175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e 18695 rust/crates/bytecount-0.6.9.tar.gz 1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33 78584 rust/crates/bytes-1.11.1.tar.gz d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d 97163 rust/crates/cc-1.2.61.tar.gz 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 9360 rust/crates/cfg-if-1.0.4.tar.gz 75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3 1381050 rust/crates/encoding_rs-0.8.35.tar.gz 5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582 31493 rust/crates/find-msvc-tools-0.1.9.tar.gz e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7 289789 rust/crates/gimli-0.32.3.tar.gz 8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682 15935 rust/crates/itoa-1.0.18.tar.gz 9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8 83316 rust/crates/itoap-1.0.1.tar.gz f00b5dbd620d61dfdcb6007c9c1f6054ebd75319f163d886a9055cec1155073d 760237 rust/crates/jiff-0.2.24.tar.gz e000de030ff8022ea1da3f466fbb0f3a809f5e51ed31f6dd931c35181ad8e6d7 83747 rust/crates/jiff-static-0.2.24.tar.gz 68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66 821883 rust/crates/libc-0.2.186.tar.gz f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79 97780 rust/crates/memchr-2.8.0.tar.gz f967505aabc8af5752d098c34146544a43684817cdba8f9725b292530cabbf53 15056 rust/crates/no-panic-0.1.36.tar.gz 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 35010 rust/crates/once_cell-1.21.4.tar.gz c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 197001 rust/crates/portable-atomic-1.13.1.tar.gz c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618 53577 rust/crates/portable-atomic-util-0.2.7.tar.gz 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 59765 rust/crates/proc-macro2-1.0.106.tar.gz e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e 35961 rust/crates/pyo3-build-config-0.28.3.tar.gz 7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e 80881 rust/crates/pyo3-ffi-0.28.3.tar.gz 41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924 31564 rust/crates/quote-1.0.45.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 83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86 155994 rust/crates/serde_json-1.0.149.tar.gz 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 18713 rust/crates/shlex-1.3.0.tar.gz e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e 28488 rust/crates/simdutf8-0.1.5.tar.gz e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 306011 rust/crates/syn-2.0.117.tar.gz adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca 26928 rust/crates/target-lexicon-0.13.5.tar.gz e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 49298 rust/crates/unicode-ident-1.0.24.tar.gz 60612c845ef41699f39dc8c5391f252942c0a88b7d15da672eff0d14101bbd6d 27968 rust/crates/unwinding-0.2.8.tar.gz fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3 21515 rust/crates/xxhash-rust-0.8.15.tar.gz b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa 26665 rust/crates/zmij-1.0.21.tar.gz
Ports that require python-orjson:v13
No other ports depend on this one.