virtualshell 1.0.0__tar.gz → 1.0.1__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.2
2
2
  Name: virtualshell
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: High-performance PowerShell bridge (C++ pybind11 backend)
5
5
  Keywords: powershell,automation,shell,cpp,pybind11
6
6
  Author: Kim-Andre Myrvold
@@ -217,7 +217,6 @@ Project-URL: Issues, https://github.com/Chamoswor/virtualshell/issues
217
217
  Requires-Python: >=3.8
218
218
  Description-Content-Type: text/markdown
219
219
 
220
- ````markdown
221
220
  # virtualshell
222
221
 
223
222
  High-performance Python façade over a **C++ PowerShell runner**.
@@ -241,12 +240,22 @@ A single long-lived PowerShell process is managed in C++, handling pipes, thread
241
240
  pip install virtualshell
242
241
  ````
243
242
 
244
- ### Supported platforms
243
+ ## Platform & Python Support
244
+
245
+ Prebuilt wheels are provided via PyPI for common platforms and Python versions.
246
+ This means you can usually `pip install virtualshell` without needing a compiler.
247
+
248
+ **Supported Python versions:**
249
+ - 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
250
+
251
+ **Supported platforms:**
252
+ - **Windows** (x86_64, MSVC build)
253
+ - **Linux** (x86_64, aarch64, manylinux2014/2.28)
254
+ - **macOS** (universal2: x86_64 + arm64)
255
+
256
+ If your platform is not listed above, pip will fall back to building from source.
257
+ See [Building from source](#building-from-source-advanced) for details.
245
258
 
246
- * **Windows 10/11 x64**
247
- * **Linux**: x86_64 and aarch64 (manylinux_2_28 / glibc ≥ 2.28)
248
- * **macOS**: 12+ (x86_64 and arm64)
249
- * **Python**: 3.8 – 3.13
250
259
 
251
260
  > Requires PowerShell on `PATH` (`pwsh` preferred, `powershell` also supported).
252
261
 
@@ -419,9 +428,8 @@ Shell(initial_commands=[
419
428
 
420
429
  ---
421
430
 
422
- ## Building from source (optional)
423
-
424
- You normally won’t need this when using wheels.
431
+ # Building from source (advanced)
432
+ Source builds require a C++ toolchain and CMake.
425
433
 
426
434
  **Prereqs:** Python ≥3.8, C++17, CMake ≥3.20, `scikit-build-core`, `pybind11`.
427
435
 
@@ -439,7 +447,7 @@ python -m pip install -e .
439
447
  ```
440
448
 
441
449
  * Linux wheels target **manylinux_2_28** (x86_64/aarch64).
442
- * macOS builds target **x86_64** and **arm64** (may be universal2).
450
+ * macOS builds target **universal2** (x86_64 + arm64).
443
451
 
444
452
  ---
445
453
 
@@ -458,4 +466,4 @@ Apache 2.0 — see [LICENSE](LICENSE).
458
466
 
459
467
  ---
460
468
 
461
- *Issues & feedback are welcome. Please include Python version, OS, your PowerShell path (`pwsh`/`powershell`), and a minimal repro.*
469
+ *Issues & feedback are welcome. Please include Python version, OS, your PowerShell path (`pwsh`/`powershell`), and a minimal repro.*
@@ -1,4 +1,3 @@
1
- ````markdown
2
1
  # virtualshell
3
2
 
4
3
  High-performance Python façade over a **C++ PowerShell runner**.
@@ -22,12 +21,22 @@ A single long-lived PowerShell process is managed in C++, handling pipes, thread
22
21
  pip install virtualshell
23
22
  ````
24
23
 
25
- ### Supported platforms
24
+ ## Platform & Python Support
25
+
26
+ Prebuilt wheels are provided via PyPI for common platforms and Python versions.
27
+ This means you can usually `pip install virtualshell` without needing a compiler.
28
+
29
+ **Supported Python versions:**
30
+ - 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
31
+
32
+ **Supported platforms:**
33
+ - **Windows** (x86_64, MSVC build)
34
+ - **Linux** (x86_64, aarch64, manylinux2014/2.28)
35
+ - **macOS** (universal2: x86_64 + arm64)
36
+
37
+ If your platform is not listed above, pip will fall back to building from source.
38
+ See [Building from source](#building-from-source-advanced) for details.
26
39
 
27
- * **Windows 10/11 x64**
28
- * **Linux**: x86_64 and aarch64 (manylinux_2_28 / glibc ≥ 2.28)
29
- * **macOS**: 12+ (x86_64 and arm64)
30
- * **Python**: 3.8 – 3.13
31
40
 
32
41
  > Requires PowerShell on `PATH` (`pwsh` preferred, `powershell` also supported).
33
42
 
@@ -200,9 +209,8 @@ Shell(initial_commands=[
200
209
 
201
210
  ---
202
211
 
203
- ## Building from source (optional)
204
-
205
- You normally won’t need this when using wheels.
212
+ # Building from source (advanced)
213
+ Source builds require a C++ toolchain and CMake.
206
214
 
207
215
  **Prereqs:** Python ≥3.8, C++17, CMake ≥3.20, `scikit-build-core`, `pybind11`.
208
216
 
@@ -220,7 +228,7 @@ python -m pip install -e .
220
228
  ```
221
229
 
222
230
  * Linux wheels target **manylinux_2_28** (x86_64/aarch64).
223
- * macOS builds target **x86_64** and **arm64** (may be universal2).
231
+ * macOS builds target **universal2** (x86_64 + arm64).
224
232
 
225
233
  ---
226
234
 
@@ -239,4 +247,4 @@ Apache 2.0 — see [LICENSE](LICENSE).
239
247
 
240
248
  ---
241
249
 
242
- *Issues & feedback are welcome. Please include Python version, OS, your PowerShell path (`pwsh`/`powershell`), and a minimal repro.*
250
+ *Issues & feedback are welcome. Please include Python version, OS, your PowerShell path (`pwsh`/`powershell`), and a minimal repro.*
@@ -522,7 +522,7 @@ PYBIND11_MODULE(_core, m) {
522
522
  }, "Create a new VirtualShell instance", py::arg("config"));
523
523
 
524
524
  // Metadata
525
- m.attr("__version__") = "1.0.0";
525
+ m.attr("__version__") = "1.0.1";
526
526
  m.attr("__author__") = "Kim-Andre Myrvold";
527
527
  }
528
528
 
@@ -9,7 +9,7 @@ build-backend = "scikit_build_core.build"
9
9
  [project]
10
10
  name = "virtualshell"
11
11
  description = "High-performance PowerShell bridge (C++ pybind11 backend)"
12
- version = "1.0.0"
12
+ version = "1.0.1"
13
13
  readme = "README.md"
14
14
  license = { file = "LICENSE" }
15
15
  authors = [{ name = "Kim-Andre Myrvold" }]
@@ -8,7 +8,7 @@ if TYPE_CHECKING:
8
8
  try:
9
9
  from ._version import version as __version__
10
10
  except Exception:
11
- __version__ = "0.1.2"
11
+ __version__ = "1.0.1"
12
12
 
13
13
 
14
14
  from .errors import (
@@ -0,0 +1 @@
1
+ version = "1.0.1"
@@ -168,8 +168,8 @@ class ExecutionResult:
168
168
  def from_cpp(cls, r: _CPP_ExecResult) -> "ExecutionResult":
169
169
  # Attribute access is defensive to tolerate ABI field name differences.
170
170
  return cls(
171
- out=getattr(r, "output", ""),
172
- err=getattr(r, "error", ""),
171
+ out=getattr(r, "out", ""),
172
+ err=getattr(r, "err", ""),
173
173
  exit_code=int(getattr(r, "exit_code", getattr(r, "exitCode", -1))),
174
174
  success=bool(getattr(r, "success", False)),
175
175
  execution_time=float(getattr(r, "execution_time", getattr(r, "executionTime", 0.0))),
@@ -1 +0,0 @@
1
- version = "0.1.2"
File without changes
File without changes
File without changes