fix utils.py
link in README, for pypi benefit
fix `utils.py` link in README, for pypi benefit
This commit is contained in:
commit
ad3fe3a22f
2 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,7 @@ Once installed, run `amdgpu-stats` in your terminal of choice
|
||||||
|
|
||||||
## Module
|
## 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:
|
Of most interest:
|
||||||
- The function `find_card` which returns a tuple; the discovered card and hwmon directory
|
- 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)
|
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'}
|
{'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)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "amdgpu-stats"
|
name = "amdgpu-stats"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
description = "A simple TUI (using Textual) that shows AMD GPU statistics"
|
description = "A simple TUI (using Textual) that shows AMD GPU statistics"
|
||||||
authors = ["Josh Lay <pypi@jlay.io>"]
|
authors = ["Josh Lay <pypi@jlay.io>"]
|
||||||
repository = "https://github.com/joshlay/amdgpu_stats"
|
repository = "https://github.com/joshlay/amdgpu_stats"
|
||||||
|
|
Reference in a new issue