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

Uploaded Source

Built Distributions

rjmespath-0.2.1-cp36-abi3-win_amd64.whl (238.2 kB view details)

Uploaded CPython 3.6+ Windows x86-64

rjmespath-0.2.1-cp36-abi3-win32.whl (227.4 kB view details)

Uploaded CPython 3.6+ Windows x86

rjmespath-0.2.1-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.3 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ s390x

rjmespath-0.2.1-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64le

rjmespath-0.2.1-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (1.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64

rjmespath-0.2.1-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARMv7l

rjmespath-0.2.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (986.8 kB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

rjmespath-0.2.1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB view details)

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

rjmespath-0.2.1-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl (1.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.5+ i686

rjmespath-0.2.1-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (671.7 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.1-cp36-abi3-macosx_10_7_x86_64.whl (343.5 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: rjmespath-0.2.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for rjmespath-0.2.1.tar.gz
Algorithm Hash digest
SHA256 00a6899b4c8ab88f2d278d69716947bd027cbf36ec9395854aa075d596ada167
MD5 c98825f7f16dfde1f689ea99ed715fbf
BLAKE2b-256 66efe49c6c065d27685769d4ed3ed5ec34886155dc7a73bec7e67a05b0dabf6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.1-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 238.2 kB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 524655b587d5a94a8bb805a48bab44b2f9ef0c3a629b52ce233f5d7bd67b3646
MD5 5bd34315dfd848954e7c4edd59c686f3
BLAKE2b-256 26d4adb94387867fc22173b04c70764ec35a022d2b33f892f351b11ebc0fec9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.1-cp36-abi3-win32.whl
  • Upload date:
  • Size: 227.4 kB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 9ee456f930840f02fbffce1eab2d865923cf31d2f17a5bef09cdecf709f83e21
MD5 546f708220ceed1453f5bcb1dd307189
BLAKE2b-256 66abae35164e1715485ea7059aa7f5f805a9f3ba0274e8f248be7b08c1e95934

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 247e0a1bc4ce58b1995cfee27bec527ae4906273dca56cbcaf1da681e73b1ce6
MD5 122dff5c9bc151cc7716ae27babb0873
BLAKE2b-256 2fe8a9a7480b6adf9f8506439ebc454fd2fa2cc8e1378f2d6cc72c0840c8042d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 1b63183ea9e5620639c6a81a89c447f474b4b5b220f5f557b811369814121838
MD5 ac4e5b14c2bc0f94eba49e6d682d2a00
BLAKE2b-256 cf28e5baa4840a61b23a3dc6abbfa81012b7da87b8228ae011cc740478581c31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 7b6de1f9744d0978e2c5dc383b50fe456beacaa50901d3114f0dc7017c61c057
MD5 180d74fce9a83d73d1b870f70ab389df
BLAKE2b-256 67f676eaeb21cdb55878762563760387d8a20eb330f45d886e6b033421728184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 4e5c2c251ea767182f21265df97f8d60b0f49f03ff1d0fb8072134a8044a5217
MD5 2499db0949b942451cbd58806373c46a
BLAKE2b-256 4085e007aef2e96752f8ee611a91323a48215644aabe106fccf9c5a5adfa13bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 adb635c13f8c734831aa578cd8672357085e15f8e9f2d105dc938e1a49f2d4d4
MD5 f6947e1d5cdac885f90a9e94f0ba80e4
BLAKE2b-256 68afcdc3f1bd422fe80217c1ba851e63c7c8cb9c0af7b7e0dcfdb7a963562e1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ebd916b08e43dbac37fbb667b1f2eb1f89260d9c36b31b6bb719bddffa45c605
MD5 9834add13e7641681de340aee9d99474
BLAKE2b-256 fb7c3d4c04875efbd795a3ab702950b8cbdba041431672172539cf9d497cbb5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.1-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.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 27b9c7a97d2f3a71d3217bd6cfbc2eb93a38fd92593f2a27a4edd50005a25341
MD5 2d1e16559930a3239d25202ed34a56da
BLAKE2b-256 4415a016e926f7e43642373a3c623e8f354c2898a52f9323a080590e581c11bf

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.1-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.1-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 dd3a7b2bc466d022b7124e881d8961af911a90017c80b095b270eee12b05d902
MD5 48ab4dd3cbed1317d014b7b62fb75135
BLAKE2b-256 a56293458db0fc09f7fb8cf4a4847243ce56fed87bd627ae1c749ddf96241564

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.1-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 343.5 kB
  • Tags: CPython 3.6+, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for rjmespath-0.2.1-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 7b6ce80e18d82110a9543066d980214369a69ec756e0aec31276a4f61ea049c6
MD5 8720a83a3313293d5e93b020276c8a8b
BLAKE2b-256 a4a47ce7bc16772056c2f30545e1a51e0c2fd9fb37954867580443f78e9d3058

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