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())
Metadata
Release files for macmon-python 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| macmon_python-0.1.2.tar.gz | 690.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| macmon_python-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / macmon_python-0.1.2.tar.gz
| Download URL | macmon_python-0.1.2.tar.gz |
|---|---|
| Size | 690.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49735bcbc256cfeed7cb3775f838460f5f23c1995f8e45c1acda1b48b6727ab1
|
|
BLAKE2b-256 checksum How to use checksums |
932150ca5285a8b3892fbfbd87b4f6ca7b75c5064586a546d0aa13407e2cbf04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.7
|
Release files / macmon_python-0.1.2-py3-none-any.whl
| Download URL | macmon_python-0.1.2-py3-none-any.whl |
|---|---|
| Size | 692.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
268b17019a7bcf071af201199c095dc2e9f5a896b7e10f46bdf0eb2c1bb54193
|
|
BLAKE2b-256 checksum How to use checksums |
c26fb5a47bd3c3a9a3cbc9180f89a2c420f55f22ff577ca2e52fc613a391b1e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.7
|