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
Built Distributions
File details
Details for the file rjmespath-0.2.5.tar.gz
.
File metadata
- Download URL: rjmespath-0.2.5.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7d671e8f08e37352519fd02038b7c7e35cba418f2de9acc2f0c96aab84108e |
|
MD5 | e7c9b37c590fe3eb512b27f68e7494da |
|
BLAKE2b-256 | 3db5a93d49299b8dac6e822f9a3046041a6c8b7c6b1037f4c4ec7ace659f1266 |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-win_amd64.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-win_amd64.whl
- Upload date:
- Size: 246.6 kB
- Tags: CPython 3.6+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f6f7a684190de806b329693545ac647617399cbfdcf5e7b9d558c4d141d4d9 |
|
MD5 | c3fb10732cb550b31236731c2b0afad6 |
|
BLAKE2b-256 | 3bb19c9f554d9be0fa92379c249173cf0d34b6bdc97a123c33c5c25658f64930 |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-win32.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-win32.whl
- Upload date:
- Size: 233.3 kB
- Tags: CPython 3.6+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89305135d38cb03e0eb38e80bcd5d9188803b5f8cb9ec99f57f9ac0a5580d73b |
|
MD5 | 31bfd6ffe9ac2f3f68680485346c2ebc |
|
BLAKE2b-256 | 9954fcf8be2bcef2934109069abc341d05f3950705848468a4cae269ab14c88c |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34c6a3e68fced78282b96c9bf107afb55098d0f46314808c1d2f0602c6e1f9f5 |
|
MD5 | f19062fae306fb1596a97d5ff21843f1 |
|
BLAKE2b-256 | 5aea8f32ecb329bf1da2f368d0b3b759ec69ecba9eda8e9f42506fb7fdc5d181 |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e13ca848aa6fa0a41e2cf8e21d2345d2a70b7be4bd0cd5f6b5ac711206cb267b |
|
MD5 | 876a0f4ee8154db39036bc4acb1cd40b |
|
BLAKE2b-256 | cad7e0e995d7e92b66a29ccc272f346d88a7365a262742ac0b2305ea6dfb7fd9 |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ppc64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaa2892ad74322b92c4980f92c5997a65e96664ad1bda2742c9750348aa15c6b |
|
MD5 | 5d2dcedbcb63913c849af61aa2c5fdb5 |
|
BLAKE2b-256 | 721836d59e975b2401896d4b390839dd5e02039eeda22754fb13a11d409c64d9 |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 290845d70aee5a1d64cdf8ff8a0c09b610017f422be5cf31126ef9afcce286ea |
|
MD5 | 3454bef124eca316280aaf38e53eca43 |
|
BLAKE2b-256 | 8ba6caa04894e952b71cc13e534435749f232533549b167e51b52ac0f2ae78d9 |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7bcf46ff1f87115728723931d5201784bffd492f0f1710674f3530de24de5fd |
|
MD5 | 9f099058427d7b6690e44706b971d196 |
|
BLAKE2b-256 | 3da8dc8460cec6c97260f2c832ecdd5f82a495d4f609ae4a11c7290fb9572136 |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.6+, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280db83706c0549229b335a27b5c4ea7a9e6684ab15a50e64c7bbf7b6f333336 |
|
MD5 | a87d86a8887a0579ba98dff5d05e7282 |
|
BLAKE2b-256 | 7ef4d741738abe4b621b296b5e98984c70c5cb05969872d0d0c5e29399389fc2 |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.6+, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1807dcc794fd26434bb64d011b2c53cb41d33bb2b11f37c32467b0f1b867d3e7 |
|
MD5 | 3701d062a8ea766f4f0c1c1a99c28769 |
|
BLAKE2b-256 | ea9f2069607baad5a830746e12e9fdaea9cd635a2a5fb50c6a12950f281b1efe |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 692.3 kB
- Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa62c63658cacc7a5ca44f3ff3d64a017fe89923562a145144fe1b70bf338c1c |
|
MD5 | d118caa55e01e47bdf93a38bee501bce |
|
BLAKE2b-256 | ea84976465d49a21fb454771b73fd7c86dc5a0f89c83900a9251c51b93a400db |
File details
Details for the file rjmespath-0.2.5-cp36-abi3-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: rjmespath-0.2.5-cp36-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 354.5 kB
- Tags: CPython 3.6+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73230f4583e207c114f7fccb0b7b3c68eb9db1f8ebb23187c066cc6eb05f9642 |
|
MD5 | 6596197cf12b451f66ebd741957b5208 |
|
BLAKE2b-256 | bd07b09b7955e42c6afd05c4de887a3edc569ebcd4bb109cada220ba461e12cd |