HMC6343 - I2C Compass Module

Hello. I would like to use the “HMC6343 - I2C Compass Module” which I just bought for my Arduino board also for the BBB. Can anyone refer me to a library (e.g python)? Thanks!

Have a look at some of the code here: https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code

And this might help some too: https://github.com/adafruit/adafruit-beaglebone-io-python

Here’s my poor attempt for the HMC5883L: https://github.com/tdack/Adafruit-Raspberry-Pi-Python-Code/tree/HMC5883L/Adafruit_HMC5883L