Skip to main content

jmespath.rs Python binding

Project description

rjmespath-py

CI PyPI

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


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.6.tar.gz (20.3 kB view details)

Uploaded Source

Built Distributions

rjmespath-0.2.6-cp36-abi3-win_amd64.whl (254.1 kB view details)

Uploaded CPython 3.6+ Windows x86-64

rjmespath-0.2.6-cp36-abi3-win32.whl (238.2 kB view details)

Uploaded CPython 3.6+ Windows x86

rjmespath-0.2.6-cp36-abi3-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.2+ x86-64

rjmespath-0.2.6-cp36-abi3-musllinux_1_2_i686.whl (1.3 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.2+ i686

rjmespath-0.2.6-cp36-abi3-musllinux_1_2_armv7l.whl (1.5 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.2+ ARMv7l

rjmespath-0.2.6-cp36-abi3-musllinux_1_2_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.2+ ARM64

rjmespath-0.2.6-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.4 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ s390x

rjmespath-0.2.6-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64le

rjmespath-0.2.6-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (1.3 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64

rjmespath-0.2.6-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARMv7l

rjmespath-0.2.6-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

rjmespath-0.2.6-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.5+ x86-64

rjmespath-0.2.6-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl (1.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.5+ i686

rjmespath-0.2.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (695.0 kB view details)

Uploaded CPython 3.6+ macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

rjmespath-0.2.6-cp36-abi3-macosx_10_7_x86_64.whl (356.1 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

Details for the file rjmespath-0.2.6.tar.gz.

File metadata

  • Download URL: rjmespath-0.2.6.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.12.9

File hashes

Hashes for rjmespath-0.2.6.tar.gz
Algorithm Hash digest
SHA256 501daef235ae91f8f7d00a1ed40940e901c1d77b2d881dddb53e9bfe64d97b09
MD5 02c9d9c7860557eaf6e1244b5227321b
BLAKE2b-256 c2df59d7f14dc61800bfeaf6661474f45d47a2f3de804970f015cad838cd2800

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 221eb6282f341473b6b3dc19ada2fd97a0c34ad5273f593870d0ae08980e3840
MD5 c046fb364b1647f11ce80e15268aaed0
BLAKE2b-256 6608e7bed63119cee3cb3510476d2029cb2fa862d1a2d0357ce7bfd0514f1245

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-win32.whl.

File metadata

  • Download URL: rjmespath-0.2.6-cp36-abi3-win32.whl
  • Upload date:
  • Size: 238.2 kB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.12.9

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 2144122ca3fe6675467ed602aedb03083c8917933371bb83e5837be197264b57
MD5 5b73644d1d8c209722f26fba0c94d5e0
BLAKE2b-256 895e2c7bacb2b50048ffb2452b64fcb0c63f037aa13cf39d5107e80eb2afaef4

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8622edbbd0a98e8a65f7f011be90565f1afe433d37d21ba4b66e6f566d9dfcb5
MD5 ad0707b44fab9222e9dab08aaf483fb9
BLAKE2b-256 f124cdab08456a1a2336e22983d1b834f60cc6178218d9847256abac04250d9c

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0f19a9ae75b5136ceaf3596d6b669bcafd678855e0a48484f10907056aa630a0
MD5 fb423e698ad97a5da421a4ea5e3938bc
BLAKE2b-256 609763ba2ea1fe2f8d5550ddc1d915acf0137dd16c4f8edadf5dd2a7a2cf824a

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 ea2980ebd51a970c9f267c86efc5e2be79de775e833eb9f6e36b750cc014881b
MD5 2ddf929444faa9156315f080584ac8a5
BLAKE2b-256 37ef2b1a6211d8045eccd52cb104e1fb1d54c119c7c25f4285c1cc1559731fc4

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1cd3f468fe5300ad71f6d1793d45607a172fb7e5d79ba51845e65783b4a9db6f
MD5 1ac3280990f43ff729c27f4336573466
BLAKE2b-256 2b80b9f0bff0a52f34777419f285d085c4d0f076192767f4c2c0e949070b7178

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 80151aadc82b684510a1b9db7a45576eb4d00c38fda595b8622a3d19f4e7af7f
MD5 082f8f68b6a7c9ad98053512c58d069d
BLAKE2b-256 e5d61778cf3a2994daebfc93a2069bd1109eb41c640432c8e1ac47d405ea967b

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 8c359171dffdf53530ae7166969082f25c4a5effeefae9d5c4e67af230f19b59
MD5 2b48ff5b4dcbb0eccafb600fd987356d
BLAKE2b-256 fe26eb53995c0ab723ca89e26dd94dbb20ce6ce0f5830a0dc58ba6a18bdaaeb5

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 f51fe265726d5c34e896bf012c5a6f9df4ff1e7b7fc5dd7c0b5841e63ddd0a6a
MD5 73b5eec3309c9d362f23a3fc4b7d333a
BLAKE2b-256 2eccd669ec94727bdb3479e261a703017556c07562aec2a349db2cc79adf0d4f

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 5bfe3f25b394d89c91184a0ae36bbcf0bf6017e87fc6c9cdceb8ca520acdc473
MD5 e033245720b62f79bb392d52fa43b90b
BLAKE2b-256 db5a03296cb7b58a9caa0c608323c98ed88cff90177e7d63ef32ed47d0a6347d

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b72792144da698dcaba75b3f91b6ca049bbf4cb77c55caa943027bac946456ee
MD5 06102408326e00fa4b684d4ca1c90ab6
BLAKE2b-256 67abf87b8e88bb532c794e576c8c7ef1b905508d2587a7dcb1f61e7e25bb18bc

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8118f1845f3a317070681c28308fdea23cb61cf0356e014a9db3024e09857512
MD5 9e3299f468157f1f2fee0d3421cfeb59
BLAKE2b-256 4f21befbe375032971733b6772c0352f340b95d6d1f458ee900640b5de865707

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 fc2e8d21b067eb65959d14c3187dc4fddd03397babe30c6d6f6bc383596f9bfc
MD5 61363c2856a38d04051c002d718cb153
BLAKE2b-256 1f37ac0d4c7921eecd4365be37d2a4189a553b77f9f160bd0233e68887367aa7

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7e8f85ff44b3ca3d9709cb636a2d511627c45d2e1e0b5cf0fe4b3285cdd5f5d3
MD5 c8694f6992c75f96d1520501c58ad078
BLAKE2b-256 b8b71eb2659cc85ab7364e329d560f2f7593a035a5baa431a4652bdea743f41e

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.6-cp36-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for rjmespath-0.2.6-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 806a4f14b57b7fcd851ac5a5a849aaccc3d39f9c25ca54d56a70bae4aa90c511
MD5 76e2413eb29c1498aa9e16a559d2e682
BLAKE2b-256 01dd47678fa09b39ddd1feab0b2ab2fcf2ea06e9463b45c6ad7c9fcce88b3457

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page