jl-db-comp 0.1.0__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.
- jl_db_comp/__init__.py +36 -0
- jl_db_comp/_version.py +4 -0
- jl_db_comp/labextension/build_log.json +728 -0
- jl_db_comp/labextension/package.json +219 -0
- jl_db_comp/labextension/schemas/jl_db_comp/package.json.orig +214 -0
- jl_db_comp/labextension/schemas/jl_db_comp/plugin.json +27 -0
- jl_db_comp/labextension/static/lib_index_js.a0969ed73da70f2cc451.js +561 -0
- jl_db_comp/labextension/static/lib_index_js.a0969ed73da70f2cc451.js.map +1 -0
- jl_db_comp/labextension/static/remoteEntry.5763ae02737e035e938c.js +560 -0
- jl_db_comp/labextension/static/remoteEntry.5763ae02737e035e938c.js.map +1 -0
- jl_db_comp/labextension/static/style.js +4 -0
- jl_db_comp/labextension/static/style_index_js.5364c7419a6b9db5d727.js +508 -0
- jl_db_comp/labextension/static/style_index_js.5364c7419a6b9db5d727.js.map +1 -0
- jl_db_comp/routes.py +332 -0
- jl_db_comp/tests/__init__.py +1 -0
- jl_db_comp/tests/test_routes.py +49 -0
- jl_db_comp-0.1.0.data/data/etc/jupyter/jupyter_server_config.d/jl_db_comp.json +7 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/build_log.json +728 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/install.json +5 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/package.json +219 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/schemas/jl_db_comp/package.json.orig +214 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/schemas/jl_db_comp/plugin.json +27 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/lib_index_js.a0969ed73da70f2cc451.js +561 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/lib_index_js.a0969ed73da70f2cc451.js.map +1 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/remoteEntry.5763ae02737e035e938c.js +560 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/remoteEntry.5763ae02737e035e938c.js.map +1 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/style.js +4 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/style_index_js.5364c7419a6b9db5d727.js +508 -0
- jl_db_comp-0.1.0.data/data/share/jupyter/labextensions/jl_db_comp/static/style_index_js.5364c7419a6b9db5d727.js.map +1 -0
- jl_db_comp-0.1.0.dist-info/METADATA +440 -0
- jl_db_comp-0.1.0.dist-info/RECORD +33 -0
- jl_db_comp-0.1.0.dist-info/WHEEL +4 -0
- jl_db_comp-0.1.0.dist-info/licenses/LICENSE +29 -0
jl_db_comp/__init__.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
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 'jl_db_comp' outside a proper installation.")
|
|
9
|
+
__version__ = "dev"
|
|
10
|
+
from .routes import setup_route_handlers
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _jupyter_labextension_paths():
|
|
14
|
+
return [{
|
|
15
|
+
"src": "labextension",
|
|
16
|
+
"dest": "jl_db_comp"
|
|
17
|
+
}]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _jupyter_server_extension_points():
|
|
21
|
+
return [{
|
|
22
|
+
"module": "jl_db_comp"
|
|
23
|
+
}]
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def _load_jupyter_server_extension(server_app):
|
|
27
|
+
"""Registers the API handler to receive HTTP requests from the frontend extension.
|
|
28
|
+
|
|
29
|
+
Parameters
|
|
30
|
+
----------
|
|
31
|
+
server_app: jupyterlab.labapp.LabApp
|
|
32
|
+
JupyterLab application instance
|
|
33
|
+
"""
|
|
34
|
+
setup_route_handlers(server_app.web_app)
|
|
35
|
+
name = "jl_db_comp"
|
|
36
|
+
server_app.log.info(f"Registered {name} server extension")
|
jl_db_comp/_version.py
ADDED