Skip to main content

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)

Source distribution for WinTmp 1.3.0
File Size Uploaded
wintmp-1.3.0.tar.gz 346.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for WinTmp 1.3.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page