@jupyterlite/pyodide-kernel 0.0.2
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.
- package/lib/_pypi.d.ts +6 -0
- package/lib/_pypi.js +7 -0
- package/lib/comlink.worker.d.ts +1 -0
- package/lib/comlink.worker.js +9 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +7 -0
- package/lib/kernel.d.ts +132 -0
- package/lib/kernel.js +245 -0
- package/lib/tokens.d.ts +56 -0
- package/lib/tokens.js +3 -0
- package/lib/worker.d.ts +134 -0
- package/lib/worker.js +32 -0
- package/lib/worker.js.map +7 -0
- package/package.json +82 -0
- package/pypi/all.json +128 -0
- package/pypi/ipykernel-6.9.2-py3-none-any.whl +0 -0
- package/pypi/piplite-0.0.2-py3-none-any.whl +0 -0
- package/pypi/pyodide_kernel-0.0.2-py3-none-any.whl +0 -0
- package/pypi/widgetsnbextension-3.6.0-py3-none-any.whl +0 -0
- package/pypi/widgetsnbextension-4.0.2-py3-none-any.whl +0 -0
- package/style/base.css +4 -0
- package/style/index.css +6 -0
- package/style/index.js +6 -0
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jupyterlite/pyodide-kernel",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "JupyterLite - Pyodide Kernel",
|
|
5
|
+
"homepage": "https://github.com/jupyterlite/pyodide-kernel",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/jupyterlite/pyodide-kernel/issues"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/jupyterlite/pyodide-kernel.git"
|
|
12
|
+
},
|
|
13
|
+
"license": "BSD-3-Clause",
|
|
14
|
+
"author": "JupyterLite Contributors",
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"style/*.css",
|
|
17
|
+
"style/index.js"
|
|
18
|
+
],
|
|
19
|
+
"main": "lib/index.js",
|
|
20
|
+
"types": "lib/index.d.ts",
|
|
21
|
+
"style": "style/index.css",
|
|
22
|
+
"directories": {
|
|
23
|
+
"lib": "lib/",
|
|
24
|
+
"py": "py/"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"lib/*.d.ts",
|
|
28
|
+
"lib/*.js.map",
|
|
29
|
+
"lib/*.js",
|
|
30
|
+
"style/*.css",
|
|
31
|
+
"style/index.js",
|
|
32
|
+
"pypi/*.{json,whl}"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "jlpm build:lib && jlpm build:worker",
|
|
36
|
+
"build:lib": "tsc -b",
|
|
37
|
+
"build:prod": "jlpm build",
|
|
38
|
+
"build:py": "python scripts/generate-wheels-js.py",
|
|
39
|
+
"build:worker": "esbuild --bundle --minify --sourcemap --target=es2019 --format=esm --outfile=lib/worker.js src/worker.ts",
|
|
40
|
+
"dist": "cd ../../dist && npm pack ../packages/pyodide-kernel",
|
|
41
|
+
"clean": "jlpm clean:lib && jlpm clean:py",
|
|
42
|
+
"clean:all": "jlpm clean",
|
|
43
|
+
"clean:lib": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
|
44
|
+
"clean:py": "rimraf pypi src/_pypi.ts",
|
|
45
|
+
"docs": "typedoc src",
|
|
46
|
+
"prepublishOnly": "npm run build",
|
|
47
|
+
"test": "jest",
|
|
48
|
+
"test:cov": "jest --collect-coverage",
|
|
49
|
+
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
50
|
+
"test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
|
|
51
|
+
"watch": "tsc -b --watch"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@jupyterlite/contents": "^0.1.0-beta.18",
|
|
55
|
+
"@jupyterlite/kernel": "^0.1.0-beta.18",
|
|
56
|
+
"comlink": "^4.3.1"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@babel/core": "^7.11.6",
|
|
60
|
+
"@jupyterlab/testutils": "~3.5.2",
|
|
61
|
+
"@types/jest": "^26.0.10",
|
|
62
|
+
"esbuild": "0.17.10",
|
|
63
|
+
"jest": "^26.4.2",
|
|
64
|
+
"pyodide": "0.22.0",
|
|
65
|
+
"rimraf": "~3.0.0",
|
|
66
|
+
"ts-jest": "^26.3.0",
|
|
67
|
+
"typescript": "~4.9.4"
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"access": "public"
|
|
71
|
+
},
|
|
72
|
+
"pyodide-kernel": {
|
|
73
|
+
"packages": {
|
|
74
|
+
"py/pyodide-kernel": "0.0.2",
|
|
75
|
+
"py/piplite": "0.0.2",
|
|
76
|
+
"py/ipykernel": "6.9.2",
|
|
77
|
+
"py/widgetsnbextension3/widgetsnbextension": "3.6.0",
|
|
78
|
+
"py/widgetsnbextension4/widgetsnbextension": "4.0.2"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"styleModule": "style/index.js"
|
|
82
|
+
}
|
package/pypi/all.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ipykernel": {
|
|
3
|
+
"releases": {
|
|
4
|
+
"6.9.2": [
|
|
5
|
+
{
|
|
6
|
+
"comment_text": "",
|
|
7
|
+
"digests": {
|
|
8
|
+
"md5": "8ec7e36800cc935839c4f8c1cf7518c9",
|
|
9
|
+
"sha256": "3702dc5595377ee30c19895b87b0dfac7a1b4398b0318be9bd1de423554e8885"
|
|
10
|
+
},
|
|
11
|
+
"downloads": -1,
|
|
12
|
+
"filename": "ipykernel-6.9.2-py3-none-any.whl",
|
|
13
|
+
"has_sig": false,
|
|
14
|
+
"md5_digest": "8ec7e36800cc935839c4f8c1cf7518c9",
|
|
15
|
+
"packagetype": "bdist_wheel",
|
|
16
|
+
"python_version": "py3",
|
|
17
|
+
"requires_python": ">=3.10",
|
|
18
|
+
"size": 6500,
|
|
19
|
+
"upload_time": "2023-03-06T14:28:57.350608Z",
|
|
20
|
+
"upload_time_iso_8601": "2023-03-06T14:28:57.350608Z",
|
|
21
|
+
"url": "./ipykernel-6.9.2-py3-none-any.whl",
|
|
22
|
+
"yanked": false,
|
|
23
|
+
"yanked_reason": null
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"piplite": {
|
|
29
|
+
"releases": {
|
|
30
|
+
"0.0.2": [
|
|
31
|
+
{
|
|
32
|
+
"comment_text": "",
|
|
33
|
+
"digests": {
|
|
34
|
+
"md5": "02c2b23990f05b60a3d99632bf7837be",
|
|
35
|
+
"sha256": "b61da970080858325562c8b1338f974ce60fe3269e4e504b4b3e61a0e46e4aa0"
|
|
36
|
+
},
|
|
37
|
+
"downloads": -1,
|
|
38
|
+
"filename": "piplite-0.0.2-py3-none-any.whl",
|
|
39
|
+
"has_sig": false,
|
|
40
|
+
"md5_digest": "02c2b23990f05b60a3d99632bf7837be",
|
|
41
|
+
"packagetype": "bdist_wheel",
|
|
42
|
+
"python_version": "py3",
|
|
43
|
+
"requires_python": "<3.11,>=3.10",
|
|
44
|
+
"size": 6719,
|
|
45
|
+
"upload_time": "2023-03-06T14:28:57.350608Z",
|
|
46
|
+
"upload_time_iso_8601": "2023-03-06T14:28:57.350608Z",
|
|
47
|
+
"url": "./piplite-0.0.2-py3-none-any.whl",
|
|
48
|
+
"yanked": false,
|
|
49
|
+
"yanked_reason": null
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"pyodide-kernel": {
|
|
55
|
+
"releases": {
|
|
56
|
+
"0.0.2": [
|
|
57
|
+
{
|
|
58
|
+
"comment_text": "",
|
|
59
|
+
"digests": {
|
|
60
|
+
"md5": "d3385a89284622dd5c8795e9e3a6565a",
|
|
61
|
+
"sha256": "b2fd1f0c7ef2a2b0811fdddd07e934165bd2f379558a0151d7f02d9bacf76165"
|
|
62
|
+
},
|
|
63
|
+
"downloads": -1,
|
|
64
|
+
"filename": "pyodide_kernel-0.0.2-py3-none-any.whl",
|
|
65
|
+
"has_sig": false,
|
|
66
|
+
"md5_digest": "d3385a89284622dd5c8795e9e3a6565a",
|
|
67
|
+
"packagetype": "bdist_wheel",
|
|
68
|
+
"python_version": "py3",
|
|
69
|
+
"requires_python": "<3.11,>=3.10",
|
|
70
|
+
"size": 8222,
|
|
71
|
+
"upload_time": "2023-03-06T14:28:57.350608Z",
|
|
72
|
+
"upload_time_iso_8601": "2023-03-06T14:28:57.350608Z",
|
|
73
|
+
"url": "./pyodide_kernel-0.0.2-py3-none-any.whl",
|
|
74
|
+
"yanked": false,
|
|
75
|
+
"yanked_reason": null
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"widgetsnbextension": {
|
|
81
|
+
"releases": {
|
|
82
|
+
"3.6.0": [
|
|
83
|
+
{
|
|
84
|
+
"comment_text": "",
|
|
85
|
+
"digests": {
|
|
86
|
+
"md5": "aa6afde3431c4abc5389038e1b099279",
|
|
87
|
+
"sha256": "a10242c98943a24bcef15d493978cea68dd3108e3744d347a103950e1b32ea13"
|
|
88
|
+
},
|
|
89
|
+
"downloads": -1,
|
|
90
|
+
"filename": "widgetsnbextension-3.6.0-py3-none-any.whl",
|
|
91
|
+
"has_sig": false,
|
|
92
|
+
"md5_digest": "aa6afde3431c4abc5389038e1b099279",
|
|
93
|
+
"packagetype": "bdist_wheel",
|
|
94
|
+
"python_version": "py3",
|
|
95
|
+
"requires_python": "<3.11,>=3.10",
|
|
96
|
+
"size": 2336,
|
|
97
|
+
"upload_time": "2023-03-06T14:28:57.350608Z",
|
|
98
|
+
"upload_time_iso_8601": "2023-03-06T14:28:57.350608Z",
|
|
99
|
+
"url": "./widgetsnbextension-3.6.0-py3-none-any.whl",
|
|
100
|
+
"yanked": false,
|
|
101
|
+
"yanked_reason": null
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"4.0.2": [
|
|
105
|
+
{
|
|
106
|
+
"comment_text": "",
|
|
107
|
+
"digests": {
|
|
108
|
+
"md5": "569f4763328c9f0805a9701e818cf75c",
|
|
109
|
+
"sha256": "27ae3fcbfe7df5abadf7162c7b44a5057890fdca249dda694635f1858ff07d01"
|
|
110
|
+
},
|
|
111
|
+
"downloads": -1,
|
|
112
|
+
"filename": "widgetsnbextension-4.0.2-py3-none-any.whl",
|
|
113
|
+
"has_sig": false,
|
|
114
|
+
"md5_digest": "569f4763328c9f0805a9701e818cf75c",
|
|
115
|
+
"packagetype": "bdist_wheel",
|
|
116
|
+
"python_version": "py3",
|
|
117
|
+
"requires_python": "<3.11,>=3.10",
|
|
118
|
+
"size": 2337,
|
|
119
|
+
"upload_time": "2023-03-06T14:28:57.350608Z",
|
|
120
|
+
"upload_time_iso_8601": "2023-03-06T14:28:57.350608Z",
|
|
121
|
+
"url": "./widgetsnbextension-4.0.2-py3-none-any.whl",
|
|
122
|
+
"yanked": false,
|
|
123
|
+
"yanked_reason": null
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/style/base.css
ADDED
package/style/index.css
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*-----------------------------------------------------------------------------
|
|
2
|
+
| Copyright (c) Jupyter Development Team.
|
|
3
|
+
| Distributed under the terms of the Modified BSD License.
|
|
4
|
+
|----------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
@import url('./base.css');
|
package/style/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*-----------------------------------------------------------------------------
|
|
2
|
+
| Copyright (c) Jupyter Development Team.
|
|
3
|
+
| Distributed under the terms of the Modified BSD License.
|
|
4
|
+
|----------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
import './base.css';
|