# jqlite
![PyPI](https://img.shields.io/pypi/v/jqlite)
![GitHub](https://img.shields.io/github/license/christianzzz/jqlite)
[![codecov](https://codecov.io/gh/christianzzz/jqlite/branch/develop/graph/badge.svg?token=9UE406IALD)](https://codecov.io/gh/christianzzz/jqlite)
[![Tests](https://github.com/christianzzz/jqlite/actions/workflows/tests.yml/badge.svg)](https://github.com/christianzzz/jqlite/actions/workflows/tests.yml)
An implementation of [jq](https://stedolan.github.io/jq/), the commandline JSON processor, for learning and fun.
## Installation
```shell
> pip install jqlite
```
## Examples:
```sh
> echo '{"foo": 0}' | jqlite
{
"foo": 0
}
> echo '{"foo": [1, 2, 3, 4]}' | jqlite '[.foo | .[] | select(. % 2 == 0) | . * 2]'
[
4.0,
8.0
]
```
Raw data
{
"_id": null,
"home_page": "https://github.com/christianzzz/jqlite",
"name": "jqlite",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7.0,<4.0.0",
"maintainer_email": "",
"keywords": "jq,json,jqlite",
"author": "Christian",
"author_email": "xian.tuxoid@qq.com",
"download_url": "https://files.pythonhosted.org/packages/09/16/2d572c027904b12b688ff9c0ebf30f0a83b0136d615ad15430e49cdda16d/jqlite-0.4.3.tar.gz",
"platform": null,
"description": "# jqlite\n\n![PyPI](https://img.shields.io/pypi/v/jqlite)\n![GitHub](https://img.shields.io/github/license/christianzzz/jqlite)\n[![codecov](https://codecov.io/gh/christianzzz/jqlite/branch/develop/graph/badge.svg?token=9UE406IALD)](https://codecov.io/gh/christianzzz/jqlite)\n[![Tests](https://github.com/christianzzz/jqlite/actions/workflows/tests.yml/badge.svg)](https://github.com/christianzzz/jqlite/actions/workflows/tests.yml)\n\nAn implementation of [jq](https://stedolan.github.io/jq/), the commandline JSON processor, for learning and fun.\n\n## Installation\n\n```shell\n> pip install jqlite\n```\n\n## Examples:\n```sh\n> echo '{\"foo\": 0}' | jqlite\n{\n \"foo\": 0\n}\n\n> echo '{\"foo\": [1, 2, 3, 4]}' | jqlite '[.foo | .[] | select(. % 2 == 0) | . * 2]'\n[\n 4.0,\n 8.0\n]\n```",
"bugtrack_url": null,
"license": "",
"summary": "An implementation of jq for learning purposes.",
"version": "0.4.3",
"split_keywords": [
"jq",
"json",
"jqlite"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6857105572538872cbf5a328b15697e5a87fba12d68795878511d429c3efeb34",
"md5": "840f59dc4fc2e15f78a83dfc8ca96dc5",
"sha256": "c4c4d693dcae5df65452f232af6ed3fd6daa20d5ad585fccfe98f3334d0d7c0e"
},
"downloads": -1,
"filename": "jqlite-0.4.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "840f59dc4fc2e15f78a83dfc8ca96dc5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7.0,<4.0.0",
"size": 11396,
"upload_time": "2023-03-27T10:53:18",
"upload_time_iso_8601": "2023-03-27T10:53:18.720068Z",
"url": "https://files.pythonhosted.org/packages/68/57/105572538872cbf5a328b15697e5a87fba12d68795878511d429c3efeb34/jqlite-0.4.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "09162d572c027904b12b688ff9c0ebf30f0a83b0136d615ad15430e49cdda16d",
"md5": "42b91c3f768c9ef4247a839c33ff4ced",
"sha256": "8f7a1d608dd8bf3232b411ffa163fa2a745acb716c71c1f422066b32e4b29125"
},
"downloads": -1,
"filename": "jqlite-0.4.3.tar.gz",
"has_sig": false,
"md5_digest": "42b91c3f768c9ef4247a839c33ff4ced",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7.0,<4.0.0",
"size": 10222,
"upload_time": "2023-03-27T10:53:20",
"upload_time_iso_8601": "2023-03-27T10:53:20.921068Z",
"url": "https://files.pythonhosted.org/packages/09/16/2d572c027904b12b688ff9c0ebf30f0a83b0136d615ad15430e49cdda16d/jqlite-0.4.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-27 10:53:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "christianzzz",
"github_project": "jqlite",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "jqlite"
}