These are called "Potting Boxes" and are available in many different sizes from many electronics component suppliers.

Not sure if this is the correct dimensions, but here is a link to DigiKey: https://www.digikey.com/short/p5mwr0

Also, check out this data sheet for...