We present SpectraFit, a Python package specifically designed for the analysis of spectroscopic data using various fitting and statistical tools. This package's object-oriented nature allows for the full utilization of the range of fitting optimizers and minimizers available in its underlying fitting package, lmfit, as well as linked packages such as statsmodels 127 , numdifftools 128 , scipy , and emcee. Additionally, SpectraFit offers a Python API, which allows the user to access the full potential of the fitting package. Our research demonstrates the effectiveness and efficiency of SpectraFit in analyzing spectroscopic data. Both a command line and a Jupyter interface with the graphical user interface (GUI) via Plotly 108 are provided and allow to work on fitting problems in a project fashion, including standardized file export. Ultimately, the pledge for open-source development provides a platform for the community to extend the functionality of SpectraFit by suggesting new improvements, extensions, and plugins via the issue and pull requests.