Upload xlsx and use script for analysis

Hi,

I have x.py script which take .xlsx from computer and make various steps, such:
a) connect SQL server, add more data
b) take more data from webs
c) make various calculations and get final numbers
d) plot a chart

Is there any way in Dash to upload file with dcc.upload
save as df
run x.py script for that df?
I would get result and can callback it as dcc.graph