Library for using the Saleae Logic 2 Automation API
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install logic2-automationSaleae Logic 2 Automation
logic2-automation implements a Python client for the Logic 2 Automation API.
Documentation can be found at https://saleae.github.io/logic2-automation/
Development
Regenrate protobuf files: uv run build-protobufs
Build wheel: uv build
Publish to PyPi: uv publish
Changelog
1.0.11
- Official release of
1.0rc11. - Add version compatibility tests.
1.0rc11
- Major protobuf version dependency change
- Addressing compatibility between the version of protoc used to generate pb files and the version used at runtime has been an ongoing issue. In v1.0.2 we switched
1.0.8
- Revert change to make grpcio-tools a build-time dependency.
- This dependency was originally moved to build deps so that it would only be installed in that environment. Unfortunately this environment is unaffected by the runtime env, so it was not constrained by the user's existing protobuf/grpc dependencies, causing the protobuf/grpc files to be generated using the latest version. If the user used an earlier version of protobuf that was not compatible with the latest, importing logic-automation would fail. By moving grpcio-tools back to a runtime dependency it can be constrained by the user's existing dependencies.
1.0.7
- Fix builds not building with hatchling 1.19.0.
- Add option for setting gRPC port.
1.0.6
- Moved
grpcio-toolsto build dependencies.
1.0.5
- The .whl build has been fixed, and now includes the generate protobuf/grpc files.
1.0.4
- YANKED!
- The protobuf files (
saleae/grpc) generated during the .whl build were not being included in the .whl file. This was caused by thesaleae/grpcdirectory being added to the .gitignore file. These ignored files have been moved to the parent directory's .gitignore, and an empty .gitignore has been added to the python directory.
- The protobuf files (
- Fix boolean analyzer settings not being sent as the correct type.
1.0.3
- Updated the README to link out to the docs, and move build instructions to BUILD.md.