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')
345 ns ± 0.383 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.59 µs ± 29.2 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.1.1.tar.gz
(19.6 kB
view hashes)
Built Distributions
rjmespath-0.1.1-cp36-abi3-win32.whl
(238.5 kB
view hashes)
Close
Hashes for rjmespath-0.1.1-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12bd578ab833e9bbfaf15f4be23d803b9677f86aed3ef1409fd979a640fa3cf |
|
MD5 | b1aa5dec13a664b58755e458cc0abce1 |
|
BLAKE2b-256 | 7424ff37a14dc8d83a0a2fa46282e9f03c2e3c2975cb60eb9d9ef6df6934532a |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5ecdc856953a50c291814a92b9582b3c7b45a379f6f9cf85addf946c7e39be |
|
MD5 | ae28ad25df01bffabcf4e2ba19c1a10e |
|
BLAKE2b-256 | f3e11a43765b3548486194ca1a28588d7148baeacba1bff784ea24d28af84942 |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b28b5dcabd1255c38e32317ed11def7a61924d8936cb57ed59fde2382869d913 |
|
MD5 | b64b0d9218a68945ce356059797ec36e |
|
BLAKE2b-256 | fb49806c9c7ab2b21f87d67feb837e12b9875e3508ef4ad9d410c050eea46bf5 |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34d9a8fea33fd4e771882106f26c058f812f594a3e631210d08798ce326500f1 |
|
MD5 | f50f68128f29d88760549d7c95cab0a7 |
|
BLAKE2b-256 | 0d9386df48b35c2467df8f674300cb38cb29c00d88c3fd15aed0125352ef5d83 |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b848926fdce7a17017a3c62b90fa015a70807067787010439aa8ed412292a8fe |
|
MD5 | 178ff5956efec5b12795ca1b4a0ac90a |
|
BLAKE2b-256 | d804d10c5defb75703faaa077465d458e1da20c2bddc5f7697463f8bdf1d6089 |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c631122c80b5b2ba0b4028346abed3b1108f3dd622054ab046c974b6f85964d |
|
MD5 | 3276c62d2adc289940a284eb0c958d1b |
|
BLAKE2b-256 | 19878df130201e7a9c4e6473c5e7b3c4287ce15385f237d2dabf9ce3d1ab7073 |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bed404489c1f19d9055fb2a7e616131d2867550f1d2f246f7e6e6c97c21c3ddc |
|
MD5 | 407a15f1d03040dd3df8083cd50510e0 |
|
BLAKE2b-256 | 8bb6d4fc3a97e58a4aa6aa28e3b83acf71f2677dd7c5e8bcbb88adfa8159b06b |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e93c7448f0b0bdbb05dd33792ba3905d69c9a5b1c088e24644c2f7a62929b943 |
|
MD5 | fd40b375d283f12e772233ef66041996 |
|
BLAKE2b-256 | 998d56240dce61dcda08287b113db8941f1bd494c54767b39aabc8e044a0f650 |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fcb105dc0d7ac868811929de01bec233fde518a90e6d82f43466154a987b884 |
|
MD5 | c5db5e51b05e733a79d8e5502634f0f4 |
|
BLAKE2b-256 | f474b0c2e07c8d71f2b6766843ba08ef6e0a3b79f0e4a595e74dca6ef735f851 |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41debe50ed3b0c33e2462775ff85787c35151aaf738725d6c023e2d70e99051d |
|
MD5 | 3f156c446c1196771b3f3162c4064a4e |
|
BLAKE2b-256 | b0e551a03b97b1479b42057330a43578305a1ced3c46c40023f547da0f01f639 |
Close
Hashes for rjmespath-0.1.1-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c1aa08b0eade5fb9d35341c1d984cc158c2a9a716ed9d767e1e58b23a6b1bd4 |
|
MD5 | f9032027b2ac10aa408b9eb96ec5105b |
|
BLAKE2b-256 | 24707549dd19ed61c474192238a0090314cd669e8b2b36a8c64dc9e90e3dc442 |