lam-cli 0.1.0__tar.gz → 0.1.2__tar.gz
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.
- {lam_cli-0.1.0/lam_cli.egg-info → lam_cli-0.1.2}/PKG-INFO +45 -1
- {lam_cli-0.1.0 → lam_cli-0.1.2}/README.md +44 -0
- {lam_cli-0.1.0 → lam_cli-0.1.2}/lam/lam.py +7 -1
- {lam_cli-0.1.0 → lam_cli-0.1.2/lam_cli.egg-info}/PKG-INFO +45 -1
- lam_cli-0.1.2/lam_cli.egg-info/entry_points.txt +2 -0
- {lam_cli-0.1.0 → lam_cli-0.1.2}/setup.py +2 -2
- lam_cli-0.1.0/lam_cli.egg-info/entry_points.txt +0 -2
- {lam_cli-0.1.0 → lam_cli-0.1.2}/LICENSE +0 -0
- {lam_cli-0.1.0 → lam_cli-0.1.2}/lam/__init__.py +0 -0
- {lam_cli-0.1.0 → lam_cli-0.1.2}/lam_cli.egg-info/SOURCES.txt +0 -0
- {lam_cli-0.1.0 → lam_cli-0.1.2}/lam_cli.egg-info/dependency_links.txt +0 -0
- {lam_cli-0.1.0 → lam_cli-0.1.2}/lam_cli.egg-info/requires.txt +0 -0
- {lam_cli-0.1.0 → lam_cli-0.1.2}/lam_cli.egg-info/top_level.txt +0 -0
- {lam_cli-0.1.0 → lam_cli-0.1.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: lam-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Secure data transformation tool supporting JQ and JavaScript (Bun)
|
|
5
5
|
Home-page: https://github.com/laminar-run/lam
|
|
6
6
|
Author: Laminar Run, Inc.
|
|
@@ -194,3 +194,47 @@ Update dependencies:
|
|
|
194
194
|
pip3 install <package>
|
|
195
195
|
pip3 freeze > requirements.txt
|
|
196
196
|
```
|
|
197
|
+
|
|
198
|
+
## Install Locally
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
pip3 install -e .
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## Troubleshooting
|
|
205
|
+
|
|
206
|
+
### Package Installation Issues
|
|
207
|
+
If you encounter issues installing the package with pip, particularly with the certifi dependency, you may see errors like:
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
error: uninstall-no-record-file
|
|
211
|
+
× Cannot uninstall certifi None
|
|
212
|
+
╰─> The package's contents are unknown: no RECORD file was found for certifi.
|
|
213
|
+
```
|
|
214
|
+
This can happen when multiple Python versions are installed or when system packages have been modified. Try these steps:
|
|
215
|
+
|
|
216
|
+
First, identify which Python version you're using:
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
which python3
|
|
220
|
+
python3 --version
|
|
221
|
+
which pip3
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Remove the problematic certifi installation (adjust path based on your Python version):
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
sudo rm -rf /usr/local/lib/python3.13/site-packages/certifi
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
Install certifi directly:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
pip3 install --ignore-installed certifi --break-system-packages
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Then try installing lam-cli again:
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
pip3 install . --break-system-packages
|
|
240
|
+
```
|
|
@@ -139,4 +139,48 @@ Update dependencies:
|
|
|
139
139
|
```bash
|
|
140
140
|
pip3 install <package>
|
|
141
141
|
pip3 freeze > requirements.txt
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## Install Locally
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
pip3 install -e .
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Troubleshooting
|
|
151
|
+
|
|
152
|
+
### Package Installation Issues
|
|
153
|
+
If you encounter issues installing the package with pip, particularly with the certifi dependency, you may see errors like:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
error: uninstall-no-record-file
|
|
157
|
+
× Cannot uninstall certifi None
|
|
158
|
+
╰─> The package's contents are unknown: no RECORD file was found for certifi.
|
|
159
|
+
```
|
|
160
|
+
This can happen when multiple Python versions are installed or when system packages have been modified. Try these steps:
|
|
161
|
+
|
|
162
|
+
First, identify which Python version you're using:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
which python3
|
|
166
|
+
python3 --version
|
|
167
|
+
which pip3
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Remove the problematic certifi installation (adjust path based on your Python version):
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
sudo rm -rf /usr/local/lib/python3.13/site-packages/certifi
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Install certifi directly:
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
pip3 install --ignore-installed certifi --break-system-packages
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Then try installing lam-cli again:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
pip3 install . --break-system-packages
|
|
142
186
|
```
|
|
@@ -486,8 +486,14 @@ def run(program_file: str, input: str, language: str, workspace_id: str,
|
|
|
486
486
|
'stats': stats_data,
|
|
487
487
|
'error': error or None
|
|
488
488
|
}
|
|
489
|
+
logger.info(f"Final stats: {stats_data}")
|
|
490
|
+
|
|
491
|
+
# If result is an array, wrap it in "lam.result"
|
|
492
|
+
if isinstance(result, list):
|
|
493
|
+
result = {"lam.result": result}
|
|
494
|
+
|
|
489
495
|
with open(result_file, 'w') as f:
|
|
490
|
-
json.dump(
|
|
496
|
+
json.dump(result, f, indent=4)
|
|
491
497
|
|
|
492
498
|
except Exception as e:
|
|
493
499
|
stats_data = stats.finalize()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: lam-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Secure data transformation tool supporting JQ and JavaScript (Bun)
|
|
5
5
|
Home-page: https://github.com/laminar-run/lam
|
|
6
6
|
Author: Laminar Run, Inc.
|
|
@@ -194,3 +194,47 @@ Update dependencies:
|
|
|
194
194
|
pip3 install <package>
|
|
195
195
|
pip3 freeze > requirements.txt
|
|
196
196
|
```
|
|
197
|
+
|
|
198
|
+
## Install Locally
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
pip3 install -e .
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## Troubleshooting
|
|
205
|
+
|
|
206
|
+
### Package Installation Issues
|
|
207
|
+
If you encounter issues installing the package with pip, particularly with the certifi dependency, you may see errors like:
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
error: uninstall-no-record-file
|
|
211
|
+
× Cannot uninstall certifi None
|
|
212
|
+
╰─> The package's contents are unknown: no RECORD file was found for certifi.
|
|
213
|
+
```
|
|
214
|
+
This can happen when multiple Python versions are installed or when system packages have been modified. Try these steps:
|
|
215
|
+
|
|
216
|
+
First, identify which Python version you're using:
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
which python3
|
|
220
|
+
python3 --version
|
|
221
|
+
which pip3
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Remove the problematic certifi installation (adjust path based on your Python version):
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
sudo rm -rf /usr/local/lib/python3.13/site-packages/certifi
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
Install certifi directly:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
pip3 install --ignore-installed certifi --break-system-packages
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Then try installing lam-cli again:
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
pip3 install . --break-system-packages
|
|
240
|
+
```
|
|
@@ -8,7 +8,7 @@ long_description = (this_directory / "README.md").read_text()
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='lam-cli',
|
|
11
|
-
version='0.1.
|
|
11
|
+
version='0.1.2',
|
|
12
12
|
packages=find_packages(),
|
|
13
13
|
install_requires=[
|
|
14
14
|
'backoff>=2.2.1',
|
|
@@ -28,7 +28,7 @@ setup(
|
|
|
28
28
|
],
|
|
29
29
|
entry_points={
|
|
30
30
|
'console_scripts': [
|
|
31
|
-
'
|
|
31
|
+
'laminar=lam.lam:lam',
|
|
32
32
|
],
|
|
33
33
|
},
|
|
34
34
|
python_requires='>=3.9',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|