An implementation of jq for learning purposes.
Project description
jqlite
An implementation of jq, the commandline JSON processor, for learning and fun.
Installation
> pip install jqlite
Examples:
> echo '{"foo": 0}' | jqlite
{
"foo": 0
}
> echo '{"foo": [1, 2, 3, 4]}' | jqlite '[.foo | .[] | select(. % 2 == 0) | . * 2]'
[
4.0,
8.0
]
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
jqlite-0.4.3.tar.gz
(10.2 kB
view details)
Built Distribution
jqlite-0.4.3-py3-none-any.whl
(11.4 kB
view details)
File details
Details for the file jqlite-0.4.3.tar.gz
.
File metadata
- Download URL: jqlite-0.4.3.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.3 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7a1d608dd8bf3232b411ffa163fa2a745acb716c71c1f422066b32e4b29125 |
|
MD5 | 42b91c3f768c9ef4247a839c33ff4ced |
|
BLAKE2b-256 | 09162d572c027904b12b688ff9c0ebf30f0a83b0136d615ad15430e49cdda16d |
File details
Details for the file jqlite-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: jqlite-0.4.3-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.3 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c4d693dcae5df65452f232af6ed3fd6daa20d5ad585fccfe98f3334d0d7c0e |
|
MD5 | 840f59dc4fc2e15f78a83dfc8ca96dc5 |
|
BLAKE2b-256 | 6857105572538872cbf5a328b15697e5a87fba12d68795878511d429c3efeb34 |