jupyterlab-mlflow 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.
- jupyterlab_mlflow/__init__.py +22 -0
- jupyterlab_mlflow/_version.py +6 -0
- jupyterlab_mlflow/schema/plugin.json +17 -0
- jupyterlab_mlflow/serverextension/__init__.py +29 -0
- jupyterlab_mlflow/serverextension/handlers.py +511 -0
- jupyterlab_mlflow/serverextension/mlflow_server.py +214 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/install.json +12 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/package.json +97 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/schema/plugin.json +17 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/schemas/jupyterlab-mlflow/package.json.orig +93 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/schemas/jupyterlab-mlflow/plugin.json +17 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/218.0cf25be5c060df009f4a.js +1 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/665.f3ea36ea04224fd9c2f3.js +1 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/remoteEntry.cd2e48e97a1a6275a623.js +1 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/style.js +4 -0
- jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/third-party-licenses.json +16 -0
- jupyterlab_mlflow-0.1.0.dist-info/METADATA +157 -0
- jupyterlab_mlflow-0.1.0.dist-info/RECORD +20 -0
- jupyterlab_mlflow-0.1.0.dist-info/WHEEL +4 -0
- jupyterlab_mlflow-0.1.0.dist-info/licenses/LICENSE +30 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,a,i,l,u,f,s,d,p,c,h,v,m,b,g,y={639:(e,r,t)=>{var n={"./index":()=>Promise.all([t.e(665),t.e(218)]).then(()=>()=>t(218)),"./extension":()=>Promise.all([t.e(665),t.e(218)]).then(()=>()=>t(218)),"./style":()=>t.e(665).then(()=>()=>t(665))},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 j(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,j),t.exports}j.m=y,j.c=w,j.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return j.d(r,{a:r}),r},j.d=(e,r)=>{for(var t in r)j.o(r,t)&&!j.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},j.f={},j.e=e=>Promise.all(Object.keys(j.f).reduce((r,t)=>(j.f[t](e,r),r),[])),j.u=e=>e+"."+{218:"0cf25be5c060df009f4a",665:"f3ea36ea04224fd9c2f3"}[e]+".js?v="+{218:"0cf25be5c060df009f4a",665:"f3ea36ea04224fd9c2f3"}[e],j.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),j.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="jupyterlab-mlflow:",j.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var s=u[f];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==r+o){i=s;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",j.nc&&i.setAttribute("nonce",j.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),l&&document.head.appendChild(i)}},j.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{j.S={};var e={},r={};j.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];j.o(j.S,t)||(j.S[t]={});var a=j.S[t],i="jupyterlab-mlflow",l=[];return"default"===t&&((e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(1!=!l.eager?n:i>l.from))&&(o[r]={get:()=>Promise.all([j.e(665),j.e(218)]).then(()=>()=>j(218)),from:i,eager:!1})})("jupyterlab-mlflow","0.1.0"),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{var e;j.g.importScripts&&(e=j.g.location+"");var r=j.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(/\/[^\/]+$/,"/"),j.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],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"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(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():o(l))}return u();function u(){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,l=1,u=!0;;l++,i++){var f,s,d=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(s=(typeof(f=r[i]))[0]))return!u||("u"==d?l>n&&!o:""==d!=o);if("u"==s){if(!u||"u"!=d)return!1}else if(u)if(d==s)if(l<=n){if(f!=e[l])return!1}else{if(o?f>e[l]:f<e[l])return!1;f!=e[l]&&(u=!1)}else if("s"!=d&&"n"!=d){if(o||l<=n)return!1;u=!1,l--}else{if(l<=n||s<d!=o)return!1;u=!1}else"s"!=d&&"n"!=d&&(u=!1,l--)}}var p=[],c=p.pop.bind(p);for(i=1;i<e.length;i++){var h=e[i];p.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>e&&j.o(e,r),l=e=>(e.loaded=1,e.get()),u=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),f=(e,r,t)=>{var o=t?u(e[r]):e[r];return Object.keys(o).reduce((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e,0)},s=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",d=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,a){var i=j.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,j.S[r],t,!1,o,a)):e(r,j.S[r],t,n,o,a)})((e,r,t,n,o,u)=>{if(!i(r,t))return c(e,t,u);var d=f(r,t,n);return a(o,d)||p(s(r,t,d,o)),l(r[t][d])}),v={},m={177:()=>h("default","@jupyterlab/mainmenu",!1,[1,4,4,10]),256:()=>h("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",0]),297:()=>h("default","@jupyterlab/coreutils",!1,[1,6,4,10]),345:()=>h("default","react",!1,[1,18,2,0]),424:()=>h("default","@jupyterlab/translation",!1,[1,4,4,10]),560:()=>h("default","@jupyterlab/settingregistry",!1,[1,4,4,10]),628:()=>h("default","react-dom",!1,[1,18,2,0]),694:()=>h("default","@jupyterlab/ui-components",!1,[1,4,4,10]),860:()=>h("default","@jupyterlab/services",!1,[1,7,4,10]),986:()=>h("default","@jupyterlab/apputils",!1,[1,4,5,10])},b={218:[177,256,297,345,424,560,628,694,860,986]},g={},j.f.consumes=(e,r)=>{j.o(b,e)&&b[e].forEach(e=>{if(j.o(v,e))return r.push(v[e]);if(!g[e]){var t=r=>{v[e]=0,j.m[e]=t=>{delete j.c[e],t.exports=r()}};g[e]=!0;var n=r=>{delete v[e],j.m[e]=t=>{throw delete j.c[e],r}};try{var o=m[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={467:0};j.f.j=(r,t)=>{var n=j.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=j.p+j.u(r),i=new Error;j.l(a,t=>{if(j.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,l]=t,u=0;if(a.some(r=>0!==e[r])){for(n in i)j.o(i,n)&&(j.m[n]=i[n]);l&&l(j)}for(r&&r(t);u<a.length;u++)o=a[u],j.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunkjupyterlab_mlflow=self.webpackChunkjupyterlab_mlflow||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),j.nc=void 0;var S=j(639);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["jupyterlab-mlflow"]=S})();
|
|
@@ -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,157 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: jupyterlab-mlflow
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Project-URL: Homepage, https://github.com/BioLM/jupyterlab-mlflow
|
|
5
|
+
Project-URL: Bug Tracker, https://github.com/BioLM/jupyterlab-mlflow/issues
|
|
6
|
+
Project-URL: Documentation, https://github.com/BioLM/jupyterlab-mlflow#readme
|
|
7
|
+
Project-URL: Source, https://github.com/BioLM/jupyterlab-mlflow
|
|
8
|
+
Author: JupyterLab MLflow Contributors
|
|
9
|
+
License: BSD 3-Clause License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2024, JupyterLab MLflow Contributors
|
|
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
|
+
|
|
39
|
+
License-File: LICENSE
|
|
40
|
+
Keywords: Jupyter,JupyterLab,JupyterLab Extension,MLflow
|
|
41
|
+
Classifier: Framework :: Jupyter
|
|
42
|
+
Classifier: Framework :: Jupyter :: JupyterLab
|
|
43
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: 4
|
|
44
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
45
|
+
Classifier: Programming Language :: Python
|
|
46
|
+
Classifier: Programming Language :: Python :: 3
|
|
47
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
48
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
49
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
50
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
51
|
+
Requires-Python: >=3.8
|
|
52
|
+
Requires-Dist: jupyterlab<5,>=4.0.0
|
|
53
|
+
Requires-Dist: mlflow>=2.0.0
|
|
54
|
+
Requires-Dist: tornado>=6.0.0
|
|
55
|
+
Provides-Extra: test
|
|
56
|
+
Requires-Dist: playwright; extra == 'test'
|
|
57
|
+
Requires-Dist: pytest; extra == 'test'
|
|
58
|
+
Requires-Dist: pytest-asyncio; extra == 'test'
|
|
59
|
+
Requires-Dist: pytest-cov; extra == 'test'
|
|
60
|
+
Requires-Dist: pytest-jupyter[server]>=0.6.0; extra == 'test'
|
|
61
|
+
Description-Content-Type: text/markdown
|
|
62
|
+
|
|
63
|
+
# JupyterLab MLflow Extension
|
|
64
|
+
|
|
65
|
+
A JupyterLab extension for browsing MLflow experiments, runs, models, and artifacts directly from the JupyterLab sidebar.
|
|
66
|
+
|
|
67
|
+
## Features
|
|
68
|
+
|
|
69
|
+
- Browse MLflow experiments, runs, models, and artifacts
|
|
70
|
+
- Tree view for hierarchical navigation
|
|
71
|
+
- Details/Object view for exploring metadata and child objects
|
|
72
|
+
- View artifacts in new JupyterLab tabs
|
|
73
|
+
- Copy experiment/run/model IDs to clipboard
|
|
74
|
+
- Generate and insert MLflow Python API code snippets
|
|
75
|
+
- Connect to remote MLflow tracking servers
|
|
76
|
+
- Launch local MLflow server with SQLite backend
|
|
77
|
+
- Settings UI with environment variable fallback
|
|
78
|
+
- MLflow shortcuts panel for common operations
|
|
79
|
+
|
|
80
|
+
## Requirements
|
|
81
|
+
|
|
82
|
+
- JupyterLab >= 4.0.0
|
|
83
|
+
- Python >= 3.8
|
|
84
|
+
- MLflow >= 2.0.0
|
|
85
|
+
|
|
86
|
+
## Installation
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
pip install jupyterlab-mlflow
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Or install from source:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
git clone https://github.com/BioLM/jupyterlab-mlflow.git
|
|
96
|
+
cd jupyterlab-mlflow
|
|
97
|
+
pip install -e .
|
|
98
|
+
jlpm install
|
|
99
|
+
jlpm build
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Configuration
|
|
103
|
+
|
|
104
|
+
The extension can be configured via:
|
|
105
|
+
|
|
106
|
+
1. **Settings UI**: Open JupyterLab Settings → Advanced Settings Editor → MLflow
|
|
107
|
+
2. **Environment Variable**: Set `MLFLOW_TRACKING_URI` environment variable
|
|
108
|
+
|
|
109
|
+
## Usage
|
|
110
|
+
|
|
111
|
+
1. Configure your MLflow tracking URI in the settings or via environment variable
|
|
112
|
+
2. The MLflow sidebar will appear in the left sidebar
|
|
113
|
+
3. Browse experiments, runs, models, and artifacts
|
|
114
|
+
4. Click on artifacts to view them in new tabs
|
|
115
|
+
5. Right-click on items to copy IDs to clipboard
|
|
116
|
+
|
|
117
|
+
## Development
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
# Install dependencies
|
|
121
|
+
jlpm install
|
|
122
|
+
|
|
123
|
+
# Build the extension
|
|
124
|
+
jlpm build
|
|
125
|
+
|
|
126
|
+
# Watch for changes
|
|
127
|
+
jlpm watch
|
|
128
|
+
|
|
129
|
+
# Run tests
|
|
130
|
+
pytest
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Publishing
|
|
134
|
+
|
|
135
|
+
This package is automatically published to PyPI when a new release is created on GitHub.
|
|
136
|
+
|
|
137
|
+
### Setting Up Automated Publishing
|
|
138
|
+
|
|
139
|
+
1. **Configure PyPI Trusted Publishing:**
|
|
140
|
+
- Go to https://pypi.org/manage/project/jupyterlab-mlflow/settings/publishing/
|
|
141
|
+
- Add a trusted publisher with:
|
|
142
|
+
- Owner: `BioLM`
|
|
143
|
+
- Repository: `jupyterlab-mlflow`
|
|
144
|
+
- Workflow name: `publish.yml`
|
|
145
|
+
|
|
146
|
+
2. **Create a GitHub Release:**
|
|
147
|
+
- Update version in `package.json`
|
|
148
|
+
- Tag and push: `git tag v0.1.0 && git push origin v0.1.0`
|
|
149
|
+
- Create a release on GitHub with the same tag
|
|
150
|
+
- The workflow will automatically build and publish to PyPI
|
|
151
|
+
|
|
152
|
+
See [PUBLISHING.md](PUBLISHING.md) for detailed instructions.
|
|
153
|
+
|
|
154
|
+
## License
|
|
155
|
+
|
|
156
|
+
BSD-3-Clause
|
|
157
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
jupyterlab_mlflow/__init__.py,sha256=W1Jx8m7jIc1HBgrU3GSqtWl0JsUKCSsB85219CfDQj0,575
|
|
2
|
+
jupyterlab_mlflow/_version.py,sha256=9qOVBsYE_vbj70hEIQq8SYTXWdUYuo6Da3dBCK8svYk,74
|
|
3
|
+
jupyterlab_mlflow/schema/plugin.json,sha256=TgCNjgq6FzraUxdPYGLxyFGLJEo7VQWMAFi-12voe5Q,503
|
|
4
|
+
jupyterlab_mlflow/serverextension/__init__.py,sha256=UUf4igQ1_7S3qMEJN5qWaD7tsWUbB-UZPNsN2-0iJng,696
|
|
5
|
+
jupyterlab_mlflow/serverextension/handlers.py,sha256=Z2MnwtLEFgGXIs_R2_W2sWahYxMyqBBTSbaJ5skSwQ0,18479
|
|
6
|
+
jupyterlab_mlflow/serverextension/mlflow_server.py,sha256=e8YkCNPUGgkA6kXSJUX5N78jrzlMCYzTdvFw3AzymLQ,5979
|
|
7
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/package.json,sha256=KRINvW7q-CeJXK4OexxCH6h0McbHWIfwuD_AJ2m8aO8,3182
|
|
8
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/schemas/jupyterlab-mlflow/package.json.orig,sha256=MjUiubT7jzbXjUSUhY3y6RviU43g_LzrLux-cYznt2o,3041
|
|
9
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/schemas/jupyterlab-mlflow/plugin.json,sha256=TgCNjgq6FzraUxdPYGLxyFGLJEo7VQWMAFi-12voe5Q,503
|
|
10
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/218.0cf25be5c060df009f4a.js,sha256=DPJb5cBg3wCfSkM3RZU6s5GB3K6f07xVMUbTXgN8XgA,50621
|
|
11
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/665.f3ea36ea04224fd9c2f3.js,sha256=8-o26gQiT9nC89nduihMFzZBRcEuPMOMj47_MKC6-hc,17506
|
|
12
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/remoteEntry.cd2e48e97a1a6275a623.js,sha256=zS5I6XoaYnWmI98KypzkEP_IeNHZqK29bPc7qNranww,7211
|
|
13
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/style.js,sha256=qZQWLm8ds47aDuDMtlQWIM9IhrYKCyoJeYaFN0JuUSs,161
|
|
14
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453
|
|
15
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/install.json,sha256=JjKZHYYwXmQr7CM7T9M_MNUZit5WHAEhyVsd72g36Us,188
|
|
16
|
+
jupyterlab_mlflow-0.1.0.data/data/share/jupyter/labextensions/jupyterlab-mlflow/schema/plugin.json,sha256=TgCNjgq6FzraUxdPYGLxyFGLJEo7VQWMAFi-12voe5Q,503
|
|
17
|
+
jupyterlab_mlflow-0.1.0.dist-info/METADATA,sha256=6nRDoNHZtkDfcNxzEHpJ7DNhgCWME8OoS1i3sO9lhqY,5477
|
|
18
|
+
jupyterlab_mlflow-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
19
|
+
jupyterlab_mlflow-0.1.0.dist-info/licenses/LICENSE,sha256=eGaPCenwpEVLoNaurPUkeWWbYzHAKwphBjHhZU0_5Tc,1539
|
|
20
|
+
jupyterlab_mlflow-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024, JupyterLab MLflow Contributors
|
|
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.
|
|
30
|
+
|