virtualshell 1.0.0__cp311-cp311-macosx_11_0_universal2.whl → 1.0.1__cp311-cp311-macosx_11_0_universal2.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.
- virtualshell/__init__.py +1 -1
- virtualshell/_core.cpython-311-darwin.so +0 -0
- virtualshell/_version.py +1 -1
- virtualshell/shell.py +2 -2
- {virtualshell-1.0.0.dist-info → virtualshell-1.0.1.dist-info}/METADATA +20 -12
- virtualshell-1.0.1.dist-info/RECORD +9 -0
- virtualshell-1.0.0.dist-info/RECORD +0 -9
- {virtualshell-1.0.0.dist-info → virtualshell-1.0.1.dist-info}/WHEEL +0 -0
- {virtualshell-1.0.0.dist-info → virtualshell-1.0.1.dist-info}/licenses/LICENSE +0 -0
virtualshell/__init__.py
CHANGED
Binary file
|
virtualshell/_version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
version = "0.1
|
1
|
+
version = "1.0.1"
|
virtualshell/shell.py
CHANGED
@@ -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, "
|
172
|
-
err=getattr(r, "
|
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,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: virtualshell
|
3
|
-
Version: 1.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
|
-
|
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
|
-
|
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 **
|
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.*
|
@@ -0,0 +1,9 @@
|
|
1
|
+
virtualshell/_version.py,sha256=VAHPzEVbVY57udXNeljbTM8BnJ-ZHOJ6hSmLAd4CYgA,17
|
2
|
+
virtualshell/shell.py,sha256=yR_i4S7DxdV-nmFop-fOnzXUAsUE52dTTkgP_uYPp2A,20910
|
3
|
+
virtualshell/__init__.py,sha256=tmoVoFldry6oDZzejC_9ogkNcNkMe7X-DGEM0GKupEA,912
|
4
|
+
virtualshell/_core.cpython-311-darwin.so,sha256=azbQIq1856Ow23mupXFi-HJUQfxHgARvRqcJVkBDbVA,736936
|
5
|
+
virtualshell/errors.py,sha256=lWOmidPiGKLef_pB-gelAF-3UbgX9Tmvu0s7JgmOg_k,193
|
6
|
+
virtualshell-1.0.1.dist-info/RECORD,,
|
7
|
+
virtualshell-1.0.1.dist-info/WHEEL,sha256=l6my-4flOzqSbw8pisV13SgpJ7wB9-RIvNTrtrdZfXw,146
|
8
|
+
virtualshell-1.0.1.dist-info/METADATA,sha256=zPJqTmAs3bCD9vD3RWKe458wfPAB1XMOLuoVZnIgAo0,20452
|
9
|
+
virtualshell-1.0.1.dist-info/licenses/LICENSE,sha256=7RNZIZ-wB2I1pFb_4uWOXYStIFAwxbGLypaZuW-AKis,11347
|
@@ -1,9 +0,0 @@
|
|
1
|
-
virtualshell/_version.py,sha256=ZgAXEMjAMZx3cZroB6PgojYwdhTZjPbU5RqZEfdYQv0,17
|
2
|
-
virtualshell/shell.py,sha256=iHEFnbY3ggR2G-VpxAHrP3RVx3nYy1S2VxxLUTLRHa4,20915
|
3
|
-
virtualshell/__init__.py,sha256=8PE1B8yiMyZg2gwG18EvXt2vDEflvBeAdh7mNn58-GE,912
|
4
|
-
virtualshell/_core.cpython-311-darwin.so,sha256=dV9Wi8O0yLCoEZlEpJKPzbZvQuMeszW-0T861w0kyrc,736936
|
5
|
-
virtualshell/errors.py,sha256=lWOmidPiGKLef_pB-gelAF-3UbgX9Tmvu0s7JgmOg_k,193
|
6
|
-
virtualshell-1.0.0.dist-info/RECORD,,
|
7
|
-
virtualshell-1.0.0.dist-info/WHEEL,sha256=l6my-4flOzqSbw8pisV13SgpJ7wB9-RIvNTrtrdZfXw,146
|
8
|
-
virtualshell-1.0.0.dist-info/METADATA,sha256=C0_uXHh7-Lxslvmqo8JBOW1M5gK8D1YieCEVQgWf21c,20087
|
9
|
-
virtualshell-1.0.0.dist-info/licenses/LICENSE,sha256=7RNZIZ-wB2I1pFb_4uWOXYStIFAwxbGLypaZuW-AKis,11347
|
File without changes
|
File without changes
|