celq 0.3.0__py3-none-macosx_11_0_arm64.whl → 0.3.1__py3-none-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {celq-0.3.0.data → celq-0.3.1.data}/scripts/celq +0 -0
- {celq-0.3.0.dist-info → celq-0.3.1.dist-info}/METADATA +36 -30
- celq-0.3.1.dist-info/RECORD +6 -0
- celq-0.3.0.dist-info/RECORD +0 -6
- {celq-0.3.0.dist-info → celq-0.3.1.dist-info}/WHEEL +0 -0
- {celq-0.3.0.dist-info → celq-0.3.1.dist-info}/licenses/LICENSE-APACHE +0 -0
- {celq-0.3.0.dist-info → celq-0.3.1.dist-info}/licenses/LICENSE-MIT +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: celq
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Classifier: Intended Audience :: Developers
|
|
5
5
|
Classifier: Programming Language :: Rust
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
@@ -119,33 +119,6 @@ If you have [cargo-binstall](https://github.com/cargo-bins/cargo-binstall) insta
|
|
|
119
119
|
cargo binstall celq
|
|
120
120
|
```
|
|
121
121
|
|
|
122
|
-
### Python
|
|
123
|
-
|
|
124
|
-
celq is packaged for [PyPI](https://pypi.org/project/celq/). Python users can install it with `pip`:
|
|
125
|
-
|
|
126
|
-
```bash
|
|
127
|
-
pip install celq
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
If you have [uv](https://github.com/astral-sh/uv) installed, `celq` can be used as a tool:
|
|
131
|
-
```bash
|
|
132
|
-
uvx celq -n '"Hello World"'
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### NPM (Node.js/JavaScript)
|
|
136
|
-
|
|
137
|
-
`celq` is packaged for [NPM](https://www.npmjs.com/package/celq). Node.js users can install celq in their project with:
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
npm install celq
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
This adds celq to `package.json` and makes it available for scripts. It's also possible to run single commands with [npx](https://docs.npmjs.com/cli/v8/commands/npx):
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
npx celq -n '"Hello World"'
|
|
147
|
-
```
|
|
148
|
-
|
|
149
122
|
### GitHub Actions
|
|
150
123
|
|
|
151
124
|
`celq` can be used in GitHub actions. For one-off commands, the [get-celq/celq-action](https://github.com/get-celq/celq-action) is the quickest way:
|
|
@@ -179,6 +152,12 @@ If you are going to use `celq` in scripts or for multiple calls, we recommend us
|
|
|
179
152
|
nix run github:IvanIsCoding/celq -- -n '"Hello World"'
|
|
180
153
|
```
|
|
181
154
|
|
|
155
|
+
By default, Nix fetches the stable version from crates.io. If you want to run the code from HEAD, use the `dev` derivation:
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
nix run github:IvanIsCoding/celq#dev -- -n '"Hello World"'
|
|
159
|
+
```
|
|
160
|
+
|
|
182
161
|
See the [installation guide](https://docs.rs/celq/latest/celq/installation_guide) for other Nix setups.
|
|
183
162
|
|
|
184
163
|
### FreeBSD
|
|
@@ -198,13 +177,40 @@ su root -c 'install -m 755 celq /usr/local/bin/'
|
|
|
198
177
|
|
|
199
178
|
`celq` can also be installed from source following the [Cargo](#cargo) section. We strive to always compile with the Rust version provided in the ports tree.
|
|
200
179
|
|
|
180
|
+
### NPM (Node.js/JavaScript)
|
|
181
|
+
|
|
182
|
+
`celq` is packaged for [NPM](https://www.npmjs.com/package/celq). Node.js users can install celq in their project with:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
npm install celq
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
This adds celq to `package.json` and makes it available for scripts. It's also possible to run single commands with [npx](https://docs.npmjs.com/cli/v8/commands/npx):
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
npx celq -n '"Hello World"'
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Python
|
|
195
|
+
|
|
196
|
+
celq is packaged for [PyPI](https://pypi.org/project/celq/). Python users can install it with `pip`:
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
pip install celq
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
If you have [uv](https://github.com/astral-sh/uv) installed, `celq` can be used as a tool:
|
|
203
|
+
```bash
|
|
204
|
+
uvx celq -n '"Hello World"'
|
|
205
|
+
```
|
|
206
|
+
|
|
201
207
|
## Limitations
|
|
202
208
|
|
|
203
209
|
### Eager JSON Parsing
|
|
204
210
|
|
|
205
211
|
`celq` eagerly parses all JSON input into memory before evaluation. This design was made to simplify the code implementation, at the cost of memory and performance.
|
|
206
212
|
|
|
207
|
-
Currently, there are no benchmarks for `celq`. I believe the tool is "good enough" for my personal use. That might be revisited in the future. In the meantime, expect `celq` to be slower than `jq`.
|
|
213
|
+
Currently, there are no benchmarks for `celq`. I believe the tool is "good enough" for my personal use. That might be revisited in the future. In the meantime, expect `celq` to be slower than `jq`. With that being said, `celq` feels snappy in practice. `celq` glues together Rust parsers that are performant with a CEL engine that strives to be fast.
|
|
208
214
|
|
|
209
215
|
### CEL Implementation Differences
|
|
210
216
|
|
|
@@ -240,7 +246,7 @@ Special thanks to the maintainers of:
|
|
|
240
246
|
|
|
241
247
|
## Large Language Models Disclosure
|
|
242
248
|
|
|
243
|
-
Many commits in this repository were co-authored by LLMs. All commits were guided and reviewed by a human.
|
|
249
|
+
Many commits in this repository were co-authored by LLMs. All commits were guided and reviewed by a human. I tried my best to keep things simple and auditable.
|
|
244
250
|
|
|
245
251
|
All the documentation in the manual has been hand-crafted. That was done to keep the tone of the original author. If you find a typo or a grammar mistake, please send a pull request.
|
|
246
252
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
celq-0.3.1.data/scripts/celq,sha256=6i0Zcw_OeOp4NNMaNb1TqWSWbxuZrHbVjPDLMp0uVYc,5326656
|
|
2
|
+
celq-0.3.1.dist-info/METADATA,sha256=ubL6dMbcKclgAeTSnfFag2hOrIO3jtJ7vOTt01U3RJo,11132
|
|
3
|
+
celq-0.3.1.dist-info/WHEEL,sha256=yylKWcexKBlaNV_z8iGyahATbhal1pF7thA651eIJss,102
|
|
4
|
+
celq-0.3.1.dist-info/licenses/LICENSE-APACHE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
5
|
+
celq-0.3.1.dist-info/licenses/LICENSE-MIT,sha256=xz4_I5smf7P5mKBTXiUJIOHlIOw7W1Z4lHmPdvVrm7k,1070
|
|
6
|
+
celq-0.3.1.dist-info/RECORD,,
|
celq-0.3.0.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
celq-0.3.0.data/scripts/celq,sha256=O1A2r7QQpvfL4-DrOI6Ba1bBxHAv6vkP7MStyJJfsCs,5325488
|
|
2
|
-
celq-0.3.0.dist-info/METADATA,sha256=NUMQX3fr8MZWC9e0t2vHJJ4oYM_SUjIIU1-Yt8gqxz0,10828
|
|
3
|
-
celq-0.3.0.dist-info/WHEEL,sha256=yylKWcexKBlaNV_z8iGyahATbhal1pF7thA651eIJss,102
|
|
4
|
-
celq-0.3.0.dist-info/licenses/LICENSE-APACHE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
5
|
-
celq-0.3.0.dist-info/licenses/LICENSE-MIT,sha256=xz4_I5smf7P5mKBTXiUJIOHlIOw7W1Z4lHmPdvVrm7k,1070
|
|
6
|
-
celq-0.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|