Python SOAP framework for calculating statistically optimized atomic potentials