dbx-tools-node-runtime 0.9.99__tar.gz → 0.9.106__tar.gz
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.
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/PKG-INFO +13 -14
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/README.md +12 -13
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/pyproject.toml +1 -1
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/pyproject.toml.orig +1 -1
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/LICENSE +0 -0
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/src/dbx_tools/node_runtime/__init__.py +0 -0
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/src/dbx_tools/node_runtime/__main__.py +0 -0
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/src/dbx_tools/node_runtime/bootstrap.py +0 -0
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/src/dbx_tools/node_runtime/py.typed +0 -0
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/src/dbx_tools/node_runtime/runtime.js +0 -0
- {dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/src/dbx_tools/node_runtime/runtime.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dbx-tools-node-runtime
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.106
|
|
4
4
|
Summary: Shared PythonMonkey runtime and lazy Node.js bootstrap
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -14,14 +14,15 @@ Description-Content-Type: text/markdown
|
|
|
14
14
|
Run PythonMonkey-based packages in managed Python environments that do not
|
|
15
15
|
provide system Node.js or npm.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
%pip install dbx-tools-node-runtime
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
On first use, the package installs the locked PythonMonkey runtime into the
|
|
24
|
+
active Python environment. It reuses npm when available; otherwise it installs
|
|
25
|
+
`nodejs-wheel>=22.20,<23` and uses the packaged Node and npm executables.
|
|
25
26
|
|
|
26
27
|
An existing npm executable or installed `nodejs-wheel` package is reused without
|
|
27
28
|
enforcing an exact Node wheel version. The range applies only when the runtime
|
|
@@ -33,7 +34,7 @@ environment instead of installing a second copy. The lock files contain no
|
|
|
33
34
|
runtime packages. Set `DBX_TOOLS_NODE_RUNTIME_LOCK_DIRECTORY` only when the
|
|
34
35
|
default per-user lock directory is unsuitable.
|
|
35
36
|
|
|
36
|
-
##
|
|
37
|
+
## Runtime Installation
|
|
37
38
|
|
|
38
39
|
Install the package normally:
|
|
39
40
|
|
|
@@ -66,7 +67,7 @@ generated Node auth bindings. Empty auth options use that runtime credential
|
|
|
66
67
|
source automatically. Explicit profiles, hosts, and credentials continue
|
|
67
68
|
through the normal Node auth providers.
|
|
68
69
|
|
|
69
|
-
The
|
|
70
|
+
The shared PythonMonkey host lives under `shims/`. A shim path
|
|
70
71
|
encodes its specifier: `___` becomes `:`, `__` becomes `/`, and every other
|
|
71
72
|
character stays as written (`node___fs__promises.ts` becomes `node:fs/promises`).
|
|
72
73
|
Files whose derived name has no scheme, including `bootstrap.ts`, are support
|
|
@@ -96,6 +97,4 @@ bun run python-node-runtime:watch
|
|
|
96
97
|
```
|
|
97
98
|
|
|
98
99
|
`bun run sync --watch` supervises `python-node-runtime:watch` with the shared
|
|
99
|
-
Python binding, barrel, and Projen configuration watchers.
|
|
100
|
-
task lifecycle; the builder, shims, generated runtime, lazy installation, and
|
|
101
|
-
PythonMonkey loading remain in this package.
|
|
100
|
+
Python binding, barrel, and Projen configuration watchers.
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
Run PythonMonkey-based packages in managed Python environments that do not
|
|
4
4
|
provide system Node.js or npm.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
## Quick Start
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
%pip install dbx-tools-node-runtime
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
On first use, the package installs the locked PythonMonkey runtime into the
|
|
13
|
+
active Python environment. It reuses npm when available; otherwise it installs
|
|
14
|
+
`nodejs-wheel>=22.20,<23` and uses the packaged Node and npm executables.
|
|
14
15
|
|
|
15
16
|
An existing npm executable or installed `nodejs-wheel` package is reused without
|
|
16
17
|
enforcing an exact Node wheel version. The range applies only when the runtime
|
|
@@ -22,7 +23,7 @@ environment instead of installing a second copy. The lock files contain no
|
|
|
22
23
|
runtime packages. Set `DBX_TOOLS_NODE_RUNTIME_LOCK_DIRECTORY` only when the
|
|
23
24
|
default per-user lock directory is unsuitable.
|
|
24
25
|
|
|
25
|
-
##
|
|
26
|
+
## Runtime Installation
|
|
26
27
|
|
|
27
28
|
Install the package normally:
|
|
28
29
|
|
|
@@ -55,7 +56,7 @@ generated Node auth bindings. Empty auth options use that runtime credential
|
|
|
55
56
|
source automatically. Explicit profiles, hosts, and credentials continue
|
|
56
57
|
through the normal Node auth providers.
|
|
57
58
|
|
|
58
|
-
The
|
|
59
|
+
The shared PythonMonkey host lives under `shims/`. A shim path
|
|
59
60
|
encodes its specifier: `___` becomes `:`, `__` becomes `/`, and every other
|
|
60
61
|
character stays as written (`node___fs__promises.ts` becomes `node:fs/promises`).
|
|
61
62
|
Files whose derived name has no scheme, including `bootstrap.ts`, are support
|
|
@@ -85,6 +86,4 @@ bun run python-node-runtime:watch
|
|
|
85
86
|
```
|
|
86
87
|
|
|
87
88
|
`bun run sync --watch` supervises `python-node-runtime:watch` with the shared
|
|
88
|
-
Python binding, barrel, and Projen configuration watchers.
|
|
89
|
-
task lifecycle; the builder, shims, generated runtime, lazy installation, and
|
|
90
|
-
PythonMonkey loading remain in this package.
|
|
89
|
+
Python binding, barrel, and Projen configuration watchers.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbx_tools_node_runtime-0.9.99 → dbx_tools_node_runtime-0.9.106}/src/dbx_tools/node_runtime/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|