Skip to main content

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

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.2.tar.gz (690.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

macmon_python-0.1.2-py3-none-any.whl (692.5 kB view details)

Uploaded Python 3

File details

Details for the file macmon_python-0.1.2.tar.gz.

File metadata

  • Download URL: macmon_python-0.1.2.tar.gz
  • Upload date:
  • Size: 690.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for macmon_python-0.1.2.tar.gz
Algorithm Hash digest
SHA256 49735bcbc256cfeed7cb3775f838460f5f23c1995f8e45c1acda1b48b6727ab1
MD5 54918ef3f177565cc89586aad0434b7c
BLAKE2b-256 932150ca5285a8b3892fbfbd87b4f6ca7b75c5064586a546d0aa13407e2cbf04

See more details on using hashes here.

File details

Details for the file macmon_python-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: macmon_python-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 692.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for macmon_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 268b17019a7bcf071af201199c095dc2e9f5a896b7e10f46bdf0eb2c1bb54193
MD5 93503df1bc1626549529f2d328a4148f
BLAKE2b-256 c26fb5a47bd3c3a9a3cbc9180f89a2c420f55f22ff577ca2e52fc613a391b1e5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page