Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

macmon_lib-0.7.0-cp39-abi3-macosx_11_0_arm64.whl (265.2 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file macmon_lib-0.7.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for macmon_lib-0.7.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 edcb70edf82a75c6dbd9f7a06a70baa1a5adff8137598ce6066e7bdb48f919d0
MD5 288ffe0667bbd5336d84ff9924fab777
BLAKE2b-256 518cd6cf70df9a5da1c4c106d57a4023024499261269ef135385aa9e78cea1fc

See more details on using hashes here.

Supported by

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