{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/5"}],"enrichment":{"capability":"Provides a Python API to automate power consumption measurement and data logging with Nordic Semiconductor's Power Profiler Kit II (PPK 2) over a serial connection.","skillfed_tags":["hardware-profiling","power-measurement","embedded-testing"],"use_cases":["Automated power consumption testing in embedded device development workflows and CI/CD pipelines","Long-term power monitoring and data logging for battery-powered device optimization","Real-time power measurement during firmware development without manual GUI interaction","Batch power profiling across multiple device configurations or firmware variants","Integration of power metrics into test reports and performance dashboards"],"what_it_does":"ppk2-api is a Python wrapper around Nordic Semiconductor's Power Profiler Kit II hardware, enabling automated power consumption measurement and logging without the GUI. It communicates with the PPK 2 device over a serial port and provides methods to configure measurement modes, set voltage levels, and stream power samples in real time.\n\nThe package offers two usage patterns: a basic synchronous API that reads samples on demand, and a multiprocessing variant that runs a background polling process to buffer up to 10 seconds of data, reducing the frequency of manual polling. It is cross-platform and requires only pyserial as a runtime dependency, making it suitable for embedded test automation, power profiling in CI/CD pipelines, and long-term power monitoring applications.","worth_installing":"Yes, if you own a PPK 2 and need automated power measurement. The package is actively maintained, has low install friction, and fills a genuine gap (no official automation support). The GPLv2 license is a consideration for proprietary projects. The 1162-day gap since first release and over a year since the last release suggest the core API is stable but may not be under active feature development."},"id":"ppk2-api","links":{"html":"https://skillfed.io/packages/ppk2-api","md":"https://skillfed.io/packages/ppk2-api.md","pypi":"https://pypi.org/project/ppk2-api/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-06-09","license_spdx":null,"license_treatment":"copyleft","name":"ppk2-api","python_support":"unspecified","summary":"API for Nordic Semiconductor's Power Profiler Kit II (PPK 2)."},"popularity":{"monthly_downloads":85221,"position":13941,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.2"}
