Skip to main content

A package used to get temperatures on Mac OS Machines.

Project description


This is a python module used to find the temperatures of the CPU and GPU in Mac OS. If there is an issue with this module, please open an issue.

Installation: pip3 install MacTmp

Please run this with sudo

Run: sudo python3

Below is the example code:

>>> import MacTmp
>>> print(MacTmp.CPU_Temp())  # To get CPU Temperature
>>> print(MacTmp.GPU_Temp())  # To get GPU Temperature

Both temperatures are in Celcius.

Note: GPU temperature does not work with Intel Integrated Graphics. This module doesn't work with Mac Mini's, and support for M1 Macs is untested. This module relies on powermetrics, so if that command works, this module should work.

PyPI page here:

Github Page Here:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MacTmp-0.0.9.tar.gz (2.5 kB view hashes)

Uploaded source

Built Distribution

MacTmp-0.0.9-py3-none-any.whl (2.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page