Pimoroni MMME with Raspberry Pi

Hi, I just bought some pimoroni Micro Metal Motor Encoder to use with some Geared motors and I was wondering if anyone had successfully used these with the Raspberry Pi instead of the Motor 2040? I had a look and I can only find a library for the Motor 2040.

I got them for my son to do general maker stuff with.

There is some info here that might help.
Magnetic Encoder Pair Kit for Micro Metal Gearmotors, 12 CPR, 2.7-18V - Pimoroni

I ended up getting an Inventor 2040 anyway :)

I have one sitting on my desk, nice bit of kit. I haven’t done anything motor related just yet. Mostly servo testing so far. I haven’t had it all that long. I added a small i2c OLED display and a Rotary Encoder. Still early days code wise on it.