This project includes an Arduino .INO for making basic measurements from MLX903985 magnetometer (based off of the Adafruit Driver example code) and python script to log data from the Arduino via the serial connection.
Use the included package installer in the Arduino IDE to install the following:
Download the .zip file and install from .zip for the following (and possibly the above depending on version):
For reading the serial output from the Arduino using Python, install PySerial using:
pip install pyserial