python-rpds-py
Port variant py310
Summary Bindings to Rust persistent data structures (3.10)
Package version 0.10.3
Homepage https://github.com/crate-py/rpds
Keywords python
Maintainer Python Automaton
License MIT
Other variants v11
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 22 SEP 2023, 22:57:13 UTC
Port created 07 JUL 2023, 18:56:52 UTC
Subpackage Descriptions
single =========== ``rpds.py`` =========== |PyPI| |Pythons| |CI| Python bindings to the Rust rpds crate. What's here is quite minimal (in transparency, it was written initially to support replacing pyrsistent in the [referencing library]). If you see something missing (which is very likely), a PR is definitely welcome to add it. Installation ------------ The distribution on PyPI is named ``rpds.py`` (equivalently ``rpds-py``), and thus can be installed via e.g.: .. code:: sh $ pip install rpds-py Note that if you install ``rpds-py`` from source, you will need a Rust toolchain installed, as it is a build-time dependency. An example of how to do so in a Dockerfile can be found [here]. If you believe you are on a common platform which should have wheels built (i.e. and not need to compile from source), feel free to file an issue or pull request modifying the GitHub action used here to build wheels via maturin. Usage ----- Methods in general are named similarly to their rpds counterparts (rather than pyrsistent\ 's conventions, though probably a full drop-in pyrsistent\ -compatible wrapper module is a good addition at some point). .. code:: python >>> from rpds import HashTrieMap, HashTrieSet, List >>> m = HashTrieMap({"foo": "bar", "baz": "quux"}) >>> m.insert("spam", 37) == HashTrieMap({"foo": "bar", "baz": "quux", "spam": 37}) True >>> m.remove("foo") == HashTrieMap({"baz": "quux"}) True >>> s = HashTrieSet({"foo", "bar", "baz", "quux"}) >>> s.insert("spam") == HashTrieSet({"foo", "bar", "baz", "quux", "spam"}) True >>> s.remove("foo") == HashTrieSet({"bar", "baz", "quux"}) True >>> L = List([1, 3, 5]) >>> L.push_front(-1) == List([-1, 1, 3, 5]) True >>> L.rest == List([3, 5]) True
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) rust:single:standard
python-maturin:single:py310
python-pip:single:py310
autoselect-python:single:standard
Build and Runtime python310:single:standard
Runtime (only) ravensys-gcc:libs:standard (single subpackage)
Download groups
main mirror://PYPI/r/rpds-py
cr01 mirror://CRATES/archery:1.0.0
cr02 mirror://CRATES/autocfg:1.1.0
cr03 mirror://CRATES/bitflags:1.3.2
cr04 mirror://CRATES/cfg-if:1.0.0
cr05 mirror://CRATES/indoc:1.0.9
cr06 mirror://CRATES/libc:0.2.147
cr07 mirror://CRATES/lock_api:0.4.10
cr08 mirror://CRATES/memoffset:0.9.0
cr09 mirror://CRATES/once_cell:1.18.0
cr10 mirror://CRATES/parking_lot:0.12.1
cr11 mirror://CRATES/parking_lot_core:0.9.8
cr12 mirror://CRATES/proc-macro2:1.0.66
cr13 mirror://CRATES/pyo3:0.19.2
cr14 mirror://CRATES/pyo3-build-config:0.19.2
cr15 mirror://CRATES/pyo3-ffi:0.19.2
cr16 mirror://CRATES/pyo3-macros:0.19.2
cr17 mirror://CRATES/pyo3-macros-backend:0.19.2
cr18 mirror://CRATES/quote:1.0.31
cr19 mirror://CRATES/redox_syscall:0.3.5
cr20 mirror://CRATES/rpds:1.0.1
cr21 mirror://CRATES/scopeguard:1.1.0
cr22 mirror://CRATES/smallvec:1.11.0
cr23 mirror://CRATES/static_assertions:1.1.0
cr24 mirror://CRATES/syn:1.0.109
cr25 mirror://CRATES/target-lexicon:0.12.9
cr26 mirror://CRATES/unicode-ident:1.0.11
cr27 mirror://CRATES/unindent:0.1.11
cr28 mirror://CRATES/windows-targets:0.48.1
cr29 mirror://CRATES/windows_aarch64_gnullvm:0.48.0
cr30 mirror://CRATES/windows_aarch64_msvc:0.48.0
cr31 mirror://CRATES/windows_i686_gnu:0.48.0
cr32 mirror://CRATES/windows_i686_msvc:0.48.0
cr33 mirror://CRATES/windows_x86_64_gnu:0.48.0
cr34 mirror://CRATES/windows_x86_64_gnullvm:0.48.0
cr35 mirror://CRATES/windows_x86_64_msvc:0.48.0
Distribution File Information
fcc1ebb7561a3e24a6588f7c6ded15d80aec22c66a070c757559b57b17ffd1cb 17164 rust/crates/rpds_py-0.10.3.tar.gz ab7d8a6d00b222909638a01ddcc8c533219e9d5bfada1613afae43481f2fc699 21187 rust/crates/archery-1.0.0.tar.gz d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa 13272 rust/crates/autocfg-1.1.0.tar.gz bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a 23021 rust/crates/bitflags-1.3.2.tar.gz baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd 7934 rust/crates/cfg-if-1.0.0.tar.gz bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306 13475 rust/crates/indoc-1.0.9.tar.gz b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3 686772 rust/crates/libc-0.2.147.tar.gz c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16 26713 rust/crates/lock_api-0.4.10.tar.gz 5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c 9033 rust/crates/memoffset-0.9.0.tar.gz dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d 32969 rust/crates/once_cell-1.18.0.tar.gz 3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f 40967 rust/crates/parking_lot-0.12.1.tar.gz 93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447 32383 rust/crates/parking_lot_core-0.9.8.tar.gz 18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9 43575 rust/crates/proc-macro2-1.0.66.tar.gz e681a6cfdc4adcc93b4d3cf993749a4552018ee0a9b65fc0ccfad74352c72a38 418228 rust/crates/pyo3-0.19.2.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 dfeb4c99597e136528c6dd7d5e3de5434d1ceaf487436a3f03b2d56b6fc9efd1 7173 rust/crates/pyo3-macros-0.19.2.tar.gz 947dc12175c254889edc0c02e399476c2f652b4b9ebd123aa655c224de259536 49962 rust/crates/pyo3-macros-backend-0.19.2.tar.gz 5fe8a65d69dd0808184ebb5f836ab526bb259db23c657efa38711b1072ee47f0 27881 rust/crates/quote-1.0.31.tar.gz 567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29 23404 rust/crates/redox_syscall-0.3.5.tar.gz 99334e9410cf4d16241bb88b27bc282e140327a4c4759be76f8a96e6d0cd0f35 69049 rust/crates/rpds-1.0.1.tar.gz d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd 11470 rust/crates/scopeguard-1.1.0.tar.gz 62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9 34680 rust/crates/smallvec-1.11.0.tar.gz a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f 18480 rust/crates/static_assertions-1.1.0.tar.gz 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237 237611 rust/crates/syn-1.0.109.tar.gz df8e77cb757a61f51b947ec4a7e3646efd825b73561db1c232a8ccb639e611a0 24532 rust/crates/target-lexicon-0.12.9.tar.gz 301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c 42067 rust/crates/unicode-ident-1.0.11.tar.gz e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c 7700 rust/crates/unindent-0.1.11.tar.gz 05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f 6902 rust/crates/windows-targets-0.48.1.tar.gz 91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc 366543 rust/crates/windows_aarch64_gnullvm-0.48.0.tar.gz b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3 671479 rust/crates/windows_aarch64_msvc-0.48.0.tar.gz 622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241 741490 rust/crates/windows_i686_gnu-0.48.0.tar.gz 4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00 730056 rust/crates/windows_i686_msvc-0.48.0.tar.gz ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1 703595 rust/crates/windows_x86_64_gnu-0.48.0.tar.gz 7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953 366536 rust/crates/windows_x86_64_gnullvm-0.48.0.tar.gz 1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a 671422 rust/crates/windows_x86_64_msvc-0.48.0.tar.gz
Ports that require python-rpds-py:py310
python-jsonschema:py310 Alternate implementation of JSON Schema (3.10)
python-referencing:py310 JSON Referencing + Python (3.10)