jupyter-ra-extension 1.4.109__py3-none-any.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.
@@ -0,0 +1,16 @@
1
+ try:
2
+ from ._version import __version__
3
+ except ImportError:
4
+ # Fallback when using the package in dev mode without installing
5
+ # in editable mode with pip. It is highly recommended to install
6
+ # the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
7
+ import warnings
8
+ warnings.warn("Importing 'jupyter_ra_extension' outside a proper installation.")
9
+ __version__ = "dev"
10
+
11
+
12
+ def _jupyter_labextension_paths():
13
+ return [{
14
+ "src": "labextension",
15
+ "dest": "jupyter-ra-extension"
16
+ }]
@@ -0,0 +1,4 @@
1
+ # This file is auto-generated by Hatchling. As such, do not:
2
+ # - modify
3
+ # - track in version control e.g. be sure to add to .gitignore
4
+ __version__ = VERSION = '1.4.109'
@@ -0,0 +1,5 @@
1
+ {
2
+ "packageManager": "python",
3
+ "packageName": "jupyter_ra_extension",
4
+ "uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyter_ra_extension"
5
+ }
@@ -0,0 +1,198 @@
1
+ {
2
+ "name": "jupyter-ra-extension",
3
+ "version": "1.4.109",
4
+ "description": "Relational Algebra Symbols in Jupyter Lab",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb",
11
+ "bugs": {
12
+ "url": "https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb/issues"
13
+ },
14
+ "license": "BSD-3-Clause",
15
+ "author": {
16
+ "name": "Eric Tröbs",
17
+ "email": "Eric.Troebs@tu-ilmenau.de"
18
+ },
19
+ "files": [
20
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
21
+ "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
22
+ "src/**/*.{ts,tsx}",
23
+ "schema/*.json"
24
+ ],
25
+ "main": "lib/index.js",
26
+ "types": "lib/index.d.ts",
27
+ "style": "style/index.css",
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb.git"
31
+ },
32
+ "scripts": {
33
+ "build": "jlpm build:lib && jlpm build:labextension:dev",
34
+ "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
35
+ "build:labextension": "jupyter labextension build .",
36
+ "build:labextension:dev": "jupyter labextension build --development True .",
37
+ "build:lib": "tsc --sourceMap",
38
+ "build:lib:prod": "tsc",
39
+ "clean": "jlpm clean:lib",
40
+ "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
41
+ "clean:lintcache": "rimraf .eslintcache .stylelintcache",
42
+ "clean:labextension": "rimraf jupyter_ra_extension/labextension jupyter_ra_extension/_version.py",
43
+ "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
44
+ "eslint": "jlpm eslint:check --fix",
45
+ "eslint:check": "eslint . --cache --ext .ts,.tsx",
46
+ "install:extension": "jlpm build",
47
+ "lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
48
+ "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
49
+ "prettier": "jlpm prettier:base --write --list-different",
50
+ "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
51
+ "prettier:check": "jlpm prettier:base --check",
52
+ "stylelint": "jlpm stylelint:check --fix",
53
+ "stylelint:check": "stylelint --cache \"style/**/*.css\"",
54
+ "watch": "run-p watch:src watch:labextension",
55
+ "watch:src": "tsc -w --sourceMap",
56
+ "watch:labextension": "jupyter labextension watch ."
57
+ },
58
+ "dependencies": {
59
+ "@jupyterlab/application": "^4.0.0",
60
+ "@jupyterlab/notebook": "^4.0.0"
61
+ },
62
+ "devDependencies": {
63
+ "@jupyterlab/builder": "^4.0.0",
64
+ "@jupyterlab/testutils": "^4.0.0",
65
+ "@types/jest": "^29.2.0",
66
+ "@types/json-schema": "^7.0.11",
67
+ "@types/react": "^18.0.26",
68
+ "@types/react-addons-linked-state-mixin": "^0.14.22",
69
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
70
+ "@typescript-eslint/parser": "^6.1.0",
71
+ "css-loader": "^6.7.1",
72
+ "eslint": "^8.36.0",
73
+ "eslint-config-prettier": "^8.8.0",
74
+ "eslint-plugin-prettier": "^5.0.0",
75
+ "jest": "^29.2.0",
76
+ "npm-run-all2": "^7.0.1",
77
+ "prettier": "^3.0.0",
78
+ "rimraf": "^5.0.1",
79
+ "source-map-loader": "^1.0.2",
80
+ "style-loader": "^3.3.1",
81
+ "stylelint": "^15.10.1",
82
+ "stylelint-config-recommended": "^13.0.0",
83
+ "stylelint-config-standard": "^34.0.0",
84
+ "stylelint-csstree-validator": "^3.0.0",
85
+ "stylelint-prettier": "^4.0.0",
86
+ "typescript": "~5.8.0",
87
+ "yjs": "^13.5.0"
88
+ },
89
+ "sideEffects": [
90
+ "style/*.css",
91
+ "style/index.js"
92
+ ],
93
+ "styleModule": "style/index.js",
94
+ "publishConfig": {
95
+ "access": "public"
96
+ },
97
+ "jupyterlab": {
98
+ "extension": true,
99
+ "outputDir": "jupyter_ra_extension/labextension",
100
+ "schemaDir": "schema",
101
+ "_build": {
102
+ "load": "static/remoteEntry.aa5057355581c6cdd14e.js",
103
+ "extension": "./extension",
104
+ "style": "./style"
105
+ }
106
+ },
107
+ "eslintIgnore": [
108
+ "node_modules",
109
+ "dist",
110
+ "coverage",
111
+ "**/*.d.ts"
112
+ ],
113
+ "eslintConfig": {
114
+ "extends": [
115
+ "eslint:recommended",
116
+ "plugin:@typescript-eslint/eslint-recommended",
117
+ "plugin:@typescript-eslint/recommended",
118
+ "plugin:prettier/recommended"
119
+ ],
120
+ "parser": "@typescript-eslint/parser",
121
+ "parserOptions": {
122
+ "project": "tsconfig.json",
123
+ "sourceType": "module"
124
+ },
125
+ "plugins": [
126
+ "@typescript-eslint"
127
+ ],
128
+ "rules": {
129
+ "@typescript-eslint/naming-convention": [
130
+ "error",
131
+ {
132
+ "selector": "interface",
133
+ "format": [
134
+ "PascalCase"
135
+ ],
136
+ "custom": {
137
+ "regex": "^I[A-Z]",
138
+ "match": true
139
+ }
140
+ }
141
+ ],
142
+ "@typescript-eslint/no-unused-vars": [
143
+ "warn",
144
+ {
145
+ "args": "none"
146
+ }
147
+ ],
148
+ "@typescript-eslint/no-explicit-any": "off",
149
+ "@typescript-eslint/no-namespace": "off",
150
+ "@typescript-eslint/no-use-before-define": "off",
151
+ "@typescript-eslint/quotes": [
152
+ "error",
153
+ "single",
154
+ {
155
+ "avoidEscape": true,
156
+ "allowTemplateLiterals": false
157
+ }
158
+ ],
159
+ "curly": [
160
+ "error",
161
+ "all"
162
+ ],
163
+ "eqeqeq": "error",
164
+ "prefer-arrow-callback": "error"
165
+ }
166
+ },
167
+ "prettier": {
168
+ "singleQuote": true,
169
+ "trailingComma": "none",
170
+ "arrowParens": "avoid",
171
+ "endOfLine": "auto",
172
+ "overrides": [
173
+ {
174
+ "files": "package.json",
175
+ "options": {
176
+ "tabWidth": 4
177
+ }
178
+ }
179
+ ]
180
+ },
181
+ "stylelint": {
182
+ "extends": [
183
+ "stylelint-config-recommended",
184
+ "stylelint-config-standard",
185
+ "stylelint-prettier/recommended"
186
+ ],
187
+ "plugins": [
188
+ "stylelint-csstree-validator"
189
+ ],
190
+ "rules": {
191
+ "csstree/validator": true,
192
+ "property-no-vendor-prefix": null,
193
+ "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
194
+ "selector-no-vendor-prefix": null,
195
+ "value-no-vendor-prefix": null
196
+ }
197
+ }
198
+ }
@@ -0,0 +1,193 @@
1
+ {
2
+ "name": "jupyter-ra-extension",
3
+ "version": "1.4.109",
4
+ "description": "Relational Algebra Symbols in Jupyter Lab",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb",
11
+ "bugs": {
12
+ "url": "https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb/issues"
13
+ },
14
+ "license": "BSD-3-Clause",
15
+ "author": {
16
+ "name": "Eric Tröbs",
17
+ "email": "Eric.Troebs@tu-ilmenau.de"
18
+ },
19
+ "files": [
20
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
21
+ "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
22
+ "src/**/*.{ts,tsx}",
23
+ "schema/*.json"
24
+ ],
25
+ "main": "lib/index.js",
26
+ "types": "lib/index.d.ts",
27
+ "style": "style/index.css",
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb.git"
31
+ },
32
+ "scripts": {
33
+ "build": "jlpm build:lib && jlpm build:labextension:dev",
34
+ "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
35
+ "build:labextension": "jupyter labextension build .",
36
+ "build:labextension:dev": "jupyter labextension build --development True .",
37
+ "build:lib": "tsc --sourceMap",
38
+ "build:lib:prod": "tsc",
39
+ "clean": "jlpm clean:lib",
40
+ "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
41
+ "clean:lintcache": "rimraf .eslintcache .stylelintcache",
42
+ "clean:labextension": "rimraf jupyter_ra_extension/labextension jupyter_ra_extension/_version.py",
43
+ "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
44
+ "eslint": "jlpm eslint:check --fix",
45
+ "eslint:check": "eslint . --cache --ext .ts,.tsx",
46
+ "install:extension": "jlpm build",
47
+ "lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
48
+ "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
49
+ "prettier": "jlpm prettier:base --write --list-different",
50
+ "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
51
+ "prettier:check": "jlpm prettier:base --check",
52
+ "stylelint": "jlpm stylelint:check --fix",
53
+ "stylelint:check": "stylelint --cache \"style/**/*.css\"",
54
+ "watch": "run-p watch:src watch:labextension",
55
+ "watch:src": "tsc -w --sourceMap",
56
+ "watch:labextension": "jupyter labextension watch ."
57
+ },
58
+ "dependencies": {
59
+ "@jupyterlab/application": "^4.0.0",
60
+ "@jupyterlab/notebook": "^4.0.0"
61
+ },
62
+ "devDependencies": {
63
+ "@jupyterlab/builder": "^4.0.0",
64
+ "@jupyterlab/testutils": "^4.0.0",
65
+ "@types/jest": "^29.2.0",
66
+ "@types/json-schema": "^7.0.11",
67
+ "@types/react": "^18.0.26",
68
+ "@types/react-addons-linked-state-mixin": "^0.14.22",
69
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
70
+ "@typescript-eslint/parser": "^6.1.0",
71
+ "css-loader": "^6.7.1",
72
+ "eslint": "^8.36.0",
73
+ "eslint-config-prettier": "^8.8.0",
74
+ "eslint-plugin-prettier": "^5.0.0",
75
+ "jest": "^29.2.0",
76
+ "npm-run-all2": "^7.0.1",
77
+ "prettier": "^3.0.0",
78
+ "rimraf": "^5.0.1",
79
+ "source-map-loader": "^1.0.2",
80
+ "style-loader": "^3.3.1",
81
+ "stylelint": "^15.10.1",
82
+ "stylelint-config-recommended": "^13.0.0",
83
+ "stylelint-config-standard": "^34.0.0",
84
+ "stylelint-csstree-validator": "^3.0.0",
85
+ "stylelint-prettier": "^4.0.0",
86
+ "typescript": "~5.8.0",
87
+ "yjs": "^13.5.0"
88
+ },
89
+ "sideEffects": [
90
+ "style/*.css",
91
+ "style/index.js"
92
+ ],
93
+ "styleModule": "style/index.js",
94
+ "publishConfig": {
95
+ "access": "public"
96
+ },
97
+ "jupyterlab": {
98
+ "extension": true,
99
+ "outputDir": "jupyter_ra_extension/labextension",
100
+ "schemaDir": "schema"
101
+ },
102
+ "eslintIgnore": [
103
+ "node_modules",
104
+ "dist",
105
+ "coverage",
106
+ "**/*.d.ts"
107
+ ],
108
+ "eslintConfig": {
109
+ "extends": [
110
+ "eslint:recommended",
111
+ "plugin:@typescript-eslint/eslint-recommended",
112
+ "plugin:@typescript-eslint/recommended",
113
+ "plugin:prettier/recommended"
114
+ ],
115
+ "parser": "@typescript-eslint/parser",
116
+ "parserOptions": {
117
+ "project": "tsconfig.json",
118
+ "sourceType": "module"
119
+ },
120
+ "plugins": [
121
+ "@typescript-eslint"
122
+ ],
123
+ "rules": {
124
+ "@typescript-eslint/naming-convention": [
125
+ "error",
126
+ {
127
+ "selector": "interface",
128
+ "format": [
129
+ "PascalCase"
130
+ ],
131
+ "custom": {
132
+ "regex": "^I[A-Z]",
133
+ "match": true
134
+ }
135
+ }
136
+ ],
137
+ "@typescript-eslint/no-unused-vars": [
138
+ "warn",
139
+ {
140
+ "args": "none"
141
+ }
142
+ ],
143
+ "@typescript-eslint/no-explicit-any": "off",
144
+ "@typescript-eslint/no-namespace": "off",
145
+ "@typescript-eslint/no-use-before-define": "off",
146
+ "@typescript-eslint/quotes": [
147
+ "error",
148
+ "single",
149
+ {
150
+ "avoidEscape": true,
151
+ "allowTemplateLiterals": false
152
+ }
153
+ ],
154
+ "curly": [
155
+ "error",
156
+ "all"
157
+ ],
158
+ "eqeqeq": "error",
159
+ "prefer-arrow-callback": "error"
160
+ }
161
+ },
162
+ "prettier": {
163
+ "singleQuote": true,
164
+ "trailingComma": "none",
165
+ "arrowParens": "avoid",
166
+ "endOfLine": "auto",
167
+ "overrides": [
168
+ {
169
+ "files": "package.json",
170
+ "options": {
171
+ "tabWidth": 4
172
+ }
173
+ }
174
+ ]
175
+ },
176
+ "stylelint": {
177
+ "extends": [
178
+ "stylelint-config-recommended",
179
+ "stylelint-config-standard",
180
+ "stylelint-prettier/recommended"
181
+ ],
182
+ "plugins": [
183
+ "stylelint-csstree-validator"
184
+ ],
185
+ "rules": {
186
+ "csstree/validator": true,
187
+ "property-no-vendor-prefix": null,
188
+ "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
189
+ "selector-no-vendor-prefix": null,
190
+ "value-no-vendor-prefix": null
191
+ }
192
+ }
193
+ }
@@ -0,0 +1,132 @@
1
+ {
2
+ "jupyter.lab.shortcuts": [],
3
+ "title": "toolbar-button",
4
+ "description": "toolbar-button settings.",
5
+ "type": "object",
6
+ "properties": {},
7
+ "additionalProperties": false,
8
+ "jupyter.lab.toolbars": {
9
+ "Notebook": [
10
+ {
11
+ "name": "ratui-spacer1",
12
+ "type": "spacer"
13
+ },
14
+ {
15
+ "name": "ratui-text1",
16
+ "command": "ratui:text1"
17
+ },
18
+ {
19
+ "name": "ratui-projection",
20
+ "command": "ratui:projection"
21
+ },
22
+ {
23
+ "name": "ratui-selection",
24
+ "command": "ratui:selection"
25
+ },
26
+ {
27
+ "name": "ratui-attributerename",
28
+ "command": "ratui:attributerename"
29
+ },
30
+ {
31
+ "name": "ratui-rename",
32
+ "command": "ratui:rename"
33
+ },
34
+ {
35
+ "name": "ratui-cross",
36
+ "command": "ratui:cross"
37
+ },
38
+ {
39
+ "name": "ratui-join",
40
+ "command": "ratui:join"
41
+ },
42
+ {
43
+ "name": "ratui-left-outer-join",
44
+ "command": "ratui:left-outer-join"
45
+ },
46
+ {
47
+ "name": "ratui-right-outer-join",
48
+ "command": "ratui:right-outer-join"
49
+ },
50
+ {
51
+ "name": "ratui-full-outer-join",
52
+ "command": "ratui:full-outer-join"
53
+ },
54
+ {
55
+ "name": "ratui-left-semi-join",
56
+ "command": "ratui:left-semi-join"
57
+ },
58
+ {
59
+ "name": "ratui-right-semi-join",
60
+ "command": "ratui:right-semi-join"
61
+ },
62
+ {
63
+ "name": "ratui-union",
64
+ "command": "ratui:union"
65
+ },
66
+ {
67
+ "name": "ratui-intersection",
68
+ "command": "ratui:intersection"
69
+ },
70
+ {
71
+ "name": "ratui-difference",
72
+ "command": "ratui:difference"
73
+ },
74
+ {
75
+ "name": "ratui-division",
76
+ "command": "ratui:division"
77
+ },
78
+ {
79
+ "name": "ratui-text2",
80
+ "command": "ratui:text2"
81
+ },
82
+ {
83
+ "name": "ratui-arrowleft",
84
+ "command": "ratui:arrowleft"
85
+ },
86
+ {
87
+ "name": "ratui-text3",
88
+ "command": "ratui:text3"
89
+ },
90
+ {
91
+ "name": "ratui-and",
92
+ "command": "ratui:and"
93
+ },
94
+ {
95
+ "name": "ratui-or",
96
+ "command": "ratui:or"
97
+ },
98
+ {
99
+ "name": "ratui-not",
100
+ "command": "ratui:not"
101
+ },
102
+ {
103
+ "name": "ratui-text4",
104
+ "command": "ratui:text4"
105
+ },
106
+ {
107
+ "name": "ratui-equal",
108
+ "command": "ratui:equal"
109
+ },
110
+ {
111
+ "name": "ratui-unequal",
112
+ "command": "ratui:unequal"
113
+ },
114
+ {
115
+ "name": "ratui-lt",
116
+ "command": "ratui:lt"
117
+ },
118
+ {
119
+ "name": "ratui-lte",
120
+ "command": "ratui:lte"
121
+ },
122
+ {
123
+ "name": "ratui-gte",
124
+ "command": "ratui:gte"
125
+ },
126
+ {
127
+ "name": "ratui-gt",
128
+ "command": "ratui:gt"
129
+ }
130
+ ]
131
+ }
132
+ }
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkjupyter_ra_extension=self.webpackChunkjupyter_ra_extension||[]).push([[509],{509:(e,a,t)=>{t.r(a),t.d(a,{default:()=>n});const n={id:"jupyter-ra-extension:plugin",description:"Relational Algebra Symbols in Jupyter Lab",autoStart:!0,requires:[t(762).INotebookTracker],activate:(e,a)=>{console.log("JupyterLab extension jupyter-ra-extension is activated!");const t=e=>{a.currentWidget.content.activeCell.editor.replaceSelection(e)};e.commands.addCommand("ratui:text1",{label:"RA:",caption:"Relational Algebra",isEnabled:()=>!1,execute:()=>{}}),e.commands.addCommand("ratui:projection",{label:"π",caption:"Projection:\nπ [a, b] (R)\nAlternative: pi",execute:()=>t("π")}),e.commands.addCommand("ratui:selection",{label:"σ",caption:"Selection:\nσ [a=1] (R)\nAlternative: sigma",execute:()=>t("σ")}),e.commands.addCommand("ratui:attributerename",{label:"β",caption:"Rename Attribute:\nβ [a←b] (R)\nAlternative: beta",execute:()=>t("β")}),e.commands.addCommand("ratui:rename",{label:"ρ",caption:"Rename:\nρ [ S(A, B, C) ] (R)\nAlternative: rho",execute:()=>t("ρ")}),e.commands.addCommand("ratui:cross",{label:"×",caption:"Cross Product:\nR × S\nAlternative: times",execute:()=>t("×")}),e.commands.addCommand("ratui:join",{label:"⋈",caption:"Natural Join:\nR ⋈ S\nAlternative: join",execute:()=>t("⋈")}),e.commands.addCommand("ratui:left-outer-join",{label:"⟕",caption:"Left Outer Join:\nR ⟕ S\nAlternative: ljoin",execute:()=>t("⟕")}),e.commands.addCommand("ratui:right-outer-join",{label:"⟖",caption:"Right Outer Join:\nR ⟖ S\nAlternative: rjoin",execute:()=>t("⟖")}),e.commands.addCommand("ratui:full-outer-join",{label:"⟗",caption:"Full Outer Join:\nR ⟗ S\nAlternative: fjoin, ojoin",execute:()=>t("⟗")}),e.commands.addCommand("ratui:left-semi-join",{label:"⋉",caption:"Left Semi Join:\nR ⋉ S\nAlternative: lsjoin",execute:()=>t("⋉")}),e.commands.addCommand("ratui:right-semi-join",{label:"⋊",caption:"Right Semi Join:\nR ⋊ S\nAlternative: rsjoin",execute:()=>t("⋊")}),e.commands.addCommand("ratui:union",{label:"∪",caption:"Union:\nR ∪ S\nAlternative: cup",execute:()=>t("∪")}),e.commands.addCommand("ratui:intersection",{label:"∩",caption:"Intersect:\nR ∩ S\nAlternative: cap",execute:()=>t("∩")}),e.commands.addCommand("ratui:difference",{label:"-",caption:"Difference:\nR - S\nAlternative: \\",execute:()=>t("-")}),e.commands.addCommand("ratui:division",{label:"÷",caption:"Division:\nR ÷ S\nAlternative: :",execute:()=>t("÷")}),e.commands.addCommand("ratui:text2",{label:"|",isEnabled:()=>!1,execute:()=>{}}),e.commands.addCommand("ratui:arrowleft",{label:"←",caption:"Alternative: <-",execute:()=>t("←")}),e.commands.addCommand("ratui:text3",{label:"|",isEnabled:()=>!1,execute:()=>{}}),e.commands.addCommand("ratui:and",{label:"∧",caption:"Alternative: and",execute:()=>t("∧")}),e.commands.addCommand("ratui:or",{label:"∨",caption:"Alternative: or",execute:()=>t("∨")}),e.commands.addCommand("ratui:not",{label:"¬",caption:"Alternative: !",execute:()=>t("¬")}),e.commands.addCommand("ratui:text4",{label:"|",isEnabled:()=>!1,execute:()=>{}}),e.commands.addCommand("ratui:equal",{label:"=",execute:()=>t("=")}),e.commands.addCommand("ratui:unequal",{label:"≠",caption:"Alternative: !=",execute:()=>t("≠")}),e.commands.addCommand("ratui:lt",{label:"<",execute:()=>t("<")}),e.commands.addCommand("ratui:lte",{label:"≤",caption:"Alternative: <=",execute:()=>t("≤")}),e.commands.addCommand("ratui:gte",{label:"≥",caption:"Alternative: >=",execute:()=>t("≥")}),e.commands.addCommand("ratui:gt",{label:">",execute:()=>t(">")})}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkjupyter_ra_extension=self.webpackChunkjupyter_ra_extension||[]).push([[728],{56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},72:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},s=[],i=0;i<e.length;i++){var c=e[i],u=r.base?c[0]+r.base:c[0],p=a[u]||0,l="".concat(u," ").concat(p);a[u]=p+1;var f=n(l),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var v=o(d,r);r.byIndex=i,t.splice(i,0,{identifier:l,updater:v,references:1})}s.push(l)}return s}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var s=0;s<a.length;s++){var i=n(a[s]);t[i].references--}for(var c=r(e,o),u=0;u<a.length;u++){var p=n(a[u]);0===t[p].references&&(t[p].updater(),t.splice(p,1))}a=c}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var p=[].concat(e[u]);r&&s[p[0]]||(void 0!==a&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=a),n&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=n):p[2]=n),o&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=o):p[4]="".concat(o)),t.push(p))}},t}},475:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(601),o=n.n(r),a=n(314),s=n.n(a)()(o());s.push([e.id,"/*\n See the JupyterLab Developer Guide for useful CSS Patterns:\n\n https://jupyterlab.readthedocs.io/en/stable/developer/css.html\n*/\n",""]);const i=s},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},601:e=>{e.exports=function(e){return e[1]}},659:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},728:(e,t,n)=>{var r=n(72),o=n.n(r),a=n(825),s=n.n(a),i=n(659),c=n.n(i),u=n(56),p=n.n(u),l=n(540),f=n.n(l),d=n(113),v=n.n(d),h=n(475),m={};m.styleTagTransform=v(),m.setAttributes=p(),m.insert=c().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=f(),o()(h.A,m),h.A&&h.A.locals&&h.A.locals},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}}]);
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,a,i,u,s,l,f,p,d,c,h,v,g,b,m,y={800:(e,r,t)=>{var n={"./index":()=>t.e(509).then(()=>()=>t(509)),"./extension":()=>t.e(509).then(()=>()=>t(509)),"./style":()=>t.e(728).then(()=>()=>t(728))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},w={};function S(e){var r=w[e];if(void 0!==r)return r.exports;var t=w[e]={id:e,exports:{}};return y[e](t,t.exports,S),t.exports}S.m=y,S.c=w,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+"."+{509:"adbdf5599eed0c1fecca",728:"489d5b64fb8978c79b4c"}[e]+".js?v="+{509:"adbdf5599eed0c1fecca",728:"489d5b64fb8978c79b4c"}[e],S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="jupyter-ra-extension:",S.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,u;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var f=s[l];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+o){i=f;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),u&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="jupyter-ra-extension",u=[];return"default"===t&&((e,r,t,n)=>{var o=a[e]=a[e]||{},u=o[r];(!u||!u.loaded&&(1!=!u.eager?n:i>u.from))&&(o[r]={get:()=>S.e(509).then(()=>()=>S(509)),from:i,eager:!1})})("jupyter-ra-extension","1.4.109"),e[t]=u.length?Promise.all(u).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),t=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],u=(typeof i)[0];if(a!=u)return"o"==a&&"n"==u||"s"==u||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(u=e[a]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var i=[];for(a=1;a<e.length;a++){var u=e[a];i.push(0===u?"not("+s()+")":1===u?"("+s()+" || "+s()+")":2===u?i.pop()+" "+i.pop():o(u))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,u=1,s=!0;;u++,i++){var l,f,p=u<e.length?(typeof e[u])[0]:"";if(i>=r.length||"o"==(f=(typeof(l=r[i]))[0]))return!s||("u"==p?u>n&&!o:""==p!=o);if("u"==f){if(!s||"u"!=p)return!1}else if(s)if(p==f)if(u<=n){if(l!=e[u])return!1}else{if(o?l>e[u]:l<e[u])return!1;l!=e[u]&&(s=!1)}else if("s"!=p&&"n"!=p){if(o||u<=n)return!1;s=!1,u--}else{if(u<=n||f<p!=o)return!1;s=!1}else"s"!=p&&"n"!=p&&(s=!1,u--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),s=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),l=(e,r,t)=>{var o=t?s(e[r]):e[r];return Object.keys(o).reduce((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e,0)},f=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",p=e=>{throw new Error(e)},d=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>p("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})((e,r,t,n,o,s)=>{if(!i(r,t))return c(e,t,s);var p=l(r,t,n);return a(o,p)||d(f(r,t,p,o)),u(r[t][p])}),v={},g={762:()=>h("default","@jupyterlab/notebook",!1,[1,4,4,10])},b={509:[762]},m={},S.f.consumes=(e,r)=>{S.o(b,e)&&b[e].forEach(e=>{if(S.o(v,e))return r.push(v[e]);if(!m[e]){var t=r=>{v[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};m[e]=!0;var n=r=>{delete v[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=g[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={760:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,u]=t,s=0;if(a.some(r=>0!==e[r])){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);u&&u(S)}for(r&&r(t);s<a.length;s++)o=a[s],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunkjupyter_ra_extension=self.webpackChunkjupyter_ra_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(800);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["jupyter-ra-extension"]=j})();
@@ -0,0 +1,4 @@
1
+ /* This is a generated file of CSS imports */
2
+ /* It was generated by @jupyterlab/builder in Build.ensureAssets() */
3
+
4
+ import 'jupyter-ra-extension/style/index.js';
@@ -0,0 +1,16 @@
1
+ {
2
+ "packages": [
3
+ {
4
+ "name": "css-loader",
5
+ "versionInfo": "6.11.0",
6
+ "licenseId": "MIT",
7
+ "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
8
+ },
9
+ {
10
+ "name": "style-loader",
11
+ "versionInfo": "3.3.4",
12
+ "licenseId": "MIT",
13
+ "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,132 @@
1
+ Metadata-Version: 2.4
2
+ Name: jupyter_ra_extension
3
+ Version: 1.4.109
4
+ Summary: Relational Algebra Symbols in Jupyter Lab
5
+ Project-URL: Homepage, https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb
6
+ Project-URL: Bug Tracker, https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb/issues
7
+ Project-URL: Repository, https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb.git
8
+ Author-email: Eric Tröbs <Eric.Troebs@tu-ilmenau.de>
9
+ License: BSD 3-Clause License
10
+
11
+ Copyright (c) 2025, Eric Tröbs
12
+ All rights reserved.
13
+
14
+ Redistribution and use in source and binary forms, with or without
15
+ modification, are permitted provided that the following conditions are met:
16
+
17
+ 1. Redistributions of source code must retain the above copyright notice, this
18
+ list of conditions and the following disclaimer.
19
+
20
+ 2. Redistributions in binary form must reproduce the above copyright notice,
21
+ this list of conditions and the following disclaimer in the documentation
22
+ and/or other materials provided with the distribution.
23
+
24
+ 3. Neither the name of the copyright holder nor the names of its
25
+ contributors may be used to endorse or promote products derived from
26
+ this software without specific prior written permission.
27
+
28
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
32
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
35
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
36
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
+ License-File: LICENSE
39
+ Keywords: jupyter,jupyterlab,jupyterlab-extension
40
+ Classifier: Framework :: Jupyter
41
+ Classifier: Framework :: Jupyter :: JupyterLab
42
+ Classifier: Framework :: Jupyter :: JupyterLab :: 4
43
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
44
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
45
+ Classifier: License :: OSI Approved :: BSD License
46
+ Classifier: Programming Language :: Python
47
+ Classifier: Programming Language :: Python :: 3
48
+ Classifier: Programming Language :: Python :: 3.9
49
+ Classifier: Programming Language :: Python :: 3.10
50
+ Classifier: Programming Language :: Python :: 3.11
51
+ Classifier: Programming Language :: Python :: 3.12
52
+ Classifier: Programming Language :: Python :: 3.13
53
+ Requires-Python: >=3.9
54
+ Description-Content-Type: text/markdown
55
+
56
+ # jupyter_ra_extension
57
+
58
+ [![Github Actions Status](https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-ra-extension/workflows/Build/badge.svg)](https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-ra-extension/actions/workflows/build.yml)
59
+
60
+ Relational Algebra Symbols in Jupyter Lab
61
+
62
+ ## Requirements
63
+
64
+ - JupyterLab >= 4.0.0
65
+
66
+ ## Install
67
+
68
+ To install the extension, execute:
69
+
70
+ ```bash
71
+ pip install jupyter_ra_extension
72
+ ```
73
+
74
+ ## Uninstall
75
+
76
+ To remove the extension, execute:
77
+
78
+ ```bash
79
+ pip uninstall jupyter_ra_extension
80
+ ```
81
+
82
+ ## Contributing
83
+
84
+ ### Development install
85
+
86
+ Note: You will need NodeJS to build the extension package.
87
+
88
+ The `jlpm` command is JupyterLab's pinned version of
89
+ [yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
90
+ `yarn` or `npm` in lieu of `jlpm` below.
91
+
92
+ ```bash
93
+ # Clone the repo to your local environment
94
+ # Change directory to the jupyter_ra_extension directory
95
+ # Install package in development mode
96
+ pip install -e "."
97
+ # Link your development version of the extension with JupyterLab
98
+ jupyter labextension develop . --overwrite
99
+ # Rebuild extension Typescript source after making changes
100
+ jlpm build
101
+ ```
102
+
103
+ You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
104
+
105
+ ```bash
106
+ # Watch the source directory in one terminal, automatically rebuilding when needed
107
+ jlpm watch
108
+ # Run JupyterLab in another terminal
109
+ jupyter lab
110
+ ```
111
+
112
+ With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
113
+
114
+ By default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
115
+
116
+ ```bash
117
+ jupyter lab build --minimize=False
118
+ ```
119
+
120
+ ### Development uninstall
121
+
122
+ ```bash
123
+ pip uninstall jupyter_ra_extension
124
+ ```
125
+
126
+ In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
127
+ command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
128
+ folder is located. Then you can remove the symlink named `jupyter-ra-extension` within that folder.
129
+
130
+ ### Packaging the extension
131
+
132
+ See [RELEASE](RELEASE.md)
@@ -0,0 +1,15 @@
1
+ jupyter_ra_extension/__init__.py,sha256=-7yKZDGH8NaEqjgkLxq-Wev9AXK4k98pB4FikDxtuzw,598
2
+ jupyter_ra_extension/_version.py,sha256=CMDf7PfQZ5DH4GCI8cniHA8MrDPp8swnYlMGW62ITSI,173
3
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/package.json,sha256=0yM_EBni0rndYg0eem9f5JiybonU1kwILJHOyBnFKXE,5829
4
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/schemas/jupyter-ra-extension/package.json.orig,sha256=hln7V6xQDev627OF_BEr69whUQQpF9xCK2sXV4IugOs,6573
5
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/schemas/jupyter-ra-extension/plugin.json,sha256=bsCX75y49e8rcIofDcVGiLIUSL2DxY2lsWz6Lw8ftpk,2807
6
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/static/509.adbdf5599eed0c1fecca.js,sha256=rb31WZ7tDB_syoV1S4rApyTpPiVYUISLBZZIrg3ngYU,3654
7
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/static/728.489d5b64fb8978c79b4c.js,sha256=SJ1bZPuJeMebTJAISPzJ90-6WJqzp1vkZzGybGbApnA,4009
8
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/static/remoteEntry.aa5057355581c6cdd14e.js,sha256=qlBXNVWBxs3RTkjiAaBb0RwYHVfrxtYk21DUmJMe5Bs,6606
9
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/static/style.js,sha256=yntdVuBLqH-S2x_gj1AJcLvpX69ofFZlemnEQn2V6Uc,163
10
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453
11
+ jupyter_ra_extension-1.4.109.data/data/share/jupyter/labextensions/jupyter-ra-extension/install.json,sha256=FbA9rECbw91zNDfrhO2P9XiSb0oTxc7p5fRr9xA8Fqo,201
12
+ jupyter_ra_extension-1.4.109.dist-info/METADATA,sha256=i7zGdFpXfJej9hj1DJZEacodttjZrw7fRpjmYk2J7FM,5447
13
+ jupyter_ra_extension-1.4.109.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ jupyter_ra_extension-1.4.109.dist-info/licenses/LICENSE,sha256=KYBg3UnYu6VbKhde_axsC9EDynn29SFOSxRMGTtQFKM,1519
15
+ jupyter_ra_extension-1.4.109.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2025, Eric Tröbs
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.