python-orjson
Port variant v11
Summary Fast, correct Python JSON library (3.11)
Package version 3.10.0
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 02 APR 2024, 23:04:22 UTC
Port created 07 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:standard
autoselect-python:single:standard
Build and Runtime python311:single:standard
Runtime (only) ravensys-gcc:libs:standard (single subpackage)
Download groups
main mirror://PYPI/o/orjson
cr01 mirror://CRATES/ahash:0.8.11
cr02 mirror://CRATES/arrayvec:0.7.4
cr03 mirror://CRATES/associative-cache:2.0.0
cr04 mirror://CRATES/autocfg:1.2.0
cr05 mirror://CRATES/beef:0.5.2
cr06 mirror://CRATES/bytecount:0.6.7
cr07 mirror://CRATES/castaway:0.2.2
cr08 mirror://CRATES/cc:1.0.90
cr09 mirror://CRATES/cfg-if:1.0.0
cr10 mirror://CRATES/chrono:0.4.34
cr11 mirror://CRATES/compact_str:0.7.1
cr12 mirror://CRATES/const-random:0.1.18
cr13 mirror://CRATES/const-random-macro:0.1.16
cr14 mirror://CRATES/crunchy:0.2.2
cr15 mirror://CRATES/encoding_rs:0.8.33
cr16 mirror://CRATES/getrandom:0.2.12
cr17 mirror://CRATES/half:2.4.0
cr18 mirror://CRATES/itoa:1.0.11
cr19 mirror://CRATES/itoap:1.0.1
cr20 mirror://CRATES/libc:0.2.153
cr21 mirror://CRATES/no-panic:0.1.29
cr22 mirror://CRATES/num-traits:0.2.18
cr23 mirror://CRATES/once_cell:1.19.0
cr24 mirror://CRATES/proc-macro2:1.0.79
cr25 mirror://CRATES/pyo3-build-config:0.21.0
cr26 mirror://CRATES/pyo3-ffi:0.21.0
cr27 mirror://CRATES/quote:1.0.35
cr28 mirror://CRATES/rustversion:1.0.14
cr29 mirror://CRATES/ryu:1.0.17
cr30 mirror://CRATES/serde:1.0.197
cr31 mirror://CRATES/serde_derive:1.0.197
cr32 mirror://CRATES/serde_json:1.0.115
cr33 mirror://CRATES/simdutf8:0.1.4
cr34 mirror://CRATES/smallvec:1.13.2
cr35 mirror://CRATES/static_assertions:1.1.0
cr36 mirror://CRATES/syn:2.0.55
cr37 mirror://CRATES/target-lexicon:0.12.14
cr38 mirror://CRATES/tiny-keccak:2.0.2
cr39 mirror://CRATES/unicode-ident:1.0.12
cr40 mirror://CRATES/version_check:0.9.4
cr41 mirror://CRATES/wasi:0.11.0+wasi-snapshot-preview1
cr42 mirror://CRATES/zerocopy:0.7.32
cr43 mirror://CRATES/zerocopy-derive:0.7.32
Distribution File Information
ba4d8cac5f2e2cff36bea6b6481cdb92b38c202bcec603d6f5ff91960595a1ed 4912978 rust/crates/orjson-3.10.0.tar.gz e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011 43607 rust/crates/ahash-0.8.11.tar.gz 96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711 29856 rust/crates/arrayvec-0.7.4.tar.gz b993cd767a2bc7307dd87622311ca22c44329cc7a21366206bfa0896827b2bad 13960 rust/crates/associative-cache-2.0.0.tar.gz f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80 14808 rust/crates/autocfg-1.2.0.tar.gz 3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1 15275 rust/crates/beef-0.5.2.tar.gz e1e5f035d16fc623ae5f74981db80a439803888314e3a555fd6f04acd51a3205 14642 rust/crates/bytecount-0.6.7.tar.gz 8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc 11091 rust/crates/castaway-0.2.2.tar.gz 8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5 73954 rust/crates/cc-1.0.90.tar.gz baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd 7934 rust/crates/cfg-if-1.0.0.tar.gz 5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b 228932 rust/crates/chrono-0.4.34.tar.gz f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f 57246 rust/crates/compact_str-0.7.1.tar.gz 87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359 6646 rust/crates/const-random-0.1.18.tar.gz f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e 6657 rust/crates/const-random-macro-0.1.16.tar.gz 7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7 2995 rust/crates/crunchy-0.2.2.tar.gz 7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1 1370071 rust/crates/encoding_rs-0.8.33.tar.gz 190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5 36163 rust/crates/getrandom-0.2.12.tar.gz b5eceaaeec696539ddaf7b333340f1af35a5aa87ae3e4f3ead0532f72affab2e 50666 rust/crates/half-2.4.0.tar.gz 49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b 10563 rust/crates/itoa-1.0.11.tar.gz 9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8 83316 rust/crates/itoap-1.0.1.tar.gz 9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd 740614 rust/crates/libc-0.2.153.tar.gz c711522eedec2a96bb3672ad60a03561cb28934ab1e9b97d2ecb58e07c79ef52 11689 rust/crates/no-panic-0.1.29.tar.gz da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a 51930 rust/crates/num-traits-0.2.18.tar.gz 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92 33046 rust/crates/once_cell-1.19.0.tar.gz e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e 47200 rust/crates/proc-macro2-1.0.79.tar.gz a5eb0b6ecba38961f6f4bd6cd5906dfab3cd426ff37b2eed5771006aa31656f1 30535 rust/crates/pyo3-build-config-0.21.0.tar.gz ba8a6e48a29b5d22e4fdaf132d8ba8d3203ee9f06362d48f244346902a594ec3 66158 rust/crates/pyo3-ffi-0.21.0.tar.gz 291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef 28136 rust/crates/quote-1.0.35.tar.gz 7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4 17261 rust/crates/rustversion-1.0.14.tar.gz e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1 47537 rust/crates/ryu-1.0.17.tar.gz 3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2 77087 rust/crates/serde-1.0.197.tar.gz 7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b 55771 rust/crates/serde_derive-1.0.197.tar.gz 12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd 147100 rust/crates/serde_json-1.0.115.tar.gz f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a 28621 rust/crates/simdutf8-0.1.4.tar.gz 3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67 35216 rust/crates/smallvec-1.13.2.tar.gz a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f 18480 rust/crates/static_assertions-1.1.0.tar.gz 002a1b3dbf967edfafc32655d0f377ab0bb7b994aa1d32c8cc7e9b8bf3ebb8f0 254901 rust/crates/syn-2.0.55.tar.gz e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f 25508 rust/crates/target-lexicon-0.12.14.tar.gz 2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237 20129 rust/crates/tiny-keccak-2.0.2.tar.gz 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b 42168 rust/crates/unicode-ident-1.0.12.tar.gz 49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f 14895 rust/crates/version_check-0.9.4.tar.gz 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423 28131 rust/crates/wasi-0.11.0+wasi-snapshot-preview1.tar.gz 74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be 151096 rust/crates/zerocopy-0.7.32.tar.gz 9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6 37623 rust/crates/zerocopy-derive-0.7.32.tar.gz
Ports that require python-orjson:v11
No other ports depend on this one.