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')
345 ns ± 0.383 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.59 µs ± 29.2 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.1.1.tar.gz (19.6 kB view details)

Uploaded Source

Built Distributions

rjmespath-0.1.1-cp36-abi3-win_amd64.whl (249.7 kB view details)

Uploaded CPython 3.6+ Windows x86-64

rjmespath-0.1.1-cp36-abi3-win32.whl (238.5 kB view details)

Uploaded CPython 3.6+ Windows x86

rjmespath-0.1.1-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.1.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.1.1-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.1.1-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.1.1-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.1.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.1.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.1.1-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (701.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.1.1-cp36-abi3-macosx_10_7_x86_64.whl (352.5 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: rjmespath-0.1.1.tar.gz
  • Upload date:
  • Size: 19.6 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.1.1.tar.gz
Algorithm Hash digest
SHA256 62a394561d810b24fba33ca4b68275dd33eaf4f8161cdc4792753d99e51544e9
MD5 7f022fa767e615a6ff5810d8fbced589
BLAKE2b-256 80f8810909306fe4bce8af6e97ab0b0dd362aefcb32bcf57075908cb6701bcc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.1.1-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 249.7 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.1.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f12bd578ab833e9bbfaf15f4be23d803b9677f86aed3ef1409fd979a640fa3cf
MD5 b1aa5dec13a664b58755e458cc0abce1
BLAKE2b-256 7424ff37a14dc8d83a0a2fa46282e9f03c2e3c2975cb60eb9d9ef6df6934532a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.1.1-cp36-abi3-win32.whl
  • Upload date:
  • Size: 238.5 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.1.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 8f5ecdc856953a50c291814a92b9582b3c7b45a379f6f9cf85addf946c7e39be
MD5 ae28ad25df01bffabcf4e2ba19c1a10e
BLAKE2b-256 f3e11a43765b3548486194ca1a28588d7148baeacba1bff784ea24d28af84942

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 b28b5dcabd1255c38e32317ed11def7a61924d8936cb57ed59fde2382869d913
MD5 b64b0d9218a68945ce356059797ec36e
BLAKE2b-256 fb49806c9c7ab2b21f87d67feb837e12b9875e3508ef4ad9d410c050eea46bf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 34d9a8fea33fd4e771882106f26c058f812f594a3e631210d08798ce326500f1
MD5 f50f68128f29d88760549d7c95cab0a7
BLAKE2b-256 0d9386df48b35c2467df8f674300cb38cb29c00d88c3fd15aed0125352ef5d83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 b848926fdce7a17017a3c62b90fa015a70807067787010439aa8ed412292a8fe
MD5 178ff5956efec5b12795ca1b4a0ac90a
BLAKE2b-256 d804d10c5defb75703faaa077465d458e1da20c2bddc5f7697463f8bdf1d6089

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 0c631122c80b5b2ba0b4028346abed3b1108f3dd622054ab046c974b6f85964d
MD5 3276c62d2adc289940a284eb0c958d1b
BLAKE2b-256 19878df130201e7a9c4e6473c5e7b3c4287ce15385f237d2dabf9ce3d1ab7073

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bed404489c1f19d9055fb2a7e616131d2867550f1d2f246f7e6e6c97c21c3ddc
MD5 407a15f1d03040dd3df8083cd50510e0
BLAKE2b-256 8bb6d4fc3a97e58a4aa6aa28e3b83acf71f2677dd7c5e8bcbb88adfa8159b06b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rjmespath-0.1.1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e93c7448f0b0bdbb05dd33792ba3905d69c9a5b1c088e24644c2f7a62929b943
MD5 fd40b375d283f12e772233ef66041996
BLAKE2b-256 998d56240dce61dcda08287b113db8941f1bd494c54767b39aabc8e044a0f650

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.1.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.1.1-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 9fcb105dc0d7ac868811929de01bec233fde518a90e6d82f43466154a987b884
MD5 c5db5e51b05e733a79d8e5502634f0f4
BLAKE2b-256 f474b0c2e07c8d71f2b6766843ba08ef6e0a3b79f0e4a595e74dca6ef735f851

See more details on using hashes here.

File details

Details for the file rjmespath-0.1.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.1.1-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 41debe50ed3b0c33e2462775ff85787c35151aaf738725d6c023e2d70e99051d
MD5 3f156c446c1196771b3f3162c4064a4e
BLAKE2b-256 b0e551a03b97b1479b42057330a43578305a1ced3c46c40023f547da0f01f639

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rjmespath-0.1.1-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 352.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.1.1-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5c1aa08b0eade5fb9d35341c1d984cc158c2a9a716ed9d767e1e58b23a6b1bd4
MD5 f9032027b2ac10aa408b9eb96ec5105b
BLAKE2b-256 24707549dd19ed61c474192238a0090314cd669e8b2b36a8c64dc9e90e3dc442

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