marimo-jupyter-extension 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.
Files changed (30) hide show
  1. marimo_jupyter_extension/__init__.py +58 -0
  2. marimo_jupyter_extension/config.py +82 -0
  3. marimo_jupyter_extension/convert.py +31 -0
  4. marimo_jupyter_extension/etc/jupyter_server_config.d/marimo_jupyter_extension.json +7 -0
  5. marimo_jupyter_extension/executable.py +63 -0
  6. marimo_jupyter_extension/exporter.py +70 -0
  7. marimo_jupyter_extension/handlers.py +179 -0
  8. marimo_jupyter_extension/icon.svg +84 -0
  9. marimo_jupyter_extension/labextension/package.json +86 -0
  10. marimo_jupyter_extension/labextension/schemas/@marimo-team/jupyter-extension/package.json.orig +77 -0
  11. marimo_jupyter_extension/labextension/schemas/@marimo-team/jupyter-extension/plugin.json +7 -0
  12. marimo_jupyter_extension/labextension/static/510.5a6289689ce7a0453fc4.js +1 -0
  13. marimo_jupyter_extension/labextension/static/remoteEntry.705371d091b7d314fd9e.js +1 -0
  14. marimo_jupyter_extension/labextension/static/style.js +4 -0
  15. marimo_jupyter_extension/labextension/static/third-party-licenses.json +16 -0
  16. marimo_jupyter_extension-0.1.0.data/data/etc/jupyter/jupyter_server_config.d/marimo_jupyter_extension.json +7 -0
  17. marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/install.json +5 -0
  18. marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/package.json +86 -0
  19. marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/schemas/@marimo-team/jupyter-extension/package.json.orig +77 -0
  20. marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/schemas/@marimo-team/jupyter-extension/plugin.json +7 -0
  21. marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/static/510.5a6289689ce7a0453fc4.js +1 -0
  22. marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/static/remoteEntry.705371d091b7d314fd9e.js +1 -0
  23. marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/static/style.js +4 -0
  24. marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/static/third-party-licenses.json +16 -0
  25. marimo_jupyter_extension-0.1.0.dist-info/METADATA +174 -0
  26. marimo_jupyter_extension-0.1.0.dist-info/RECORD +30 -0
  27. marimo_jupyter_extension-0.1.0.dist-info/WHEEL +4 -0
  28. marimo_jupyter_extension-0.1.0.dist-info/entry_points.txt +5 -0
  29. marimo_jupyter_extension-0.1.0.dist-info/licenses/LICENSE +201 -0
  30. marimo_jupyter_extension-0.1.0.dist-info/licenses/NOTICE +21 -0
