Save standalone interactive graphs offline without jupyter plotly 2.4.1

I want to use something like the plot function from plotly.offline to save standalone HTML files but not have to start a notebook. Iā€™m trying to send these files to an api so that people can download and view them.

Thanks,
BH