jmespath.rs Python binding
Project description
rjmespath-py
jmespath.rs Python binding.
Installation
pip install rjmespath
Usage
import rjmespath
print(rjmespath.search('foo.bar', '{"foo": {"bar": "baz"}}'))
Performance
Running on MacBook Pro (13-inch, M1, 2020, 16GB RAM)
In [1]: import jmespath
In [2]: import rjmespath
In [3]: %timeit jmespath.compile('foo')
436 ns ± 0.478 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
In [4]: %timeit rjmespath.compile('foo')
354 ns ± 0.583 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
In [5]: %timeit jmespath.search('foo.bar', {"foo": {"bar": "baz"}})
2.74 µs ± 10.1 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
In [6]: %timeit rjmespath.search('foo.bar', '{"foo": {"bar": "baz"}}')
1.21 µs ± 12.3 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
License
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rjmespath-0.2.3.tar.gz
(19.8 kB
view hashes)
Built Distributions
rjmespath-0.2.3-cp36-abi3-win32.whl
(227.0 kB
view hashes)
Close
Hashes for rjmespath-0.2.3-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1946b05e0d40b73fde07785e3346e3df75426ca1d56defb5ef4fcc9d89caa3f1 |
|
MD5 | 8c88e88e31045a0e6e1eaa2beaf10eaa |
|
BLAKE2b-256 | e4ecbac606199dc043738a61806beebbce6e8fd360c81afc339c09f32053f31e |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d039a67d138a37cce0deb96c802b3d7e58ca37dd1fbfb69f55e9092d3bcea310 |
|
MD5 | 8a9fff83e2fae2ad8cb72de22481a4df |
|
BLAKE2b-256 | ff7382b493f5ff443781195a9e67ede81b47f36e21a861855c724db33a1fa8c2 |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09f623cf51a8613679f004b8ec27414cb5f07519ebc229783daab847749bd0e8 |
|
MD5 | 89b94dc58c9aef3d54ebfc427f379d20 |
|
BLAKE2b-256 | 0e9bbe8c2463af5f7be90968b05b2e2830fe1bafa9f9842dfbf3d6f6d80204c2 |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f576daa0b8ae2c4950d545886b300f0aa67162bc77f73f7a9886b92664f32723 |
|
MD5 | 71f0747170ad5a14ad73061331656d70 |
|
BLAKE2b-256 | cd5e0b21e675ef21dccd6268824ff52a3ccf5ad3efe565c45d37200bfee3b98e |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d230f6225137e763207b5aadfe9b4081673275ff045a9321e1888438321d29d |
|
MD5 | ffdfde9411df95a163d59b75a99ff08c |
|
BLAKE2b-256 | 689853a9be6655eb2e2d26d7549eb912b694eb8b80131a750f58eab0d02b83d5 |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14c95b8c6c5d072ea9dbb32250726c8ed8dc4cc4a01171f9f44083b7059ebf59 |
|
MD5 | 77c8f935ae2a947408a055590b799170 |
|
BLAKE2b-256 | f74e1b1cd1cde5103c9307cc5951379c472dbb225828b0ef4b0619cd2256d725 |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9786fbfa7a52a360a94c159e648f116e8f9ce65db452e41622410bdd976e6d08 |
|
MD5 | f41c3cfc7b66f43a33c5ad66fce30fe6 |
|
BLAKE2b-256 | 18ac7830b2fb8481de0ded4109411f0945c202da668d332cf42a58c56c5a7a2d |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 171fead51bba9f63decdd18ce37673980af71fc12b6b89969a5b35c1e7061902 |
|
MD5 | d5922c642c481391b7aa55585d95e7fb |
|
BLAKE2b-256 | ced0a32418099f977a9300a9e97f73af2acd7204886c98eb735534dff36d2ea8 |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c53fa9c8ed7268643766cadcc6cb63b8884d026509835226af22d3aaca1330ae |
|
MD5 | 50a604786c1403a353d0c0487de45e10 |
|
BLAKE2b-256 | c076b37356ee438ea42bc200a0d7944be44b608c395c0c136be6835e81978fcc |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf67296f4f9df628a58a9e48019d88a43daf68bff3624278ca6f71c1f85ce658 |
|
MD5 | ac19f56235b17220d1e3d036df69fef4 |
|
BLAKE2b-256 | 4be191455e86e28bb97d0de8788c4f33caab6c5e3809414dc042e36776d21c3f |
Close
Hashes for rjmespath-0.2.3-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd3a19bdf6d22e1863978cc68089fc689d74ff6194984c3b1ae3eb81ef050392 |
|
MD5 | a251e9ccb635493e32e8242d4b999681 |
|
BLAKE2b-256 | 7759adef5018a79a14ac42aadda2025c416aa6667ddd5a938e94c3d922b87400 |