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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
907c3ed1f1b26224b4aae9f2176429113f73d3a150bc7585b828a5bf176ec2ae
|
|
| MD5 |
d5560666cb542a81e90a81c310f5e533
|
|
| BLAKE2b-256 |
fc8ad9771dc1acbdc731a9da508892ae690257febcf5902310d3ce7c5aedb3d9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c2703d1e0d25e976271aa12eaae8ed9fea30624a196d0525f7e077cc7289a1b
|
|
| MD5 |
33d18d081bc23b415712a9da7e4c6983
|
|
| BLAKE2b-256 |
4e7ce4103ceceb2ce3eeb8e349da7d885fd4309f811b55641852f1f830b2c20a
|