MeasurementLink Support for Python v0.12.0
MeasurementLink™ Support for Python (ni-measurementlink-service
) is a python framework that enables measurement developers to quickly create python measurements and run them as a service (gRPC).
What's Changed
- Renamed the packages to 'ni-measurementlink-service' and 'ni-measurementlink-generator'. This corresponds with a change to the repo name
- Upgraded to protobuf 4.21. This is a new major version that uses the C upb library to improve performance. It breaks compatibility unless you set an environment variable to opt out of the new implementation: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
- Upgraded to grpcio & grpcio-tools 1.49.1. Version 1.48 and older require protobuf>=3.12.0, < 4.0dev, which means they are not compatible with protobuf 4.21
- Various fixes and enhancements to the examples including pin support
- Regenerated stub code with several updated .proto files
- Support for Python 3.10 and 3.11
Full Changelog: 0.12.0...0.11.1
Dependencies
- Python >= 3.8 (3.9 recommended)
- grpcio >= 1.49.1, < 2.x
- protobuf >= 4.21, < 5.x
- pywin32 >= 303 (Only for Windows)
Installation
Make sure the system has the recommended Python version installed.
Install the latest NIMS Framework using pip.
REM Activate the required virtual environment if any.
pip install ni-measurementlink-service
Install the ni-measurementlink-generator to create measurement services
REM Activate the required virtual environment if any.
pip install ni-measurementlink-generator