jl-db-comp 0.1.0__py3-none-any.whl → 0.1.1__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 (37) hide show
  1. jl_db_comp/_version.py +1 -1
  2. jl_db_comp/connections.py +173 -0
  3. jl_db_comp/routes.py +353 -7
  4. jl_db_comp/tests/test_routes.py +1 -1
  5. {jl_db_comp/labextension → jl_db_comp-0.1.1.data/data/share/jupyter/labextensions/jl_db_comp}/package.json +3 -2
  6. {jl_db_comp-0.1.0.data → jl_db_comp-0.1.1.data}/data/share/jupyter/labextensions/jl_db_comp/schemas/jl_db_comp/package.json.orig +2 -1
  7. {jl_db_comp-0.1.0.data → jl_db_comp-0.1.1.data}/data/share/jupyter/labextensions/jl_db_comp/schemas/jl_db_comp/plugin.json +4 -4
  8. jl_db_comp-0.1.1.data/data/share/jupyter/labextensions/jl_db_comp/static/171.d366980651e0db8d978c.js +1 -0
  9. jl_db_comp-0.1.1.data/data/share/jupyter/labextensions/jl_db_comp/static/728.6552504d5b9b27551bc5.js +1 -0
  10. jl_db_comp-0.1.1.data/data/share/jupyter/labextensions/jl_db_comp/static/remoteEntry.48c365d3de0d860be537.js +1 -0
  11. jl_db_comp-0.1.1.data/data/share/jupyter/labextensions/jl_db_comp/static/third-party-licenses.json +16 -0
  12. {jl_db_comp-0.1.0.dist-info → jl_db_comp-0.1.1.dist-info}/METADATA +103 -1
  13. jl_db_comp-0.1.1.dist-info/RECORD +20 -0
  14. jl_db_comp/labextension/build_log.json +0 -728
  15. jl_db_comp/labextension/schemas/jl_db_comp/package.json.orig +0 -214
  16. jl_db_comp/labextension/schemas/jl_db_comp/plugin.json +0 -27
  17. jl_db_comp/labextension/static/lib_index_js.a0969ed73da70f2cc451.js +0 -561
  18. jl_db_comp/labextension/static/lib_index_js.a0969ed73da70f2cc451.js.map +0 -1
  19. jl_db_comp/labextension/static/remoteEntry.5763ae02737e035e938c.js +0 -560
  20. jl_db_comp/labextension/static/remoteEntry.5763ae02737e035e938c.js.map +0 -1
  21. jl_db_comp/labextension/static/style.js +0 -4
  22. jl_db_comp/labextension/static/style_index_js.5364c7419a6b9db5d727.js +0 -508
  23. jl_db_comp/labextension/static/style_index_js.5364c7419a6b9db5d727.js.map +0 -1
  24. jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/build_log.json +0 -728
  25. jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/package.json +0 -219
  26. jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/lib_index_js.a0969ed73da70f2cc451.js +0 -561
  27. jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/lib_index_js.a0969ed73da70f2cc451.js.map +0 -1
  28. jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/remoteEntry.5763ae02737e035e938c.js +0 -560
  29. jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/remoteEntry.5763ae02737e035e938c.js.map +0 -1
  30. jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/style_index_js.5364c7419a6b9db5d727.js +0 -508
  31. jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/style_index_js.5364c7419a6b9db5d727.js.map +0 -1
  32. jl_db_comp-0.1.0.dist-info/RECORD +0 -33
  33. {jl_db_comp-0.1.0.data → jl_db_comp-0.1.1.data}/data/etc/jupyter/jupyter_server_config.d/jl_db_comp.json +0 -0
  34. {jl_db_comp-0.1.0.data → jl_db_comp-0.1.1.data}/data/share/jupyter/labextensions/jl_db_comp/install.json +0 -0
  35. {jl_db_comp-0.1.0.data → jl_db_comp-0.1.1.data}/data/share/jupyter/labextensions/jl_db_comp/static/style.js +0 -0
  36. {jl_db_comp-0.1.0.dist-info → jl_db_comp-0.1.1.dist-info}/WHEEL +0 -0
  37. {jl_db_comp-0.1.0.dist-info → jl_db_comp-0.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,219 +0,0 @@
1
- {
2
- "name": "jl_db_comp",
3
- "version": "0.1.0",
4
- "description": "A JupyterLab extension to complete db queries in jupyterlab notebooks",
5
- "keywords": [
6
- "jupyter",
7
- "jupyterlab",
8
- "jupyterlab-extension"
9
- ],
10
- "homepage": "https://github.com/Ben-Herz/jl_db_completer",
11
- "bugs": {
12
- "url": "https://github.com/Ben-Herz/jl_db_completer/issues"
13
- },
14
- "license": "BSD-3-Clause",
15
- "author": {
16
- "name": "jl_db_completer",
17
- "email": "herzben@pm.me"
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/Ben-Herz/jl_db_completer.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 jl_db_comp/labextension jl_db_comp/_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/completer": "^4.0.0",
62
- "@jupyterlab/coreutils": "^6.0.0",
63
- "@jupyterlab/services": "^7.0.0",
64
- "@jupyterlab/settingregistry": "^4.0.0"
65
- },
66
- "devDependencies": {
67
- "@jupyterlab/builder": "^4.0.0",
68
- "@jupyterlab/testutils": "^4.0.0",
69
- "@types/jest": "^29.2.0",
70
- "@types/json-schema": "^7.0.11",
71
- "@types/react": "^18.0.26",
72
- "@types/react-addons-linked-state-mixin": "^0.14.22",
73
- "@typescript-eslint/eslint-plugin": "^6.1.0",
74
- "@typescript-eslint/parser": "^6.1.0",
75
- "css-loader": "^6.7.1",
76
- "eslint": "^8.36.0",
77
- "eslint-config-prettier": "^8.8.0",
78
- "eslint-plugin-prettier": "^5.0.0",
79
- "jest": "^29.2.0",
80
- "mkdirp": "^1.0.3",
81
- "npm-run-all2": "^7.0.1",
82
- "prettier": "^3.0.0",
83
- "rimraf": "^5.0.1",
84
- "source-map-loader": "^1.0.2",
85
- "style-loader": "^3.3.1",
86
- "stylelint": "^15.10.1",
87
- "stylelint-config-recommended": "^13.0.0",
88
- "stylelint-config-standard": "^34.0.0",
89
- "stylelint-csstree-validator": "^3.0.0",
90
- "stylelint-prettier": "^4.0.0",
91
- "typescript": "~5.5.4",
92
- "yjs": "^13.5.0"
93
- },
94
- "resolutions": {
95
- "lib0": "0.2.111"
96
- },
97
- "sideEffects": [
98
- "style/*.css",
99
- "style/index.js"
100
- ],
101
- "styleModule": "style/index.js",
102
- "publishConfig": {
103
- "access": "public"
104
- },
105
- "jupyterlab": {
106
- "discovery": {
107
- "server": {
108
- "managers": [
109
- "pip"
110
- ],
111
- "base": {
112
- "name": "jl_db_comp"
113
- }
114
- }
115
- },
116
- "extension": true,
117
- "outputDir": "jl_db_comp/labextension",
118
- "schemaDir": "schema",
119
- "_build": {
120
- "load": "static/remoteEntry.5763ae02737e035e938c.js",
121
- "extension": "./extension",
122
- "style": "./style"
123
- }
124
- },
125
- "eslintIgnore": [
126
- "node_modules",
127
- "dist",
128
- "coverage",
129
- "**/*.d.ts",
130
- "tests",
131
- "**/__tests__",
132
- "ui-tests"
133
- ],
134
- "eslintConfig": {
135
- "extends": [
136
- "eslint:recommended",
137
- "plugin:@typescript-eslint/eslint-recommended",
138
- "plugin:@typescript-eslint/recommended",
139
- "plugin:prettier/recommended"
140
- ],
141
- "parser": "@typescript-eslint/parser",
142
- "parserOptions": {
143
- "project": "tsconfig.json",
144
- "sourceType": "module"
145
- },
146
- "plugins": [
147
- "@typescript-eslint"
148
- ],
149
- "rules": {
150
- "@typescript-eslint/naming-convention": [
151
- "error",
152
- {
153
- "selector": "interface",
154
- "format": [
155
- "PascalCase"
156
- ],
157
- "custom": {
158
- "regex": "^I[A-Z]",
159
- "match": true
160
- }
161
- }
162
- ],
163
- "@typescript-eslint/no-unused-vars": [
164
- "warn",
165
- {
166
- "args": "none"
167
- }
168
- ],
169
- "@typescript-eslint/no-explicit-any": "off",
170
- "@typescript-eslint/no-namespace": "off",
171
- "@typescript-eslint/no-use-before-define": "off",
172
- "@typescript-eslint/quotes": [
173
- "error",
174
- "single",
175
- {
176
- "avoidEscape": true,
177
- "allowTemplateLiterals": false
178
- }
179
- ],
180
- "curly": [
181
- "error",
182
- "all"
183
- ],
184
- "eqeqeq": "error",
185
- "prefer-arrow-callback": "error"
186
- }
187
- },
188
- "prettier": {
189
- "singleQuote": true,
190
- "trailingComma": "none",
191
- "arrowParens": "avoid",
192
- "endOfLine": "auto",
193
- "overrides": [
194
- {
195
- "files": "package.json",
196
- "options": {
197
- "tabWidth": 4
198
- }
199
- }
200
- ]
201
- },
202
- "stylelint": {
203
- "extends": [
204
- "stylelint-config-recommended",
205
- "stylelint-config-standard",
206
- "stylelint-prettier/recommended"
207
- ],
208
- "plugins": [
209
- "stylelint-csstree-validator"
210
- ],
211
- "rules": {
212
- "csstree/validator": true,
213
- "property-no-vendor-prefix": null,
214
- "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
215
- "selector-no-vendor-prefix": null,
216
- "value-no-vendor-prefix": null
217
- }
218
- }
219
- }