I wrote a package to get sensor values from an airsensor I got on Amazon. It’s available on Github.

Before writing my own package I did some research and found that there is a C implementation available for this sensor. But when testing it I found that it had significant delay to get sensor values. Since I’m planning to use the sensor values from Python anyways I decided to reimplement the functionality from the C implementation leveraging the higher-level PyUSB library to interface with the device.

The instructions how to use it are in the on Github.