dbx-tools-node-runtime 0.9.99__tar.gz → 0.9.105__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbx-tools-node-runtime
3
- Version: 0.9.99
3
+ Version: 0.9.105
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
- `pythonmonkey` depends on `pminit`, whose wheel build executes npm inside pip's
18
- isolated build environment. `nodejs-wheel` exposes Python console launchers,
19
- but those launchers cannot import `nodejs_wheel` from that isolated process.
20
- On first use, this package installs the locked runtime into the active Python
21
- environment. It reuses npm when npm is already on `PATH`. Otherwise it installs
22
- `nodejs-wheel>=22.20,<23` into the active environment and creates direct shell
23
- launchers to the packaged Node binary and npm CLI. It then installs
24
- `pythonmonkey==1.3.2` normally so `pminit` can build with those launchers.
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
- ## Install and run
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 package also owns a shared PythonMonkey host under `shims/`. A shim path
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. Projen owns only this
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
- `pythonmonkey` depends on `pminit`, whose wheel build executes npm inside pip's
7
- isolated build environment. `nodejs-wheel` exposes Python console launchers,
8
- but those launchers cannot import `nodejs_wheel` from that isolated process.
9
- On first use, this package installs the locked runtime into the active Python
10
- environment. It reuses npm when npm is already on `PATH`. Otherwise it installs
11
- `nodejs-wheel>=22.20,<23` into the active environment and creates direct shell
12
- launchers to the packaged Node binary and npm CLI. It then installs
13
- `pythonmonkey==1.3.2` normally so `pminit` can build with those launchers.
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
- ## Install and run
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 package also owns a shared PythonMonkey host under `shims/`. A shim path
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. Projen owns only this
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.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dbx-tools-node-runtime"
3
- version = "0.9.99"
3
+ version = "0.9.105"
4
4
  description = "Shared PythonMonkey runtime and lazy Node.js bootstrap"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10,<4"
@@ -2,7 +2,7 @@
2
2
 
3
3
  [project]
4
4
  name = "dbx-tools-node-runtime"
5
- version = "0.9.99"
5
+ version = "0.9.105"
6
6
  description = "Shared PythonMonkey runtime and lazy Node.js bootstrap"
7
7
  readme = "README.md"
8
8
  requires-python = ">=3.10,<4"