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")) print(get_byValue('bq.json',"us-central1"))
output: ['protoPayload.serviceData.jobInsertResponse.resource.jobStatistics.reservation'] ['protoPayload.serviceData.jobInsertResponse.resource.jobName.location']
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(2.5 kB
view details)
File details
Details for the file lqlpath-0.1.2.tar.gz.
File metadata
- Download URL: lqlpath-0.1.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a504ab81c5e4b091b59fd02ebe84868cd3ee1f347ae63dd77977b28f9cbb992
|
|
| MD5 |
282381a1e2b02feb91488be3cc5a7a06
|
|
| BLAKE2b-256 |
aed99217d0a024279538c5e1b7a238d44c14be62ed317f387c867d36a6cb3d5b
|