Skip to content

MeasurementLink Support for Python v0.12.0

Compare
Choose a tag to compare
@dixonjoel dixonjoel released this 04 Jan 16:44
· 646 commits to main since this release
3b203d9

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

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