From 4f6f7d38ec362bc0a3a3d20bbaf777ccaad485a3 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Mon, 24 Apr 2023 22:17:39 -0500 Subject: [PATCH 1/2] fix `utils.py` link in README, for pypi benefit --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d359833..809d12a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Once installed, run `amdgpu-stats` in your terminal of choice ## Module -*Rudimentary* support as a module exists; functions / variables offered can be found in [utils.py](./src/amdgpu_stats/utils.py) +*Rudimentary* support as a module exists; functions / variables offered can be found in `amdgpu_stats.utils` Of most interest: - The function `find_card` which returns a tuple; the discovered card and hwmon directory @@ -49,3 +49,4 @@ In [3]: print(SRC_FILES) In [4]: print(TEMP_FILES) {'edge': '/sys/class/drm/card0/device/hwmon/hwmon9/temp1_input', 'junction': '/sys/class/drm/card0/device/hwmon/hwmon9/temp2_input', 'mem': '/sys/class/drm/card0/device/hwmon/hwmon9/temp3_input'} ``` +_Latest_ [Source file](https://github.com/joshlay/amdgpu_stats/blob/master/src/amdgpu_stats/utils.py) From 927adc91f3919532466925a564a3efa05cf5c2b5 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Mon, 24 Apr 2023 22:20:14 -0500 Subject: [PATCH 2/2] bump ver --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9858a0b..6025dd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "amdgpu-stats" -version = "0.1.3" +version = "0.1.4" description = "A simple TUI (using Textual) that shows AMD GPU statistics" authors = ["Josh Lay "] repository = "https://github.com/joshlay/amdgpu_stats"