Search for toolkit to design app on plotly

I am looking for a toolkit that allows me to build a dashboard and then generate a python code that I will later to deal with events and to add other functionalities. I spend a lot Time to manually create my dashboard. Thanks in advance