wash-bin 2.0.2__py3-none-win_amd64.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.
@@ -0,0 +1,58 @@
1
+ Metadata-Version: 2.4
2
+ Name: wash-bin
3
+ Version: 2.0.2
4
+ Summary: wash CLI repackaged as Python wheels
5
+ Home-page: https://github.com/wasmCloud/wasmCloud
6
+ License: Apache-2.0
7
+ Requires-Python: >=3.9
8
+ Description-Content-Type: text/markdown
9
+
10
+ # wash-bin
11
+
12
+ [wash](https://github.com/wasmCloud/wasmCloud) CLI repackaged as Python wheels for easy installation via tools like `uv`.
13
+
14
+ wash is the command-line tool for wasmCloud development.
15
+
16
+ ## Install
17
+
18
+ ```sh
19
+ uv tool install wash-bin
20
+ wash --version
21
+ ```
22
+
23
+ ## Supported Platforms
24
+
25
+ | Platform | Wheel tag |
26
+ |----------|-----------|
27
+ | Linux x64 | `manylinux_2_17_x86_64` |
28
+ | Linux ARM64 | `manylinux_2_17_aarch64` |
29
+ | Linux x64 (musl) | `musllinux_1_1_x86_64` |
30
+ | Linux ARM64 (musl) | `musllinux_1_1_aarch64` |
31
+ | macOS x64 | `macosx_10_9_x86_64` |
32
+ | macOS ARM64 | `macosx_11_0_arm64` |
33
+ | Windows x64 | `win_amd64` |
34
+
35
+ ## How It Works
36
+
37
+ This package downloads the official wash release binaries from
38
+ [wasmCloud/wasmCloud](https://github.com/wasmCloud/wasmCloud/releases)
39
+ and repackages each as a platform-specific Python wheel.
40
+
41
+ A thin Python entry point (`console_scripts`) delegates to the native binary,
42
+ so `wash` is available on `PATH` after install.
43
+
44
+ ## Development
45
+
46
+ python, uv, & just are needed. Here is a quick setup example on Linux:
47
+
48
+ ```bash
49
+ tdnf install -y python3 python3-pip
50
+ python3 -m pip install uv
51
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
52
+ uv tool install rust-just
53
+ ```
54
+
55
+ ## License
56
+
57
+ This package redistributes wash under its
58
+ [Apache-2.0](https://github.com/wasmCloud/wasmCloud/blob/main/LICENSE) license.
@@ -0,0 +1,6 @@
1
+ wash_cli/__init__.py,sha256=BnCnIF6KH9zY0Z88T02QGv8NPWd2F7bRbePYXxjvZ00,845
2
+ wash_cli/wash.exe,sha256=e5BV7zK8pcS0Yng6bS_LW_GwKNx6r0sq63vnqrTq2WY,60991488
3
+ wash_bin-2.0.2.dist-info/METADATA,sha256=5B8tRRkRgDfOb_vgXPVXjvHKkRQmfbBdKERBLxjQS4E,1582
4
+ wash_bin-2.0.2.dist-info/WHEEL,sha256=Ica8fhmbe52XbO1cyRYPNSx0KW5onuxFfHy_a18hkCU,93
5
+ wash_bin-2.0.2.dist-info/entry_points.txt,sha256=wvyDGKdT5unXHs97PaCMpKEPLwy6RTxD7zQvROVZvgw,39
6
+ wash_bin-2.0.2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: build_wheels.py
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ wash = wash_cli:main
wash_cli/__init__.py ADDED
@@ -0,0 +1,36 @@
1
+ """wash CLI - a tool for wasmCloud development."""
2
+
3
+ import os
4
+ import subprocess
5
+ import sys
6
+ from pathlib import Path
7
+
8
+ try:
9
+ from importlib.metadata import version
10
+
11
+ __version__ = version("wash-bin")
12
+ except Exception:
13
+ __version__ = "0.0.0"
14
+
15
+ _BIN = "wash.exe" if sys.platform == "win32" else "wash"
16
+
17
+
18
+ def _binary_path() -> Path:
19
+ """Return the path to the wash binary."""
20
+ return Path(__file__).parent / _BIN
21
+
22
+
23
+ def main() -> None:
24
+ """Entry point that delegates to the native binary."""
25
+ binary = _binary_path()
26
+ if not binary.exists():
27
+ print(
28
+ f"wash binary not found at {binary}",
29
+ file=sys.stderr,
30
+ )
31
+ sys.exit(1)
32
+ args = [str(binary), *sys.argv[1:]]
33
+ if sys.platform != "win32":
34
+ os.execv(args[0], args)
35
+ else:
36
+ raise SystemExit(subprocess.call(args))
wash_cli/wash.exe ADDED
Binary file