Fast Python bindings for macmon with a bundled native library and no external runtime binaries
Project description
macmon-lib
Fast Python bindings for macmon.
The wheel bundles the native library, so it installs and runs without separate external binaries.
Editable install
From the repository root:
make cmacmon
cd python
pip install -e .
Wheel
From the repository root:
make python_wheel
The raw wheel is written to python/dist/.
The repaired wheel is written to python/wheelhouse/.
Example
cd python
python example.py
The example prints soc_info() once and then streams metrics to the console until Ctrl-C.
If sampler initialization fails on the current host, it exits with the underlying macmon error message.
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 Distributions
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
File details
Details for the file macmon_lib-0.7.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: macmon_lib-0.7.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 265.2 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edcb70edf82a75c6dbd9f7a06a70baa1a5adff8137598ce6066e7bdb48f919d0
|
|
| MD5 |
288ffe0667bbd5336d84ff9924fab777
|
|
| BLAKE2b-256 |
518cd6cf70df9a5da1c4c106d57a4023024499261269ef135385aa9e78cea1fc
|