--- id: logic2-automation version: "1.0.11" license: unclear license_treatment: unclear maintenance: active --- # logic2-automation — Library for using the Saleae Logic 2 Automation API License: unclear · Maintenance: active · Downloads: 171.3K/mo ## What it is and what it does logic2-automation is a gRPC-based Python client for the Saleae Logic 2 Automation API, allowing you to control Logic 2 hardware analyzers programmatically. It wraps the Automation API's protocol buffer definitions and exposes them as a Python interface, letting you capture digital signals, configure analyzers, and retrieve results without manual interaction with the Logic 2 GUI. The package depends on grpcio, protobuf, and pywin32, and has experienced a complex history of protobuf/gRPC version compatibility issues that the maintainers have worked to stabilize. It is actively maintained and supports current Python versions (3.7+), making it suitable for automation workflows that integrate hardware analysis into larger test or measurement systems. Use it for: - Automate digital signal capture and analysis in continuous integration or test pipelines using Saleae Logic 2 hardware. - Build custom measurement or debugging tools that programmatically control Logic 2 analyzers without GUI interaction. - Integrate protocol decoding and signal analysis into data acquisition or embedded systems validation workflows. - Script batch analysis of multiple captured signals or configure analyzer settings dynamically based on test parameters. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python client library for controlling Saleae Logic 2 hardware analyzers via the Automation API, enabling programmatic capture and analysis of digital signals. Yes, if you own Saleae Logic 2 hardware and need to automate signal capture and analysis in Python. The package is actively maintained, has low install friction, and no known vulnerabilities. Verify the license before use in proprietary contexts. Be aware that protobuf/gRPC compatibility has been a historical issue; test with your specific dependency versions before deploying to production. ## Install pip install logic2-automation uv add logic2-automation poetry add logic2-automation ## Installing logic2-automation Before you install: Low friction installation with a pure-Python wheel. Maintenance is active with recent releases; however, the changelog shows a history of protobuf/gRPC compatibility issues that have been addressed but may resurface if dependency versions diverge. License in practice: License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license at the repository before use in proprietary or restricted contexts. Quickstart: pip install logic2-automation import logic2_automation # Create a client and connect to Logic 2 Automation API client = logic2_automation.LogicClient() Requires Python >=3.7 and a running Saleae Logic 2 application with Automation API enabled; pywin32 dependency is Windows-specific. Verify before relying: - Exact API surface and supported analyzer operations beyond what the excerpt describes. - Whether gRPC port configuration (added in 1.0.7) is documented and stable. - Current state of protobuf/gRPC version pinning and whether compatibility issues have been fully resolved. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 171.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags logic analyzer automation, saleae logic 2 python, digital signal capture api, hardware analyzer control, grpc protocol analyzer client, hardware-automation, grpc-client, signal-analysis [View on SkillFed](https://skillfed.io/packages/logic2-automation) · [View on PyPI](https://pypi.org/project/logic2-automation/)