On the editorial workflows site http://editorial-app.appspot.com/workflows the workflow Render to PDF shows you how to create a mini webserver in python.

But I don't understand what you want to do, and as you say, this is probably overkill. Pythonista's companion app, Editorial, has a workflow action Show html and a function console.quicklook that shows rendered html and lets you open it in a browser app (I have icab mobile), but strangely does not let you open in safari. The prerelease blurb for Pythonista 1.4 said it would have console.quicklook, but it's not in the documentation.