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

Uploaded Source

Built Distributions

rjmespath-0.2.2-cp36-abi3-win_amd64.whl (239.1 kB view details)

Uploaded CPython 3.6+ Windows x86-64

rjmespath-0.2.2-cp36-abi3-win32.whl (227.7 kB view details)

Uploaded CPython 3.6+ Windows x86

rjmespath-0.2.2-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.2-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.2-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.2-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.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (989.8 kB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

rjmespath-0.2.2-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.2-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.2-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (674.6 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.2-cp36-abi3-macosx_10_7_x86_64.whl (345.5 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: rjmespath-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 266a9f93db4527b445c532de7f2d83e8571e457438414d055f43211321357e2b
MD5 969219637c1cdf54d642b7f641cfab90
BLAKE2b-256 214246a03211b5782f1054a4a3b1cd908e2dd0bb9a2b090ea657bd1f3ebb5d9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.2-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 239.1 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.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2b2f0ef71eb1faa2c39b14710ca6b8f9dc2925e76ca9d36210e97f994298c314
MD5 b79eea39b177a5342be3c7ade87c1900
BLAKE2b-256 6feb22fcc15cf9c32da7b7b0e7f10a5a6abb0819e0f07b5f9be528b879f280e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.2-cp36-abi3-win32.whl
  • Upload date:
  • Size: 227.7 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.2-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 00b80617ec86adb03538e5eb226f108cac4dde3a2c9d4fc1f788f05d7f3dba1e
MD5 7cb043b1dc4740e34c36fd8d3252af88
BLAKE2b-256 9c4ca9a21d751db008585286717cbc5ae0260c83b9f679d6f000d8b9e670ee77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 18eb490a8ed9eb48facc72b837ed64b13f6f231bbdee73fc3354c588a907d384
MD5 db15e6b265092ac819f46ef977416faa
BLAKE2b-256 65123ea4afd26c9a35cf52fad02bae14646bc715e93acc01db4b2d06e0b3243b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 9649b9a5243e48bb62bab2c73f759d601d21cc787e2209e49f64f953c31b4081
MD5 da87afe7fb2468aeb549c67a2da7a455
BLAKE2b-256 41f305ad67fbaa9127dbb4001997c2890e277185b0245ca82abd7cb2a740031e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.2-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 1f0f21ff3ef51c709056959d1f89e7dcd967bcc284275655b35512b61c6dc56e
MD5 14139f08d4a72ffd4f94a7092317f1d6
BLAKE2b-256 345f94a2a4a61459fc207df91c07950ad96f6a66e96a90402eebe00b85063bdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.2-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 4b67f285093ae87c76948ac7336c604d7442637de06e4034c14fd1ed771fd92d
MD5 03bc9209033215ec6f9c42312fc7b340
BLAKE2b-256 f194fe93f4d804b38468e1ad07036c606bcd3a86dfbb85154738e93cd8928275

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5bf490631aa52f94cbdea0c3cc600c9d96e83fd5f268a513eec3a443a32e379c
MD5 976b198fa9a6abdcfef7b95ec9ea1704
BLAKE2b-256 07cd0c77924f73dee8e1d2f9938b180d1155c88697844b9df4743b98d1f06f28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.2.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 35990e263ca59c17f5beafc71884a551d5a3367f101acb8738a2840f34c8cda4
MD5 fb000332674a8f8c94bd4a36d554599c
BLAKE2b-256 8a13f24dacee5402d01f6a2756ea181d8abd7fb1215fdfce79f10bfc901f8713

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.2-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.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 eabe9a3fc1bfebdc06d367ec03c8b68e574da4bdf9a9dd5567714d9c065578a2
MD5 f7a6f636c9e5f25a22664a4fffc97498
BLAKE2b-256 cba2f251569e3d5df17e0061c7bb442125f74f451216a6dbe8753c1a78d84c5e

See more details on using hashes here.

File details

Details for the file rjmespath-0.2.2-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.2-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2291154eed1a1516d3b4f484622ded2e4a5b6bd33dd2662948b4df3a0c90cb9f
MD5 d2fddb355b6682281b376478babb1566
BLAKE2b-256 dfe02f0f58a79d408b82c0e2f0dfedce3298911bf91c0abd2a69daaf7ad755f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.2.2-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 345.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.2-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 9b8381d220871bed292d2133d1ad73cb84c484512f5743eb5a118ae6e511288e
MD5 3d4f9361aea087797b6614b1ef804921
BLAKE2b-256 ae32a798d34c8a0420fe236bf8c456d3ee20cf268f128050ae07d318676e2179

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