The best way to push custom fields and master values for every new erpnext setup

I am looking for the best way to achieve functionality to push custom fields ad import masters in bulk based on client category and further quick results by having a template script to achieve it,please share your experience and advise