Skip to main content

A package for searching log query language path

Project description

lqlpath

lqlpath is a Python package designed to search for paths in JSON files based on either keys or values.

Features

  • Search by Key: Retrieve a list of field paths in the JSON where a specific key is found.
  • Search by Value: Retrieve a list of field paths in the JSON where a specific value is found.

#EXAMPLE

from lqlpath import get_byKey,get_byValue

print(get_byKey('bq.json','reservation'))

print(get_byValue('bq.json',"us-central1"))

output: ['protoPayload.serviceData.jobInsertResponse.resource.jobStatistics.reservation'] ['protoPayload.serviceData.jobInsertResponse.resource.jobName.location']

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

lqlpath-0.1.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lqlpath-0.1.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file lqlpath-0.1.3.tar.gz.

File metadata

  • Download URL: lqlpath-0.1.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.1

File hashes

Hashes for lqlpath-0.1.3.tar.gz
Algorithm Hash digest
SHA256 907c3ed1f1b26224b4aae9f2176429113f73d3a150bc7585b828a5bf176ec2ae
MD5 d5560666cb542a81e90a81c310f5e533
BLAKE2b-256 fc8ad9771dc1acbdc731a9da508892ae690257febcf5902310d3ce7c5aedb3d9

See more details on using hashes here.

File details

Details for the file lqlpath-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: lqlpath-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.1

File hashes

Hashes for lqlpath-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4c2703d1e0d25e976271aa12eaae8ed9fea30624a196d0525f7e077cc7289a1b
MD5 33d18d081bc23b415712a9da7e4c6983
BLAKE2b-256 4e7ce4103ceceb2ce3eeb8e349da7d885fd4309f811b55641852f1f830b2c20a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page