I bought the DFRobot SEN0540 UV sensor, based on the LTR390 sensor.
I was trying to use it with an ESP32, and I tried both the official DFRobot Python library, and also another generic LTR390 micropython library I found on a forum. Neither worked!
I created my own, and thought I’d offer it to the community.