ggblab 0.9.3__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.
Files changed (26) hide show
  1. ggblab/__init__.py +44 -0
  2. ggblab/_version.py +4 -0
  3. ggblab/comm.py +243 -0
  4. ggblab/construction.py +179 -0
  5. ggblab/errors.py +142 -0
  6. ggblab/ggbapplet.py +293 -0
  7. ggblab/parser.py +486 -0
  8. ggblab/persistent_counter.py +175 -0
  9. ggblab/schema.py +114 -0
  10. ggblab/utils.py +109 -0
  11. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/build_log.json +730 -0
  12. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/install.json +5 -0
  13. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/package.json +210 -0
  14. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/schemas/ggblab/package.json.orig +205 -0
  15. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/schemas/ggblab/plugin.json +8 -0
  16. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/static/lib_index_js.bbfa36bc62ee08eb62b2.js +465 -0
  17. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/static/lib_index_js.bbfa36bc62ee08eb62b2.js.map +1 -0
  18. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/static/remoteEntry.2d29364aef8b527d773e.js +568 -0
  19. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/static/remoteEntry.2d29364aef8b527d773e.js.map +1 -0
  20. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/static/style.js +4 -0
  21. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/static/style_index_js.aab9f5416f41ce79cac3.js +492 -0
  22. ggblab-0.9.3.data/data/share/jupyter/labextensions/ggblab/static/style_index_js.aab9f5416f41ce79cac3.js.map +1 -0
  23. ggblab-0.9.3.dist-info/METADATA +768 -0
  24. ggblab-0.9.3.dist-info/RECORD +26 -0
  25. ggblab-0.9.3.dist-info/WHEEL +4 -0
  26. ggblab-0.9.3.dist-info/licenses/LICENSE +29 -0
