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.67 µs ± 3.26 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.0.tar.gz (19.7 kB view details)

Uploaded Source

Built Distributions

rjmespath-0.2.0-cp36-abi3-win_amd64.whl (248.3 kB view details)

Uploaded CPython 3.6+ Windows x86-64

rjmespath-0.2.0-cp36-abi3-win32.whl (236.9 kB view details)

Uploaded CPython 3.6+ Windows x86

rjmespath-0.2.0-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.0-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.0-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.0-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.0-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.0-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.0-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.0-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (701.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.0-cp36-abi3-macosx_10_7_x86_64.whl (353.0 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: rjmespath-0.2.0.tar.gz
  • Upload date:
  • Size: 19.7 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.0.tar.gz
Algorithm Hash digest
SHA256 bead7a7dc26c7d334c32ce7a1e7d6dcb0eab52f0b8df090adca4a74ade337057
MD5 b7585cebc1fce5250f49c1bbda948aec
BLAKE2b-256 d7e4eaa9f7d0efcc7647103b6946cf1b1518f089c65df865ee6c90b77155e895

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.0-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 248.3 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.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 85c9419e674da132dbe9cae8f3101391b49581d023cb809b6e69296791758e68
MD5 66006219daacae89c44f525176e5bc11
BLAKE2b-256 428460027d75c605a5d1a32629ef4f23b5cbbc52600fea196a6b9254ed843d89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.0-cp36-abi3-win32.whl
  • Upload date:
  • Size: 236.9 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.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 a0e32c7884f563d7bfa8ea821c345082c89be139a2c928ddd78bf54c3f8d18e8
MD5 724e9a53c91f11d5f0887008a78f083b
BLAKE2b-256 66b0819583cc4a632c684d76b5e880c0796b7340578ab3203bfe51d070d0091c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.0-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 b650bedd62759c4cc297b939e1b66bead5ecf04eceb2d2584178dd480d35dd33
MD5 9cf5fa8242b1fbf473556f418bfdae70
BLAKE2b-256 17b16c25a4ea8f95dcb0c731a236d2f2990ee3ef1213f0840fc82973d7aa64ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.0-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 c466ee3f7a71525ca69f3d50b50c2fca84a20ecfe14aeda535368fa46d080dd3
MD5 d14366dcd1fcbcff2059b224726b94c0
BLAKE2b-256 b7ce433f5b3e0508e4663a65a03309724ac6fb440da8afa9e97941a9b4ac8e0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.0-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 f66bc5be8c2880b633c371de8fa34b1b75b14f4f1cf244451de4b727c5fd4d60
MD5 c39eb641b38a2e1401d426c56723cc90
BLAKE2b-256 e18da24d6fec36245f2bfdaab9a43c039cca06a4c0c1b14ece397ad6be726461

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.0-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 25d9afeb7a271e0576b5abcc129dbb1f75864c9450c6be80e323a0519181c7b9
MD5 ab10c0a6dc8a6045ab86da1b182fef61
BLAKE2b-256 d912181db033403db1975614e2609f76b3123f6a03ce93bb67e790f132da4475

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1ed91396643e6eec0acd31d004db9d16b0936cc20a8e6b5539594f2c3767300b
MD5 87ff2a0a6d1e31260dbcdb3b106334d2
BLAKE2b-256 1a07f8890fa2c18edf816c378444e8274a64969ee78b20043ad7c152cdfa11fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 10dde5b275d081bc9478ef0c250d1dc801f46187484800fd6262445443f9f0ba
MD5 7ce2582b0dade4853c9f96d28a9803c3
BLAKE2b-256 9278114d062440bfd8f4d032fd0b75ce0efd6e66c2c86ba0c3318538f4b1a138

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.0-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.0-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 70459f761b7c51419120c65be166e012dda5b858f21b0da5bd72d212ee7eb1a9
MD5 220c252f4c183646e2aaad8332e02dd0
BLAKE2b-256 e75739e9b74634684b26068eb8979f9e78af5c0a425bbb7b3cb4b5e13b72b6bf

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.0-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.0-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0032729970f7492e9154290f8ed5d5e5ac0def425c62248867bd02a5f2ede9e8
MD5 1a8c6f5c7efff1052aef52d4c87c1694
BLAKE2b-256 83117ebc156903eadcff99340df6df58a6fdaed0774749c3a803c1fe47211572

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.0-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 353.0 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.0-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 bd57fd41ac2bdb97522669b728cd76c5d09690eaf0e2555e5e46ebfb7d4bf67d
MD5 c8353033baeb85fd24f80c25740f1de4
BLAKE2b-256 bb674551add2fe463116bb4a8b545efe911571e65733e8190b08d0de11e289d8

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