This is an enclosure for the BME680 board by Pimoroni. It's designed around the use of angled pins, though there should be just enough space if you'd rather have straight pins soldered to the board.
The lid snaps nicely onto the two pillars in the bottom part of the enclosure and helps keep everything nicely in place.
The author marked this model as their own original creation.