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/
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| MacTmp-0.0.9.tar.gz | 2.5 kB | Without provenance | Details for MacTmp-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| MacTmp-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for MacTmp-0.0.9-py3-none-any.whl |
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
|
Security for MacTmp 0.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.