@vincentzyuapps/winload 0.1.8-rc.10 → 0.1.8-rc.13

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.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. package/readme.md +22 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentzyuapps/winload",
3
- "version": "0.1.8-rc.10",
3
+ "version": "0.1.8-rc.13",
4
4
  "description": "Network Load Monitor — nload-like TUI tool for Windows/Linux/macOS (prebuilt Rust binary)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,11 +33,11 @@
33
33
  "access": "public"
34
34
  },
35
35
  "optionalDependencies": {
36
- "@vincentzyuapps/winload-win32-x64": "0.1.8-rc.10",
37
- "@vincentzyuapps/winload-win32-arm64": "0.1.8-rc.10",
38
- "@vincentzyuapps/winload-linux-x64": "0.1.8-rc.10",
39
- "@vincentzyuapps/winload-linux-arm64": "0.1.8-rc.10",
40
- "@vincentzyuapps/winload-darwin-x64": "0.1.8-rc.10",
41
- "@vincentzyuapps/winload-darwin-arm64": "0.1.8-rc.10"
36
+ "@vincentzyuapps/winload-win32-x64": "0.1.8-rc.13",
37
+ "@vincentzyuapps/winload-win32-arm64": "0.1.8-rc.13",
38
+ "@vincentzyuapps/winload-linux-x64": "0.1.8-rc.13",
39
+ "@vincentzyuapps/winload-linux-arm64": "0.1.8-rc.13",
40
+ "@vincentzyuapps/winload-darwin-x64": "0.1.8-rc.13",
41
+ "@vincentzyuapps/winload-darwin-arm64": "0.1.8-rc.13"
42
42
  }
43
43
  }
package/readme.md CHANGED
@@ -49,6 +49,27 @@ https://github.com/rolandriegel/nload
49
49
 
50
50
  ![Winload Benchmark](docs/benchmark/benchmark.svg)
51
51
 
52
+ ## 🔧 Run from Source
53
+
54
+ ### Python
55
+ ```bash
56
+ git clone https://github.com/VincentZyuApps/winload.git
57
+ # or clone from Gitee (faster in China Mainland):
58
+ # git clone https://gitee.com/vincent-zyu/winload.git
59
+ cd winload/py
60
+ pip install -r requirements.txt
61
+ python main.py
62
+ ```
63
+
64
+ ### Rust
65
+ ```bash
66
+ git clone https://github.com/VincentZyuApps/winload.git
67
+ cd winload/rust
68
+ cargo run --release
69
+ cargo run --release -- --help # Show help
70
+ cargo run --release -- --version # Show version
71
+ ```
72
+
52
73
  ## 🐍 Python Edition Installation
53
74
  > 💡 **Implementation Note**: Only PyPI and GitHub/Gitee provide Python edition.
54
75
  > Only Cargo provides Rust source code for local compilation.
@@ -59,7 +80,7 @@ pip install winload
59
80
  # recommend use uv:
60
81
  # https://docs.astral.sh/uv/getting-started/installation/
61
82
  # https://gitee.com/wangnov/uv-custom/releases
62
- uv venv
83
+ uv venv --python 3.12
63
84
  uv pip install winload
64
85
  uv run winload
65
86
  uv run python -c "import shutil; print(shutil.which('winload'))"