jupyter-builder 0.1.0a2__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.
- jupyter_builder/__init__.py +13 -0
- jupyter_builder/base_extension_app.py +65 -0
- jupyter_builder/commands.py +115 -0
- jupyter_builder/core_path.py +10 -0
- jupyter_builder/debug_log_file_mixin.py +64 -0
- jupyter_builder/extension_commands/__init__.py +2 -0
- jupyter_builder/extension_commands/build.py +56 -0
- jupyter_builder/extension_commands/develop.py +58 -0
- jupyter_builder/extension_commands/watch.py +54 -0
- jupyter_builder/federated_extensions.py +492 -0
- jupyter_builder/federated_extensions_requirements.py +74 -0
- jupyter_builder/jlpm.py +43 -0
- jupyter_builder/jupyterlab_semver.py +252 -0
- jupyter_builder/jupyterlab_server_req.py +66 -0
- jupyter_builder/main.py +54 -0
- jupyter_builder/yarn.js +878 -0
- jupyter_builder-0.1.0a2.dist-info/METADATA +119 -0
- jupyter_builder-0.1.0a2.dist-info/RECORD +21 -0
- jupyter_builder-0.1.0a2.dist-info/WHEEL +4 -0
- jupyter_builder-0.1.0a2.dist-info/entry_points.txt +3 -0
- jupyter_builder-0.1.0a2.dist-info/licenses/LICENSE +29 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: jupyter_builder
|
|
3
|
+
Version: 0.1.0a2
|
|
4
|
+
Summary: JupyterLab build tools
|
|
5
|
+
Project-URL: Homepage, https://jupyter.org
|
|
6
|
+
Project-URL: Source, https://github.com/jupyterlab/jupyterlab_builder
|
|
7
|
+
Project-URL: Issues, https://github.com/jupyterlab/jupyterlab_builder/issues/new/choose
|
|
8
|
+
Project-URL: Gitter, https://gitter.im/jupyterlab/jupyterlab
|
|
9
|
+
Project-URL: Pypi, https://pypi.org/project/jupyter-builder
|
|
10
|
+
Author-email: Jupyter Development Team <jupyter@googlegroups.com>
|
|
11
|
+
License: BSD 3-Clause License
|
|
12
|
+
|
|
13
|
+
Copyright (c) 2024, Jupyter Development Team
|
|
14
|
+
All rights reserved.
|
|
15
|
+
|
|
16
|
+
Redistribution and use in source and binary forms, with or without
|
|
17
|
+
modification, are permitted provided that the following conditions are met:
|
|
18
|
+
|
|
19
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
20
|
+
list of conditions and the following disclaimer.
|
|
21
|
+
|
|
22
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
23
|
+
this list of conditions and the following disclaimer in the documentation
|
|
24
|
+
and/or other materials provided with the distribution.
|
|
25
|
+
|
|
26
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
27
|
+
contributors may be used to endorse or promote products derived from
|
|
28
|
+
this software without specific prior written permission.
|
|
29
|
+
|
|
30
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
31
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
32
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
33
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
34
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
35
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
36
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
37
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
38
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
39
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
40
|
+
License-File: LICENSE
|
|
41
|
+
Keywords: ipython,jupyter
|
|
42
|
+
Classifier: Framework :: Jupyter
|
|
43
|
+
Classifier: Framework :: Jupyter :: JupyterLab
|
|
44
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: 4
|
|
45
|
+
Classifier: Intended Audience :: Developers
|
|
46
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
47
|
+
Classifier: Programming Language :: Python
|
|
48
|
+
Classifier: Programming Language :: Python :: 3
|
|
49
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
50
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
51
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
52
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
53
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
54
|
+
Requires-Python: >=3.8
|
|
55
|
+
Requires-Dist: traitlets
|
|
56
|
+
Provides-Extra: dev
|
|
57
|
+
Requires-Dist: build; extra == 'dev'
|
|
58
|
+
Requires-Dist: hatch; extra == 'dev'
|
|
59
|
+
Requires-Dist: mypy; extra == 'dev'
|
|
60
|
+
Requires-Dist: pre-commit; extra == 'dev'
|
|
61
|
+
Requires-Dist: ruff==0.4.7; extra == 'dev'
|
|
62
|
+
Provides-Extra: test
|
|
63
|
+
Requires-Dist: copier<10,>=9.2; extra == 'test'
|
|
64
|
+
Requires-Dist: coverage; extra == 'test'
|
|
65
|
+
Requires-Dist: jinja2-time; extra == 'test'
|
|
66
|
+
Requires-Dist: jupyterlab; extra == 'test'
|
|
67
|
+
Requires-Dist: pytest-check-links>=0.7; extra == 'test'
|
|
68
|
+
Requires-Dist: pytest-cov; extra == 'test'
|
|
69
|
+
Requires-Dist: pytest>=7.0; extra == 'test'
|
|
70
|
+
Description-Content-Type: text/markdown
|
|
71
|
+
|
|
72
|
+
# Jupyter Builder - GSoC 2024
|
|
73
|
+
|
|
74
|
+
Build tools for JupyterLab (and remixes)
|
|
75
|
+
|
|
76
|
+
> This _will_ start as an extraction of the builder tools currently included in
|
|
77
|
+
> the core [JupyterLab](https://github.com/jupyterlab/jupyterlab).
|
|
78
|
+
|
|
79
|
+
## Why extracting the build tools?
|
|
80
|
+
|
|
81
|
+
- This would also solve some chicken-and-egg problems like jupyterlab/jupyterlab_pygments#23.
|
|
82
|
+
- Isolating the builder functionalities will simplify the work
|
|
83
|
+
of core and extension developers who can now focus on their respective parts of the
|
|
84
|
+
codebase instead of the earlier intertwined code. It will in particular reduce the need to update the maintenance tooling to produce extension compatible with newer version of Jupyter app.
|
|
85
|
+
|
|
86
|
+
## How to install the package?
|
|
87
|
+
|
|
88
|
+
Execute the following command in a terminal:
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
pip install jupyter_builder
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## What does it do?
|
|
95
|
+
|
|
96
|
+
- Provides a CLI for building Jupyter extensions. There are 3 subcommands
|
|
97
|
+
- `build` : Builds the Jupyter extension JavaScript assets to be consumed by the Jupyter app.
|
|
98
|
+
```
|
|
99
|
+
jupyter-builder build <path to extension folder>
|
|
100
|
+
```
|
|
101
|
+
- `develop` : Install the Jupyter extension JavaScript assets in dev mode for consumption in the Jupyter app. It similar to [editable install mode of pip](https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs)
|
|
102
|
+
```
|
|
103
|
+
jupyter-builder develop --overwrite (path to extension folder)
|
|
104
|
+
```
|
|
105
|
+
- `watch` : Automatically rebuild the development JavaScript assets when one file is changed to ease development.
|
|
106
|
+
```
|
|
107
|
+
jupyter-builder watch (path to extension folder)
|
|
108
|
+
```
|
|
109
|
+
- Provides a NPM package manager: `jlpm`
|
|
110
|
+
|
|
111
|
+
## How to uninstall the package?
|
|
112
|
+
|
|
113
|
+
Execute the following command in a terminal:
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
pip uninstall jupyter_builder
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
See https://github.com/jupyterlab/jupyterlab/issues/13456
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
jupyter_builder/__init__.py,sha256=ucoo7W6O_PAP5ESIJ1klJViiKWeJbUqFCuc_QrW3XV8,568
|
|
2
|
+
jupyter_builder/base_extension_app.py,sha256=NTtICU1zbc8n64Hd9tJ86FuYX7q5xqDVHhbmBAEINjw,1726
|
|
3
|
+
jupyter_builder/commands.py,sha256=-h9brmCXhrKRMtefcqHEv4VnMREgWOkfU2PZmaxNraI,3440
|
|
4
|
+
jupyter_builder/core_path.py,sha256=8cFbRg81aZj8LQiHFkXuHtlDffwDu4IlUypyaiI1gH8,245
|
|
5
|
+
jupyter_builder/debug_log_file_mixin.py,sha256=816tIlPySoCbJak9Cj6eE57VjeQjz2jdySYsj4hqESw,2181
|
|
6
|
+
jupyter_builder/federated_extensions.py,sha256=IaS7VIKlb09wgkIjjYhSXUJY8qYNpmCOMyLPWw3fKlI,17177
|
|
7
|
+
jupyter_builder/federated_extensions_requirements.py,sha256=R-sAx1shGaGOwA9dIMPIc3kslEW2ih1w8RdrKWtZJ3c,2983
|
|
8
|
+
jupyter_builder/jlpm.py,sha256=kYE6Pk9TADEhcxKkUXr6V0AhNdGDr5XnYO-D679R580,1233
|
|
9
|
+
jupyter_builder/jupyterlab_semver.py,sha256=E7SKvf9ca4uDBWf_oSji5OHurycAIF8cUt4rwafHQto,9330
|
|
10
|
+
jupyter_builder/jupyterlab_server_req.py,sha256=LKn_merwDkCT17OCsqTuOoRaX4uGGhyz-25wwiDkE2c,2613
|
|
11
|
+
jupyter_builder/main.py,sha256=PGZ4MGYG20yDqonoQg_vKkeCzCkKKnrCOtU056Wdvr4,2231
|
|
12
|
+
jupyter_builder/yarn.js,sha256=8EYGlNp3NZisReCOECOR_8DMDfMWLkfeZ-URewpzhq4,2221431
|
|
13
|
+
jupyter_builder/extension_commands/__init__.py,sha256=eXcK7cn7Qj8A1SBiMJ4ptlf2WFErhSxG9QSKFtENyhU,101
|
|
14
|
+
jupyter_builder/extension_commands/build.py,sha256=Px55wxLrOgh_OGzUebHw2cplepOn8WyU38gbqKvHTWk,1580
|
|
15
|
+
jupyter_builder/extension_commands/develop.py,sha256=Ztl9qniWlxE86imNOpcNOLbPsZGRMhYQ3c_-_ozUICI,1696
|
|
16
|
+
jupyter_builder/extension_commands/watch.py,sha256=OKuFk3N1vk2Yb-Cmy2yLOECCsNNn-qC0DcwSAkeyGGs,1463
|
|
17
|
+
jupyter_builder-0.1.0a2.dist-info/METADATA,sha256=hBwpgheUzkezL5-z7yJALfmd3Y1ZpIPjnkeZHwQYZtQ,5300
|
|
18
|
+
jupyter_builder-0.1.0a2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
19
|
+
jupyter_builder-0.1.0a2.dist-info/entry_points.txt,sha256=pQlwFs3R6-sOlkEDXzXwxu0tVNn4aBkaDJ8qRebDZko,95
|
|
20
|
+
jupyter_builder-0.1.0a2.dist-info/licenses/LICENSE,sha256=T4GK8L2cxFmaXUe48VaSUF3T6pnn14gWtH1rXdz5VkI,1532
|
|
21
|
+
jupyter_builder-0.1.0a2.dist-info/RECORD,,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024, Jupyter Development Team
|
|
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.
|