python-orjson
Port variant py310
Summary Fast, correct Python JSON library (3.10)
Package version 3.9.7
Homepage https://github.com/ijl/orjson
Keywords python, rust
Maintainer Python Automaton
License Not yet specified
Other variants v11
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 10 SEP 2023, 21:15:40 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)
PY310 ON Build using Python 3.10 PY311 OFF Build using Python 3.11
Package Dependencies by Type
Build (only) python-setuptools-rust:single:py310
python-maturin:single:py310
python-pip:single:py310
rust:single:standard
autoselect-python:single:standard
Build and Runtime python310:single:standard
Runtime (only) ravensys-gcc:libs:standard (single subpackage)
Download groups
main mirror://PYPI/o/orjson
cr01 mirror://CRATES/ahash:0.8.3
cr02 mirror://CRATES/arrayvec:0.7.4
cr03 mirror://CRATES/associative-cache:1.0.1
cr04 mirror://CRATES/autocfg:1.1.0
cr05 mirror://CRATES/beef:0.5.2
cr06 mirror://CRATES/bytecount:0.6.3
cr07 mirror://CRATES/castaway:0.2.2
cr08 mirror://CRATES/cc:1.0.83
cr09 mirror://CRATES/cfg-if:1.0.0
cr10 mirror://CRATES/chrono:0.4.30
cr11 mirror://CRATES/compact_str:0.7.1
cr12 mirror://CRATES/encoding_rs:0.8.33
cr13 mirror://CRATES/itoa:1.0.9
cr14 mirror://CRATES/itoap:1.0.1
cr15 mirror://CRATES/libc:0.2.147
cr16 mirror://CRATES/libm:0.1.4
cr17 mirror://CRATES/libm:0.2.7
cr18 mirror://CRATES/no-panic:0.1.26
cr19 mirror://CRATES/num-traits:0.2.16
cr20 mirror://CRATES/once_cell:1.18.0
cr21 mirror://CRATES/packed_simd:0.3.9
cr22 mirror://CRATES/packed_simd_2:0.3.8
cr23 mirror://CRATES/proc-macro2:1.0.66
cr24 mirror://CRATES/pyo3-build-config:0.19.2
cr25 mirror://CRATES/pyo3-ffi:0.19.2
cr26 mirror://CRATES/quote:1.0.33
cr27 mirror://CRATES/rustversion:1.0.14
cr28 mirror://CRATES/ryu:1.0.15
cr29 mirror://CRATES/serde:1.0.188
cr30 mirror://CRATES/serde_derive:1.0.188
cr31 mirror://CRATES/serde_json:1.0.105
cr32 mirror://CRATES/simdutf8:0.1.4
cr33 mirror://CRATES/smallvec:1.11.0
cr34 mirror://CRATES/static_assertions:1.1.0
cr35 mirror://CRATES/syn:2.0.31
cr36 mirror://CRATES/target-lexicon:0.12.11
cr37 mirror://CRATES/unicode-ident:1.0.11
cr38 mirror://CRATES/version_check:0.9.4
Distribution File Information
85e39198f78e2f7e054d296395f6c96f5e02892337746ef5b6a1bf3ed5910142 4895035 rust/crates/orjson-3.9.7.tar.gz 2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f 42416 rust/crates/ahash-0.8.3.tar.gz 96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711 29856 rust/crates/arrayvec-0.7.4.tar.gz 46016233fc1bb55c23b856fe556b7db6ccd05119a0a392e04f0b3b7c79058f16 14048 rust/crates/associative-cache-1.0.1.tar.gz d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa 13272 rust/crates/autocfg-1.1.0.tar.gz 3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1 15275 rust/crates/beef-0.5.2.tar.gz 2c676a478f63e9fa2dd5368a42f28bba0d6c560b775f38583c8bbaa7fcd67c9c 12416 rust/crates/bytecount-0.6.3.tar.gz 8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc 11091 rust/crates/castaway-0.2.2.tar.gz f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0 68343 rust/crates/cc-1.0.83.tar.gz baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd 7934 rust/crates/cfg-if-1.0.0.tar.gz defd4e7873dbddba6c7c91e199c7fcb946abc4a6a4ac3195400bcfb01b5de877 212084 rust/crates/chrono-0.4.30.tar.gz f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f 57246 rust/crates/compact_str-0.7.1.tar.gz 7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1 1370071 rust/crates/encoding_rs-0.8.33.tar.gz af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38 10492 rust/crates/itoa-1.0.9.tar.gz 9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8 83316 rust/crates/itoap-1.0.1.tar.gz b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3 686772 rust/crates/libc-0.2.147.tar.gz 7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a 110593 rust/crates/libm-0.1.4.tar.gz f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4 115688 rust/crates/libm-0.2.7.tar.gz 71a6d126424f5ce0bb4587ff4561421d44aeede520541cc66f1bb912506ae46a 11551 rust/crates/no-panic-0.1.26.tar.gz f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2 50130 rust/crates/num-traits-0.2.16.tar.gz dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d 32969 rust/crates/once_cell-1.18.0.tar.gz 1f9f08af0c877571712e2e3e686ad79efad9657dbf0f7c3c8ba943ff6c38932d 98340 rust/crates/packed_simd-0.3.9.tar.gz a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282 97388 rust/crates/packed_simd_2-0.3.8.tar.gz 18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9 43575 rust/crates/proc-macro2-1.0.66.tar.gz 076c73d0bc438f7a4ef6fdd0c3bb4732149136abd952b110ac93e4edb13a6ba5 29206 rust/crates/pyo3-build-config-0.19.2.tar.gz e53cee42e77ebe256066ba8aa77eff722b3bb91f3419177cf4cd0f304d3284d9 66500 rust/crates/pyo3-ffi-0.19.2.tar.gz 5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae 28090 rust/crates/quote-1.0.33.tar.gz 7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4 17261 rust/crates/rustversion-1.0.14.tar.gz 1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741 46906 rust/crates/ryu-1.0.15.tar.gz cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e 76230 rust/crates/serde-1.0.188.tar.gz 4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2 55563 rust/crates/serde_derive-1.0.188.tar.gz 693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360 146316 rust/crates/serde_json-1.0.105.tar.gz f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a 28621 rust/crates/simdutf8-0.1.4.tar.gz 62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9 34680 rust/crates/smallvec-1.11.0.tar.gz a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f 18480 rust/crates/static_assertions-1.1.0.tar.gz 718fa2415bcb8d8bd775917a1bf12a7931b6dfa890753378538118181e0cb398 242369 rust/crates/syn-2.0.31.tar.gz 9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a 24594 rust/crates/target-lexicon-0.12.11.tar.gz 301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c 42067 rust/crates/unicode-ident-1.0.11.tar.gz 49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f 14895 rust/crates/version_check-0.9.4.tar.gz
Ports that require python-orjson:py310
No other ports depend on this one.