PyXRF is a python-based sophisticated fluorescence analysis package for fitting and visualizing X-ray fluorescence data.
We support installation on Linux/Mac/Windows, please refer to How to install PyXRF
The youtube tutorial of pyxrf is at https://www.youtube.com/watch?v=2nFLccehaHI
The core fitting functions are a part of the scikit-beam data analysis library for x-ray data analysis. The design philosophy is to separate data fitting and gui for easy maintenance.