@@ -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
+
@@ -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,174 @@
1
+ Metadata-Version: 2.4
2
+ Name: marimo-jupyter-extension
3
+ Version: 0.1.0
4
+ Summary: Jupyter extension to proxy marimo with JupyterLab integration
5
+ Project-URL: Homepage, https://github.com/marimo-team/marimo-jupyter-extension
6
+ Project-URL: Documentation, https://marimo-team.github.io/marimo-jupyter-extension/
7
+ Project-URL: Repository, https://github.com/marimo-team/marimo-jupyter-extension
8
+ Project-URL: Issues, https://github.com/marimo-team/marimo-jupyter-extension/issues
9
+ Author: Marimo Team, Jiang Yio
10
+ License-Expression: Apache-2.0
11
+ License-File: LICENSE
12
+ License-File: NOTICE
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Framework :: Jupyter
15
+ Classifier: Framework :: Jupyter :: JupyterLab
16
+ Classifier: Framework :: Jupyter :: JupyterLab :: 4
17
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
18
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
19
+ Classifier: Intended Audience :: Developers
20
+ Classifier: Intended Audience :: Science/Research
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Requires-Python: >=3.10
27
+ Requires-Dist: jupyter-server-proxy
28
+ Requires-Dist: nbconvert>=7.0
29
+ Requires-Dist: pyzmq>=27.1.0
30
+ Requires-Dist: traitlets>=5.0
31
+ Requires-Dist: uv>=0.4
32
+ Provides-Extra: dev
33
+ Requires-Dist: pytest-cov>=4.0; extra == 'dev'
34
+ Requires-Dist: pytest>=7.0; extra == 'dev'
35
+ Requires-Dist: ruff>=0.8.0; extra == 'dev'
36
+ Provides-Extra: docs
37
+ Requires-Dist: mkdocs-material>=9.0; extra == 'docs'
38
+ Requires-Dist: mkdocs>=1.5; extra == 'docs'
39
+ Description-Content-Type: text/markdown
40
+
41
+ <p align="center">
42
+ <img src="https://raw.githubusercontent.com/marimo-team/marimo/main/docs/_static/marimo-logotype-thick.svg" width="400px">
43
+ </p>
44
+
45
+ <p align="center">
46
+ <em>Seamlessly integrate marimo notebooks into JupyterLab and JupyterHub</em>
47
+ </p>
48
+
49
+ <p align="center">
50
+ <a href="https://pypi.org/project/marimo-jupyter-extension/"><img src="https://img.shields.io/pypi/v/marimo-jupyter-extension?color=%2334D058&label=pypi" alt="PyPI"/></a>
51
+ <a href="https://github.com/marimo-team/marimo-jupyter-extension/blob/main/LICENSE"><img src="https://img.shields.io/pypi/l/marimo-jupyter-extension" alt="License"/></a>
52
+ <a href="https://marimo.io/discord?ref=readme"><img src="https://shields.io/discord/1059888774789730424" alt="Discord"/></a>
53
+ </p>
54
+
55
+ ---
56
+
57
+ **marimo-jupyter-extension** brings the power of [marimo](https://marimo.io/) reactive notebooks to your existing Jupyter infrastructure. Launch marimo directly from JupyterLab's launcher, manage running sessions, and convert Jupyter notebooks to marimo format.
58
+
59
+ **Highlights**
60
+
61
+ - 🚀 **Launcher Integration** - marimo appears in the JupyterLab launcher with its own icon
62
+ - 📊 **Sidebar Panel** - Monitor server status, view running sessions, and quick actions
63
+ - 🐍 **Venv Selection** - Choose Python environment when creating new notebooks (with PEP 723 metadata)
64
+ - 📁 **Context Menus** - Right-click `.py` files to edit with marimo, `.ipynb` files to convert
65
+ - 🏢 **JupyterHub Compatible** - Works with existing authenticators and spawners
66
+ - 🔒 **Secure** - Token-based authentication between proxy and marimo
67
+ - 📦 **Sandbox Mode** - Run marimo in isolated environments with uvx
68
+
69
+ ## Quick Start
70
+
71
+ ```bash
72
+ uv pip install 'marimo[sandbox]>=0.19.4' marimo-jupyter-extension
73
+ ```
74
+
75
+ Launch JupyterLab and click the marimo icon in the launcher, or use the sidebar panel.
76
+
77
+ ## Features
78
+
79
+ ### Launcher & Sidebar
80
+
81
+ Create new marimo notebooks from the launcher. The sidebar shows server status, running sessions with kill buttons, and quick actions.
82
+
83
+ <p align="center">
84
+ <img src="screenshot.png" width="800px" alt="marimo extension sidebar and editor">
85
+ <br>
86
+ <em>Joy Division-style plot from pulsar CP 1919 (PSR B1919+21) made with <a href="https://github.com/koaning/wigglystuff">wigglystuff</a></em>
87
+ </p>
88
+
89
+ ### Environment Selection
90
+
91
+ When creating a new notebook, select from available Python environments. The extension discovers Jupyter kernel specs and embeds the venv path using PEP 723 script metadata.
92
+
93
+ ### Context Menu Actions
94
+
95
+ - **Edit with marimo**: Right-click any `.py` file to open it in the marimo editor
96
+ - **Convert to marimo**: Right-click any `.ipynb` file to convert it to marimo format
97
+
98
+ ## Installation
99
+
100
+ See [Installation Guide](https://marimo-team.github.io/marimo-jupyter-extension/installation/) for detailed setup instructions.
101
+
102
+ ### Single Environment
103
+
104
+ ```bash
105
+ uv pip install 'marimo[sandbox]>=0.19.4' marimo-jupyter-extension
106
+ ```
107
+
108
+ ### Multiple Environments (JupyterHub)
109
+
110
+ | Package | Install Location | Why |
111
+ |---------|------------------|-----|
112
+ | `marimo` | User's environment | Access user's packages |
113
+ | `marimo-jupyter-extension` | Jupyter's environment | Jupyter must import it |
114
+
115
+ ## Configuration
116
+
117
+ Configure in `jupyterhub_config.py`:
118
+
119
+ ```python
120
+ # Explicit marimo path
121
+ c.MarimoProxyConfig.marimo_path = "/opt/bin/marimo"
122
+
123
+ # Or use uvx mode (sandbox)
124
+ c.MarimoProxyConfig.uvx_path = "/usr/local/bin/uvx"
125
+
126
+ # Startup timeout (default: 60s)
127
+ c.MarimoProxyConfig.timeout = 120
128
+ ```
129
+
130
+ See [Configuration Guide](https://marimo-team.github.io/marimo-jupyter-extension/configuration/) and [JupyterHub Deployment](https://marimo-team.github.io/marimo-jupyter-extension/jupyterhub/) for more details.
131
+
132
+ ## Migrating from jupyter-marimo-proxy
133
+
134
+ ```bash
135
+ pip uninstall jupyter-marimo-proxy
136
+ pip install marimo-jupyter-extension
137
+ ```
138
+
139
+ Configuration via `c.MarimoProxyConfig` in `jupyterhub_config.py` remains the same. This package is a drop-in replacement with additional features.
140
+
141
+ ## Attribution
142
+
143
+ This project is based on [jupyter-marimo-proxy](https://github.com/jyio/jupyter-marimo-proxy) by **Jiang Yio**, which provided the original server proxy implementation.
144
+
145
+ Additional inspiration from [b-data/jupyter-marimo-proxy](https://github.com/b-data/jupyter-marimo-proxy).
146
+
147
+ This fork adds:
148
+ - Full JupyterLab extension with sidebar UI
149
+ - Venv/kernel selection with PEP 723 metadata
150
+ - Context menu integration for file operations
151
+ - Notebook conversion support
152
+ - Server restart capabilities
153
+
154
+ ## Troubleshooting
155
+
156
+ See [Troubleshooting Guide](https://marimo-team.github.io/marimo-jupyter-extension/troubleshooting/) for common issues.
157
+
158
+ | Issue | Solution |
159
+ |-------|----------|
160
+ | marimo icon missing | Install `marimo-jupyter-extension` in Jupyter's environment |
161
+ | marimo fails to launch | Ensure marimo is in PATH or configure `MarimoProxyConfig.marimo_path` |
162
+ | Modules not found | Install marimo in the same environment as your packages |
163
+ | Sandbox features not working | Upgrade to `marimo[sandbox]>=0.19.4` |
164
+
165
+ ## Community
166
+
167
+ - [marimo Discord](https://marimo.io/discord?ref=readme) - Chat with the community
168
+ - [GitHub Issues](https://github.com/marimo-team/marimo-jupyter-extension/issues) - Report bugs or request features
169
+ - [marimo Documentation](https://docs.marimo.io) - Learn about marimo notebooks
170
+ - [Contributing Guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md) - Help improve marimo
171
+
172
+ ## License
173
+
174
+ Apache License 2.0 - see [LICENSE](LICENSE) and [NOTICE](NOTICE) for details.
@@ -0,0 +1,30 @@
1
+ marimo_jupyter_extension/__init__.py,sha256=J-GNaOX4DUGGh_U64FkDfdNw7bpU7PIvK4kdqsYZ0fg,1465
2
+ marimo_jupyter_extension/config.py,sha256=yU-KoCSYzx4arNOHvfPguTdPgEPuVWAcxs2GQ-ANbHs,2299
3
+ marimo_jupyter_extension/convert.py,sha256=o5VsliSvVUaHs6NrL0RvyG8BHrTV7S9bsDd_pYHLZ4c,788
4
+ marimo_jupyter_extension/executable.py,sha256=ZtQDSRUf5ufviX_WSnusUIO5I717JlAD6439FaeWYnw,1732
5
+ marimo_jupyter_extension/exporter.py,sha256=DU1XM9u6hlpqETeOnDe6smr_l_A6s9nhh-KeLJ2R_Jw,2015
6
+ marimo_jupyter_extension/handlers.py,sha256=I34Tbid9FBrmj_1kFdZtZtE9if079XRmWrMZo8-OG-E,5728
7
+ marimo_jupyter_extension/icon.svg,sha256=WZyFZ2wQKMxnWULL6GqQiD2-eKiY67rdo0cKj3pcmqs,15016
8
+ marimo_jupyter_extension/etc/jupyter_server_config.d/marimo_jupyter_extension.json,sha256=2IQEOl_Az7GrlkxzSRsveWGJWSdMM_3l5V4sL-6xlDw,108
9
+ marimo_jupyter_extension/labextension/package.json,sha256=2nnI3QCMw8wOMArRWSFn8YNdxV9El_9jG3fcrhO9MTg,3077
10
+ marimo_jupyter_extension/labextension/schemas/@marimo-team/jupyter-extension/package.json.orig,sha256=DIJK8tGkEulC7IZWJ_8lHrTQWbighhqsqkggt7cs0gc,2941
11
+ marimo_jupyter_extension/labextension/schemas/@marimo-team/jupyter-extension/plugin.json,sha256=VJI4EJrVf0YDk2MsmssKqVfdz0S0ArhE1egmEFZsoSE,174
12
+ marimo_jupyter_extension/labextension/static/510.5a6289689ce7a0453fc4.js,sha256=WmKJaJznoEU_xHzSyPog2BP9o9Go-9PDE8ImnDai53k,35917
13
+ marimo_jupyter_extension/labextension/static/remoteEntry.705371d091b7d314fd9e.js,sha256=cFNx0JG30xT9nhHI5OhgOa3LFRtUPeXcywjRvkvYVhE,7656
14
+ marimo_jupyter_extension/labextension/static/style.js,sha256=-CQt0ZTPaCTvrRiLcznxflAbfvIKlOVzjOos-muaXQ8,118
15
+ marimo_jupyter_extension/labextension/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453
16
+ marimo_jupyter_extension-0.1.0.data/data/etc/jupyter/jupyter_server_config.d/marimo_jupyter_extension.json,sha256=2IQEOl_Az7GrlkxzSRsveWGJWSdMM_3l5V4sL-6xlDw,108
17
+ marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/package.json,sha256=2nnI3QCMw8wOMArRWSFn8YNdxV9El_9jG3fcrhO9MTg,3077
18
+ marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/schemas/@marimo-team/jupyter-extension/package.json.orig,sha256=DIJK8tGkEulC7IZWJ_8lHrTQWbighhqsqkggt7cs0gc,2941
19
+ marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/schemas/@marimo-team/jupyter-extension/plugin.json,sha256=VJI4EJrVf0YDk2MsmssKqVfdz0S0ArhE1egmEFZsoSE,174
20
+ marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/static/510.5a6289689ce7a0453fc4.js,sha256=WmKJaJznoEU_xHzSyPog2BP9o9Go-9PDE8ImnDai53k,35917
21
+ marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/static/remoteEntry.705371d091b7d314fd9e.js,sha256=cFNx0JG30xT9nhHI5OhgOa3LFRtUPeXcywjRvkvYVhE,7656
22
+ marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/static/style.js,sha256=-CQt0ZTPaCTvrRiLcznxflAbfvIKlOVzjOos-muaXQ8,118
23
+ marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453
24
+ marimo_jupyter_extension-0.1.0.data/data/share/jupyter/labextensions/@marimo-team/jupyter-extension/install.json,sha256=WpdQoTAdqSXxiAJxSbrGa-Jki1zUIzuSIXKSRhe9KwU,147
25
+ marimo_jupyter_extension-0.1.0.dist-info/METADATA,sha256=Q1CkvAa4EKxsjq9qIwB-H7y0klH55_Gp3hodn3lbXIM,7191
26
+ marimo_jupyter_extension-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
27
+ marimo_jupyter_extension-0.1.0.dist-info/entry_points.txt,sha256=6mpWRWhdQfMggD9sQjvtwGoARqoNFNVMXiGFBpxHD_c,179
28
+ marimo_jupyter_extension-0.1.0.dist-info/licenses/LICENSE,sha256=N63p5MRQWOBBX7BJ4nmSA0HW1JnOohQPBZJWFNFfIfs,11339
29
+ marimo_jupyter_extension-0.1.0.dist-info/licenses/NOTICE,sha256=LIhw4P7vaJ3ibAa-FtmuP30_DvoUFZ-UD6IUxsKvAKA,783
30
+ marimo_jupyter_extension-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,5 @@
1
+ [jupyter_server_extension_points]
2
+ marimo_jupyter_extension = marimo_jupyter_extension.handlers
3
+
4
+ [jupyter_serverproxy_servers]
5
+ marimo = marimo_jupyter_extension:setup_marimoserver
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2024 Jiang Yio
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,21 @@
1
+ marimo-jupyter-extension
2
+ Copyright 2024-2026 Marimo Team
3
+
4
+ This project is based on jupyter-marimo-proxy:
5
+ https://github.com/jyio/jupyter-marimo-proxy
6
+ Copyright 2024 Jiang Yio
7
+
8
+ Additional inspiration from:
9
+ https://github.com/b-data/jupyter-marimo-proxy
10
+
11
+ Licensed under the Apache License, Version 2.0 (the "License");
12
+ you may not use this file except in compliance with the License.
13
+ You may obtain a copy of the License at
14
+
15
+ http://www.apache.org/licenses/LICENSE-2.0
16
+
17
+ Unless required by applicable law or agreed to in writing, software
18
+ distributed under the License is distributed on an "AS IS" BASIS,
19
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ See the License for the specific language governing permissions and
21
+ limitations under the License.