python-orjson
Port variant v12
Summary Fast, correct Python JSON library (3.12)
BROKEN
Package version 3.10.12
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 07 DEC 2024, 23:30:33 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)
PY312 ON Build using Python 3.12 PY313 OFF Build using Python 3.13
Package Dependencies by Type
Build (only) python-setuptools-rust:single:v12
python-maturin:single:v12
python-pip:single:v12
rust:single:std
python312:dev:std
autoselect-python:single:std
Build and Runtime python312: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.8
cr03 mirror://CRATES/castaway:0.2.3
cr04 mirror://CRATES/cc:1.2.1
cr05 mirror://CRATES/cfg-if:1.0.0
cr06 mirror://CRATES/compact_str:0.8.0
cr07 mirror://CRATES/crunchy:0.2.2
cr08 mirror://CRATES/encoding_rs:0.8.35
cr09 mirror://CRATES/gimli:0.31.1
cr10 mirror://CRATES/half:2.4.1
cr11 mirror://CRATES/itoa:1.0.13
cr12 mirror://CRATES/itoap:1.0.1
cr13 mirror://CRATES/jiff:0.1.14
cr14 mirror://CRATES/libc:0.2.164
cr15 mirror://CRATES/memchr:2.7.4
cr16 mirror://CRATES/once_cell:1.20.2
cr17 mirror://CRATES/proc-macro2:1.0.92
cr18 mirror://CRATES/quote:1.0.37
cr19 mirror://CRATES/rustversion:1.0.18
cr20 mirror://CRATES/ryu:1.0.18
cr21 mirror://CRATES/serde:1.0.215
cr22 mirror://CRATES/serde_derive:1.0.215
cr23 mirror://CRATES/serde_json:1.0.133
cr24 mirror://CRATES/shlex:1.3.0
cr25 mirror://CRATES/simdutf8:0.1.5
cr26 mirror://CRATES/smallvec:1.13.2
cr27 mirror://CRATES/static_assertions:1.1.0
cr28 mirror://CRATES/syn:2.0.89
cr29 mirror://CRATES/target-lexicon:0.12.16
cr30 mirror://CRATES/unicode-ident:1.0.14
cr31 mirror://CRATES/unwinding:0.2.4
cr32 mirror://CRATES/uuid:1.11.0
cr33 mirror://CRATES/version_check:0.9.5
cr34 mirror://CRATES/xxhash-rust:0.8.12
Distribution File Information
0a78bbda3aea0f9f079057ee1ee8a1ecf790d4f1af88dd67493c6b8ee52506ff 5438647 rust/crates/orjson-3.10.12.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 fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47 92731 rust/crates/cc-1.2.1.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 75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3 1381050 rust/crates/encoding_rs-0.8.35.tar.gz 07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f 279515 rust/crates/gimli-0.31.1.tar.gz 6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888 50892 rust/crates/half-2.4.1.tar.gz 540654e97a3f4470a492cd30ff187bc95d89557a903a2bbf112e2fae98104ef2 11188 rust/crates/itoa-1.0.13.tar.gz 9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8 83316 rust/crates/itoap-1.0.1.tar.gz b9d9d414fc817d3e3d62b2598616733f76c4cc74fbac96069674739b881295c8 605138 rust/crates/jiff-0.1.14.tar.gz 433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f 769055 rust/crates/libc-0.2.164.tar.gz 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3 96670 rust/crates/memchr-2.7.4.tar.gz 1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775 33394 rust/crates/once_cell-1.20.2.tar.gz 37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0 52353 rust/crates/proc-macro2-1.0.92.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 6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f 78527 rust/crates/serde-1.0.215.tar.gz ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0 57092 rust/crates/serde_derive-1.0.215.tar.gz c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377 150739 rust/crates/serde_json-1.0.133.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 44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e 289852 rust/crates/syn-2.0.89.tar.gz 61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1 26488 rust/crates/target-lexicon-0.12.16.tar.gz adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83 47547 rust/crates/unicode-ident-1.0.14.tar.gz e2c6cb20f236dae10c69b0b45d82ef50af8b7e45c10e429e7901d26b49b4dbf3 27931 rust/crates/unwinding-0.2.4.tar.gz f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a 47683 rust/crates/uuid-1.11.0.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:v12
No other ports depend on this one.