Squeezing frameworks: from lab bench to deep planetary interiors