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.4.tar.gz
.
File metadata
- Download URL: rjmespath-0.2.4.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd90acffbec35b575dadda0121407b46b8b4d599b9eb4b736f83ec6e1c0541ee |
|
MD5 | 8ae7d5e70ca8352fdbad2111c8c60fd3 |
|
BLAKE2b-256 | e27a4a411e29ffe32651b6c8e8383328e4dd77aaa3bccec10ee13e490bcb733f |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-win_amd64.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-win_amd64.whl
- Upload date:
- Size: 238.7 kB
- Tags: CPython 3.6+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ef6b6f8468b813afef435347c30f08115e15224e5536cad26e40375cba03e1 |
|
MD5 | 93635370c2712fe9c9ef0b19f16c7eae |
|
BLAKE2b-256 | 4674a5a58a14bd348efd81d986ec867b38e5d0d3e65c4836a4bbac5d6a34c474 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-win32.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-win32.whl
- Upload date:
- Size: 227.5 kB
- Tags: CPython 3.6+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 404ac75951b41dd4b5a59be0fdc41750bd493e8834f60d5ad273098757b4772a |
|
MD5 | 3d6d32b5bb7d2e78db68e5cbae5809b5 |
|
BLAKE2b-256 | 526bcc5df4ac4e57720516ad3ce196bc3719c612d42f2cb721e476b805dc48d2 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 166e12f3ab2f3e499c27897e2e68857107da5ff811031fff234df13c53ddc8a6 |
|
MD5 | 8ea1776a1188310acdbde6248d9bdee6 |
|
BLAKE2b-256 | dfd08d970dd37e4e1b9df484299a3f5746b9423a4c35c3b4ccbe28e45154eb63 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa18126a9f7a0f1d422f966080ac66a9234997fd81c0bd60259a040bc9eee56f |
|
MD5 | ea477ff6897e4aa41016823d26e05245 |
|
BLAKE2b-256 | fdea085ebfb8668ba40957a31ca6aa67da8688214a095f54f046b2f775c52177 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
.
File metadata
- Download URL: rjmespath-0.2.4-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: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32f442c50cfef73948d836d8dde66b9c8bc866b679e789d0f06075e308e98612 |
|
MD5 | 3beb5a025f2511c90ee8add9b1487678 |
|
BLAKE2b-256 | 4d3710d8dd8e68ebd52b92361e6bc5ca2e35073849514460f68fcf221fdeafa0 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56dc0dc3a24d7167ae32ea395381691a77590fa5df1c4bd682c801327e79e7f1 |
|
MD5 | 701f099ff30d62e3de634f73933129d3 |
|
BLAKE2b-256 | 46936e1a2cc9530cbea57104883b2377edf07bbd08f5ab3f03d9d8212904b4d8 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 339ea83403990d9504550b82f77a1005e79fc16f801e10b8e119774438d02f3a |
|
MD5 | ec86b6b33c9d4e3ceb6fe47792bc32fe |
|
BLAKE2b-256 | 709712039b6e3ad568cc9c05d371badb240a165d0803378bbb68ebdd37203546 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.6+, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c12ca972f21d36a272494c5e21694e173ce6946350edaed477bc0f33f705043c |
|
MD5 | d1fdc50ab383ed1b8aaaea39b7d8fc14 |
|
BLAKE2b-256 | 9bd8e6eb17591340e2510987a600c3741e61057f043c791145ac01af182aeed4 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: rjmespath-0.2.4-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: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e1831b98e401d20c1ea08cf6553d23d97bee6b0f0a3498fbf72f37c87f53b3 |
|
MD5 | 2042efa97be763822a40cd7a9b44d735 |
|
BLAKE2b-256 | c5e0198ff1a35a3ed2d3805d5fd0bd01e4dfd365549b2b938fda905ed81f7b47 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 672.2 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: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d4a348ab65badb494a68bca55ae9c600885b602103e0c737642fcae73cee1b |
|
MD5 | a2353fd04e8590abd646c508af34acce |
|
BLAKE2b-256 | 900ec405da150a805e09bdae2b1fe0c811028145fae629e8ddefdf9e560143a3 |
File details
Details for the file rjmespath-0.2.4-cp36-abi3-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: rjmespath-0.2.4-cp36-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 344.6 kB
- Tags: CPython 3.6+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e631c69334307d7cc04dd6bb887fe7458cc09d3e7ed43e14ef1b53a7505a9a4e |
|
MD5 | dd882733b5a0505ee38cc94edc9595f6 |
|
BLAKE2b-256 | 19351580daaa75103c1bef8608223f03b70d28b2715f75dd1ee1a8a3585802e1 |