File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,35 +13,35 @@ No installation needed! Run directly using Deno with JSR.
13
13
Run a simple Python statement:
14
14
15
15
``` shell
16
- deno run -A jsr:@eyurtsev /pyodide-sandbox -c " print('Hello, World!')"
16
+ deno run -A jsr:@langchain /pyodide-sandbox -c " print('Hello, World!')"
17
17
```
18
18
19
19
Run calculations and get results:
20
20
21
21
``` shell
22
- deno run -A jsr:@eyurtsev /pyodide-sandbox -c " result = 2 + 2; print(f'2 + 2 = {result}')"
22
+ deno run -A jsr:@langchain /pyodide-sandbox -c " result = 2 + 2; print(f'2 + 2 = {result}')"
23
23
```
24
24
25
25
### Using External Packages
26
26
27
27
Imports will be automatically detected and installed using micropip if possible:
28
28
29
29
``` shell
30
- deno run -A jsr:@eyurtsev /pyodide-sandbox -c " import numpy as np; x = np.ones((3, 3)); print(x)"
30
+ deno run -A jsr:@langchain /pyodide-sandbox -c " import numpy as np; x = np.ones((3, 3)); print(x)"
31
31
```
32
32
33
33
### Stateful Sessions
34
34
35
35
Create a stateful session that remembers variables:
36
36
37
37
``` shell
38
- deno run -A jsr:@eyurtsev /pyodide-sandbox -c " import numpy as np; x = np.ones((3, 3))" -s
38
+ deno run -A jsr:@langchain /pyodide-sandbox -c " import numpy as np; x = np.ones((3, 3))" -s
39
39
```
40
40
41
41
Use the previous session to access variables:
42
42
43
43
``` shell
44
- deno run -A jsr:@eyurtsev /pyodide-sandbox -c " print(x)" -s -b < session_bytes>
44
+ deno run -A jsr:@langchain /pyodide-sandbox -c " print(x)" -s -b < session_bytes>
45
45
```
46
46
47
47
## Notes on Package Compatibility
You can’t perform that action at this time.
0 commit comments