WinTmp
WinTmp, short for Windows Temperature, is a Python module that provides easy access to the temperatures of the CPU and GPU in Windows.
This module requires administrator privileges to access the sensor data as it uses LibreHardwareMonitor internally. Please ensure that your code is run with admin privileges.
Install using pip:
pip install WinTmp
WinTmp exposes two functions:
CPU_Temp()- Returns the temperature of the first CPU as a float.
GPU_Temp()- Returns the temperature of the first GPU found as a float.
CPU_Temps()- Returns the temperatures of all the CPUs as a list of floats.
GPU_Temps()- Returns the temperature of all the GPUs as a list of floats.
In admin command prompt type python.
Demo:
>>> import WinTmp
>>> print(WinTmp.CPU_Temp())
44.00000762939453
>>> print(WinTmp.GPU_Temp())
44.12500762939453
>>> print(WinTmp.CPU_Temps())
[44.00000762939453]
>>> print(WinTmp.GPU_Temps())
[44.62500762939453]
PyPI: https://pypi.org/project/WinTmp/
Github: https://github.com/kethan1/WinTmp/
If you experience any issues, bugs, or shortcomings with this module, please don't hesitate to open an issue!
Release files for WinTmp 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wintmp-1.3.0.tar.gz | 346.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wintmp-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 691.2 kB
Release files / wintmp-1.3.0.tar.gz
| Download URL | wintmp-1.3.0.tar.gz |
|---|---|
| Size | 346.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b052969b31f2887a8f445b4e3171fd324ab6e3981c01411a005489c5b97fbf9
|
|
BLAKE2b-256 checksum How to use checksums |
86394b8d2ae63c9c8f032b3f9f4f3a93cf3b1b7ee6017a75d50a484094fc54d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2025.
Transparency logRelease files / wintmp-1.3.0-py3-none-any.whl
| Download URL | wintmp-1.3.0-py3-none-any.whl |
|---|---|
| Size | 344.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd81a759599596c2b13d9bd9c7aeb16126d812a431e3d4b6d6015547ad717f89
|
|
BLAKE2b-256 checksum How to use checksums |
a054c68bf39655a296458b2a0afaf91013e31b183c1c2d22660d303410c17d22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2025.
Transparency log