Archived
1
1
Fork 0

fix utils.py link in README, for pypi benefit

fix `utils.py` link in README, for pypi benefit
This commit is contained in:
Josh Lay 2023-04-24 22:22:06 -05:00 committed by GitHub
commit ad3fe3a22f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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)

View file

@ -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 <pypi@jlay.io>"]
repository = "https://github.com/joshlay/amdgpu_stats"