@@ -0,0 +1,5 @@
1
+ {
2
+ "packageManager": "python",
3
+ "packageName": "ggblab",
4
+ "uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package ggblab"
5
+ }
@@ -0,0 +1,210 @@
1
+ {
2
+ "name": "ggblab",
3
+ "version": "0.9.3",
4
+ "description": "A JupyterLab extension that embeds GeoGebra for dual-coded geometry and Python programming.",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://github.com/moyhig-ecs/ggblab#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/moyhig-ecs/ggblab/issues"
13
+ },
14
+ "license": "BSD-3-Clause",
15
+ "author": {
16
+ "name": "Manabu Higashida",
17
+ "email": "manabu@higashida.net"
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://github.com/moyhig-ecs/ggblab"
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 ggblab/labextension ggblab/_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
+ "test": "jest --coverage",
55
+ "watch": "run-p watch:src watch:labextension",
56
+ "watch:src": "tsc -w --sourceMap",
57
+ "watch:labextension": "jupyter labextension watch ."
58
+ },
59
+ "dependencies": {
60
+ "@jupyterlab/application": "^4.0.0",
61
+ "@jupyterlab/apputils": "^4.6.1",
62
+ "@jupyterlab/launcher": "^4.5.1",
63
+ "@jupyterlab/settingregistry": "^4.0.0",
64
+ "@lumino/widgets": "^2.7.2",
65
+ "@marshallku/react-postscribe": "^0.2.0",
66
+ "react-meta-tags": "^1.0.1"
67
+ },
68
+ "devDependencies": {
69
+ "@jupyterlab/builder": "^4.0.0",
70
+ "@jupyterlab/testutils": "^4.0.0",
71
+ "@types/jest": "^29.2.0",
72
+ "@types/json-schema": "^7.0.11",
73
+ "@types/react": "^18.0.26",
74
+ "@types/react-addons-linked-state-mixin": "^0.14.22",
75
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
76
+ "@typescript-eslint/parser": "^6.1.0",
77
+ "css-loader": "^6.7.1",
78
+ "eslint": "^8.36.0",
79
+ "eslint-config-prettier": "^8.8.0",
80
+ "eslint-plugin-prettier": "^5.0.0",
81
+ "jest": "^29.2.0",
82
+ "npm-run-all2": "^7.0.1",
83
+ "prettier": "^3.0.0",
84
+ "rimraf": "^5.0.1",
85
+ "source-map-loader": "^1.0.2",
86
+ "style-loader": "^3.3.1",
87
+ "stylelint": "^15.10.1",
88
+ "stylelint-config-recommended": "^13.0.0",
89
+ "stylelint-config-standard": "^34.0.0",
90
+ "stylelint-csstree-validator": "^3.0.0",
91
+ "stylelint-prettier": "^4.0.0",
92
+ "typescript": "~5.5.4",
93
+ "yjs": "^13.5.0"
94
+ },
95
+ "resolutions": {
96
+ "lib0": "0.2.111"
97
+ },
98
+ "sideEffects": [
99
+ "style/*.css",
100
+ "style/index.js"
101
+ ],
102
+ "styleModule": "style/index.js",
103
+ "publishConfig": {
104
+ "access": "public"
105
+ },
106
+ "jupyterlab": {
107
+ "extension": true,
108
+ "outputDir": "ggblab/labextension",
109
+ "schemaDir": "schema",
110
+ "_build": {
111
+ "load": "static/remoteEntry.2d29364aef8b527d773e.js",
112
+ "extension": "./extension",
113
+ "style": "./style"
114
+ }
115
+ },
116
+ "eslintIgnore": [
117
+ "node_modules",
118
+ "dist",
119
+ "coverage",
120
+ "**/*.d.ts",
121
+ "tests",
122
+ "**/__tests__",
123
+ "ui-tests"
124
+ ],
125
+ "eslintConfig": {
126
+ "extends": [
127
+ "eslint:recommended",
128
+ "plugin:@typescript-eslint/eslint-recommended",
129
+ "plugin:@typescript-eslint/recommended",
130
+ "plugin:prettier/recommended"
131
+ ],
132
+ "parser": "@typescript-eslint/parser",
133
+ "parserOptions": {
134
+ "project": "tsconfig.json",
135
+ "sourceType": "module"
136
+ },
137
+ "plugins": [
138
+ "@typescript-eslint"
139
+ ],
140
+ "rules": {
141
+ "@typescript-eslint/naming-convention": [
142
+ "error",
143
+ {
144
+ "selector": "interface",
145
+ "format": [
146
+ "PascalCase"
147
+ ],
148
+ "custom": {
149
+ "regex": "^I[A-Z]",
150
+ "match": true
151
+ }
152
+ }
153
+ ],
154
+ "@typescript-eslint/no-unused-vars": [
155
+ "warn",
156
+ {
157
+ "args": "none"
158
+ }
159
+ ],
160
+ "@typescript-eslint/no-explicit-any": "off",
161
+ "@typescript-eslint/no-namespace": "off",
162
+ "@typescript-eslint/no-use-before-define": "off",
163
+ "@typescript-eslint/quotes": [
164
+ "error",
165
+ "single",
166
+ {
167
+ "avoidEscape": true,
168
+ "allowTemplateLiterals": false
169
+ }
170
+ ],
171
+ "curly": [
172
+ "error",
173
+ "all"
174
+ ],
175
+ "eqeqeq": "error",
176
+ "prefer-arrow-callback": "error"
177
+ }
178
+ },
179
+ "prettier": {
180
+ "singleQuote": true,
181
+ "trailingComma": "none",
182
+ "arrowParens": "avoid",
183
+ "endOfLine": "auto",
184
+ "overrides": [
185
+ {
186
+ "files": "package.json",
187
+ "options": {
188
+ "tabWidth": 4
189
+ }
190
+ }
191
+ ]
192
+ },
193
+ "stylelint": {
194
+ "extends": [
195
+ "stylelint-config-recommended",
196
+ "stylelint-config-standard",
197
+ "stylelint-prettier/recommended"
198
+ ],
199
+ "plugins": [
200
+ "stylelint-csstree-validator"
201
+ ],
202
+ "rules": {
203
+ "csstree/validator": true,
204
+ "property-no-vendor-prefix": null,
205
+ "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
206
+ "selector-no-vendor-prefix": null,
207
+ "value-no-vendor-prefix": null
208
+ }
209
+ }
210
+ }
@@ -0,0 +1,205 @@
1
+ {
2
+ "name": "ggblab",
3
+ "version": "0.9.3",
4
+ "description": "A JupyterLab extension that embeds GeoGebra for dual-coded geometry and Python programming.",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://github.com/moyhig-ecs/ggblab#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/moyhig-ecs/ggblab/issues"
13
+ },
14
+ "license": "BSD-3-Clause",
15
+ "author": {
16
+ "name": "Manabu Higashida",
17
+ "email": "manabu@higashida.net"
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://github.com/moyhig-ecs/ggblab"
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 ggblab/labextension ggblab/_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
+ "test": "jest --coverage",
55
+ "watch": "run-p watch:src watch:labextension",
56
+ "watch:src": "tsc -w --sourceMap",
57
+ "watch:labextension": "jupyter labextension watch ."
58
+ },
59
+ "dependencies": {
60
+ "@jupyterlab/application": "^4.0.0",
61
+ "@jupyterlab/apputils": "^4.6.1",
62
+ "@jupyterlab/launcher": "^4.5.1",
63
+ "@jupyterlab/settingregistry": "^4.0.0",
64
+ "@lumino/widgets": "^2.7.2",
65
+ "@marshallku/react-postscribe": "^0.2.0",
66
+ "react-meta-tags": "^1.0.1"
67
+ },
68
+ "devDependencies": {
69
+ "@jupyterlab/builder": "^4.0.0",
70
+ "@jupyterlab/testutils": "^4.0.0",
71
+ "@types/jest": "^29.2.0",
72
+ "@types/json-schema": "^7.0.11",
73
+ "@types/react": "^18.0.26",
74
+ "@types/react-addons-linked-state-mixin": "^0.14.22",
75
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
76
+ "@typescript-eslint/parser": "^6.1.0",
77
+ "css-loader": "^6.7.1",
78
+ "eslint": "^8.36.0",
79
+ "eslint-config-prettier": "^8.8.0",
80
+ "eslint-plugin-prettier": "^5.0.0",
81
+ "jest": "^29.2.0",
82
+ "npm-run-all2": "^7.0.1",
83
+ "prettier": "^3.0.0",
84
+ "rimraf": "^5.0.1",
85
+ "source-map-loader": "^1.0.2",
86
+ "style-loader": "^3.3.1",
87
+ "stylelint": "^15.10.1",
88
+ "stylelint-config-recommended": "^13.0.0",
89
+ "stylelint-config-standard": "^34.0.0",
90
+ "stylelint-csstree-validator": "^3.0.0",
91
+ "stylelint-prettier": "^4.0.0",
92
+ "typescript": "~5.5.4",
93
+ "yjs": "^13.5.0"
94
+ },
95
+ "resolutions": {
96
+ "lib0": "0.2.111"
97
+ },
98
+ "sideEffects": [
99
+ "style/*.css",
100
+ "style/index.js"
101
+ ],
102
+ "styleModule": "style/index.js",
103
+ "publishConfig": {
104
+ "access": "public"
105
+ },
106
+ "jupyterlab": {
107
+ "extension": true,
108
+ "outputDir": "ggblab/labextension",
109
+ "schemaDir": "schema"
110
+ },
111
+ "eslintIgnore": [
112
+ "node_modules",
113
+ "dist",
114
+ "coverage",
115
+ "**/*.d.ts",
116
+ "tests",
117
+ "**/__tests__",
118
+ "ui-tests"
119
+ ],
120
+ "eslintConfig": {
121
+ "extends": [
122
+ "eslint:recommended",
123
+ "plugin:@typescript-eslint/eslint-recommended",
124
+ "plugin:@typescript-eslint/recommended",
125
+ "plugin:prettier/recommended"
126
+ ],
127
+ "parser": "@typescript-eslint/parser",
128
+ "parserOptions": {
129
+ "project": "tsconfig.json",
130
+ "sourceType": "module"
131
+ },
132
+ "plugins": [
133
+ "@typescript-eslint"
134
+ ],
135
+ "rules": {
136
+ "@typescript-eslint/naming-convention": [
137
+ "error",
138
+ {
139
+ "selector": "interface",
140
+ "format": [
141
+ "PascalCase"
142
+ ],
143
+ "custom": {
144
+ "regex": "^I[A-Z]",
145
+ "match": true
146
+ }
147
+ }
148
+ ],
149
+ "@typescript-eslint/no-unused-vars": [
150
+ "warn",
151
+ {
152
+ "args": "none"
153
+ }
154
+ ],
155
+ "@typescript-eslint/no-explicit-any": "off",
156
+ "@typescript-eslint/no-namespace": "off",
157
+ "@typescript-eslint/no-use-before-define": "off",
158
+ "@typescript-eslint/quotes": [
159
+ "error",
160
+ "single",
161
+ {
162
+ "avoidEscape": true,
163
+ "allowTemplateLiterals": false
164
+ }
165
+ ],
166
+ "curly": [
167
+ "error",
168
+ "all"
169
+ ],
170
+ "eqeqeq": "error",
171
+ "prefer-arrow-callback": "error"
172
+ }
173
+ },
174
+ "prettier": {
175
+ "singleQuote": true,
176
+ "trailingComma": "none",
177
+ "arrowParens": "avoid",
178
+ "endOfLine": "auto",
179
+ "overrides": [
180
+ {
181
+ "files": "package.json",
182
+ "options": {
183
+ "tabWidth": 4
184
+ }
185
+ }
186
+ ]
187
+ },
188
+ "stylelint": {
189
+ "extends": [
190
+ "stylelint-config-recommended",
191
+ "stylelint-config-standard",
192
+ "stylelint-prettier/recommended"
193
+ ],
194
+ "plugins": [
195
+ "stylelint-csstree-validator"
196
+ ],
197
+ "rules": {
198
+ "csstree/validator": true,
199
+ "property-no-vendor-prefix": null,
200
+ "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
201
+ "selector-no-vendor-prefix": null,
202
+ "value-no-vendor-prefix": null
203
+ }
204
+ }
205
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "jupyter.lab.shortcuts": [],
3
+ "title": "ggblab",
4
+ "description": "ggblab settings.",
5
+ "type": "object",
6
+ "properties": {},
7
+ "additionalProperties": false
8
+ }