{ "name": "yq", "version": "4.4.0", "summary": "yq: jq for YAML, XML (xq) and TOML (tomlq) documents (the Python one, over jq)", "category": "tool", "license": "Apache-2.0", "homepage": "https://github.com/kislyuk/yq", "source": { "url": "https://files.pythonhosted.org/packages/1a/19/2fe6339ca61300ce65fdf3b657137dbe1d133f023a2207d1952d10d38aa9/yq-4.4.0-py3-none-any.whl", "sha256": "a80c2df2988d33e72433c7b72f337190bd8c2a1d1cb4ba2aeb45e766f27d837c" }, "watch": {"kind": "pypi", "package": "yq"}, "deps": [ "python", "jq", "py-pyyaml", "py-xmltodict", "py-tomlkit", "py-argcomplete" ], "env_packages": [], "static": false, "nss": false, "check": "bin/yq --version | first && t=$(mktemp -d) && printf 'a:\\n b: [1, 2]\\n c: zażółć\\n' > \"$t/y\" && [ \"$(env -i PATH=/nonexistent bin/yq '.a.b | add' \"$t/y\")\" = 3 ] && env -i PATH=/nonexistent LANG=C.UTF-8 bin/yq -y '.a.b[1] = 5' \"$t/y\" | tr '\\n' '|' | has -x 'a:| b:| - 1| - 5| c: zażółć|' && [ \"$(echo '12' | env -i PATH=/nonexistent bin/xq -c .r.x)\" = '[\"1\",\"2\"]' ] && [ \"$(printf '[t]\\nn = 6\\n' | env -i PATH=/nonexistent bin/tomlq '.t.n * 7')\" = 42 ] && echo 'yq: a YAML query and an edit written back as YAML, an XML query (xq), a TOML query (tomlq), with the prefix jq and PATH=/nonexistent'" }