Skip to main content

A package used to get temperatures on Mac OS Machines.

Project description

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/

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file MacTmp-0.0.9.tar.gz.

File metadata

  • Download URL: MacTmp-0.0.9.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for MacTmp-0.0.9.tar.gz
Algorithm Hash digest
SHA256 d599325a5597325e0000b1412c351e6fb83a673bc7a60586f8994bfe7f208218
MD5 c0632cb03e0aec308005fc88f137141f
BLAKE2b-256 f9390cf6985ec2ed1cc64035c1b7fd54ae0a4ee7acf5cfbe06b20f28bf59fdf2

See more details on using hashes here.

File details

Details for the file MacTmp-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: MacTmp-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for MacTmp-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 821837b9df4013098668f582cc3e96e059d686bbc6add5057dbd460c7b00829d
MD5 3d4d56500ebec40ecb9fbc95239286b2
BLAKE2b-256 97f8618973aa4ef6408c3b0958f11d273e7c98ec709118da0458caf31b3f939d

See more details on using hashes here.

Supported by

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