-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathkernel.v0.schema.json
More file actions
65 lines (65 loc) · 2.1 KB
/
kernel.v0.schema.json
File metadata and controls
65 lines (65 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://jupyterlite-pyodide-kernel.readthedocs.org/en/latest/reference/schema/settings-v0.html#",
"title": "Pyodide Kernel Settings Schema v0",
"description": "Pyodide-specific configuration values. Will be defined in another location in the future.",
"type": "object",
"properties": {
"pyodideUrl": {
"description": "The path to the main pyodide.js entry point",
"type": "string",
"default": "https://cdn.jsdelivr.net/pyodide/v0.29.3/full/pyodide.js",
"format": "uri-reference"
},
"disablePyPIFallback": {
"description": "Disable the piplite behavior of falling back to https://pypi.org/pypi/",
"default": false,
"type": "boolean"
},
"pipliteUrls": {
"description": "Paths to PyPI-compatible API endpoints for wheels. If ending in ``all.json``, assumed to be an aggregate, keyed by package name, with relative paths",
"type": "array",
"items": {
"type": "string"
},
"default": [],
"format": "uri"
},
"pipliteInstallDefaultOptions": {
"type": "object",
"description": "Default options to pass to piplite.install",
"default": {},
"properties": {
"index_urls": {
"description": "Base URL(s) of extra indices to use, passed as `index_urls` to micropip.install. Accepts a single URL string or a list of URL strings.",
"oneOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
}
}
]
}
}
},
"loadPyodideOptions": {
"type": "object",
"description": "additional options to provide to `loadPyodide`, see https://pyodide.org/en/stable/usage/api/js-api.html#globalThis.loadPyodide",
"default": {},
"properties": {
"packages": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}