Here's a proof of concept demonstration of bilsbrowser, a Python package for browser interface, local server apps. First, I activate an isolated environment and install the bilsbrowser package along with its example appserver and appclient packages. bilsbrowser executes the two packages in separate processes to make sure your web app's licensing is not affected by PyQt's GPL license. A future version of bilsbrowser will also handle bundling and distribution of desktop apps based on the bils concept. The appclient package has defined a BILS app called "myapp". I type "bils myapp" and it shows me a splash page in an embedded browser. After it starts up appserver, it loads the home page of the app. When I close the browser, I can confirm that appserver is no longer running. Go to github.com/11craft/bilsbrowser to get the code and follow this project.