Python wrapper for macmon binary (macOS Apple Silicon only)
Project description
macmon-python
A Python wrapper for a binary that reports system metrics like CPU/GPU temperature, memory usage, and power consumption.
This just a simple wrapper around https://github.com/vladkens/macmon
Installation
pip install macmon-python
Usage
from macmon import MacMon
# Create an instance
metrics = MacMon()
data = metrics.get_metrics()
print("System Metrics:")
print(data)
Async Usage
from macmon import MacMon
import asyncio
async def main():
# Create an instance
metrics = MacMon()
data = await metrics.get_metrics_async()
print("System Metrics:")
print(data)
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
macmon_python-0.1.1.tar.gz
(689.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
macmon_python-0.1.1-py3-none-any.whl
(691.6 kB
view details)
File details
Details for the file macmon_python-0.1.1.tar.gz.
File metadata
- Download URL: macmon_python-0.1.1.tar.gz
- Upload date:
- Size: 689.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdaba00b9326892d2c0af414e8f45410412a9424b5b7fbae9f7193c502471a42
|
|
| MD5 |
ad8d1921b11038b6e559a0056ce8c26b
|
|
| BLAKE2b-256 |
5d23afdbaff0b3b388818d6a3e68bce1a81fb9fec36f9aeedbc1643b57bc3d81
|
File details
Details for the file macmon_python-0.1.1-py3-none-any.whl.
File metadata
- Download URL: macmon_python-0.1.1-py3-none-any.whl
- Upload date:
- Size: 691.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab37dacd19b19f0b2507b5a399b652391d21bcf46088c3fd7e21864787c85344
|
|
| MD5 |
c325bed55a753b1982d2b33e42295fd2
|
|
| BLAKE2b-256 |
4980284d0838d6b4f57e2480c47ad6c23361c54257121d15ad9c826f4992edb3
|