Skip to main content

MacTmp

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 file.py

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: https://pypi.org/project/MacTmp/

Github Page Here: https://github.com/kethan1/MacTmp/

Release files for MacTmp 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MacTmp 0.0.9
File Size Uploaded
MacTmp-0.0.9.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MacTmp 0.0.9
File Interpreter ABI Platform
MacTmp-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / MacTmp-0.0.9.tar.gz

Download URL MacTmp-0.0.9.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d599325a5597325e0000b1412c351e6fb83a673bc7a60586f8994bfe7f208218
BLAKE2b-256 checksum
How to use checksums
f9390cf6985ec2ed1cc64035c1b7fd54ae0a4ee7acf5cfbe06b20f28bf59fdf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / MacTmp-0.0.9-py3-none-any.whl

Download URL MacTmp-0.0.9-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
821837b9df4013098668f582cc3e96e059d686bbc6add5057dbd460c7b00829d
BLAKE2b-256 checksum
How to use checksums
97f8618973aa4ef6408c3b0958f11d273e7c98ec709118da0458caf31b3f939d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.0.9 This release

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

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