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

Uploaded Source

Built Distributions

rjmespath-0.2.3-cp36-abi3-win_amd64.whl (238.6 kB view details)

Uploaded CPython 3.6+ Windows x86-64

rjmespath-0.2.3-cp36-abi3-win32.whl (227.0 kB view details)

Uploaded CPython 3.6+ Windows x86

rjmespath-0.2.3-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.3-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.3-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (1.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64

rjmespath-0.2.3-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.3-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

rjmespath-0.2.3-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.3-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.3-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (671.8 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.3-cp36-abi3-macosx_10_7_x86_64.whl (343.4 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: rjmespath-0.2.3.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.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.3.tar.gz
Algorithm Hash digest
SHA256 249c4bd9f0ae60f95d23cbff5084b90c51255c769585d849a4980f956434e2f1
MD5 b79ba057d922caf0e9ed6010a9559ecd
BLAKE2b-256 05331a61946959dff96d9650e791bd736436a05caec67a3bb0227eeb07497761

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.3-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 238.6 kB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.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.3-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1946b05e0d40b73fde07785e3346e3df75426ca1d56defb5ef4fcc9d89caa3f1
MD5 8c88e88e31045a0e6e1eaa2beaf10eaa
BLAKE2b-256 e4ecbac606199dc043738a61806beebbce6e8fd360c81afc339c09f32053f31e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.3-cp36-abi3-win32.whl
  • Upload date:
  • Size: 227.0 kB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.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.3-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 d039a67d138a37cce0deb96c802b3d7e58ca37dd1fbfb69f55e9092d3bcea310
MD5 8a9fff83e2fae2ad8cb72de22481a4df
BLAKE2b-256 ff7382b493f5ff443781195a9e67ede81b47f36e21a861855c724db33a1fa8c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 09f623cf51a8613679f004b8ec27414cb5f07519ebc229783daab847749bd0e8
MD5 89b94dc58c9aef3d54ebfc427f379d20
BLAKE2b-256 0e9bbe8c2463af5f7be90968b05b2e2830fe1bafa9f9842dfbf3d6f6d80204c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 f576daa0b8ae2c4950d545886b300f0aa67162bc77f73f7a9886b92664f32723
MD5 71f0747170ad5a14ad73061331656d70
BLAKE2b-256 cd5e0b21e675ef21dccd6268824ff52a3ccf5ad3efe565c45d37200bfee3b98e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 9d230f6225137e763207b5aadfe9b4081673275ff045a9321e1888438321d29d
MD5 ffdfde9411df95a163d59b75a99ff08c
BLAKE2b-256 689853a9be6655eb2e2d26d7549eb912b694eb8b80131a750f58eab0d02b83d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 14c95b8c6c5d072ea9dbb32250726c8ed8dc4cc4a01171f9f44083b7059ebf59
MD5 77c8f935ae2a947408a055590b799170
BLAKE2b-256 f74e1b1cd1cde5103c9307cc5951379c472dbb225828b0ef4b0619cd2256d725

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9786fbfa7a52a360a94c159e648f116e8f9ce65db452e41622410bdd976e6d08
MD5 f41c3cfc7b66f43a33c5ad66fce30fe6
BLAKE2b-256 18ac7830b2fb8481de0ded4109411f0945c202da668d332cf42a58c56c5a7a2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.3-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 171fead51bba9f63decdd18ce37673980af71fc12b6b89969a5b35c1e7061902
MD5 d5922c642c481391b7aa55585d95e7fb
BLAKE2b-256 ced0a32418099f977a9300a9e97f73af2acd7204886c98eb735534dff36d2ea8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.3-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.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.3-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 c53fa9c8ed7268643766cadcc6cb63b8884d026509835226af22d3aaca1330ae
MD5 50a604786c1403a353d0c0487de45e10
BLAKE2b-256 c076b37356ee438ea42bc200a0d7944be44b608c395c0c136be6835e81978fcc

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.3-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.3-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cf67296f4f9df628a58a9e48019d88a43daf68bff3624278ca6f71c1f85ce658
MD5 ac19f56235b17220d1e3d036df69fef4
BLAKE2b-256 4be191455e86e28bb97d0de8788c4f33caab6c5e3809414dc042e36776d21c3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.3-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 343.4 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.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.3-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 cd3a19bdf6d22e1863978cc68089fc689d74ff6194984c3b1ae3eb81ef050392
MD5 a251e9ccb635493e32e8242d4b999681
BLAKE2b-256 7759adef5018a79a14ac42aadda2025c416aa6667ddd5a938e94c3d922b87400

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