Skip to content
Discussion options

You must be logged in to vote

Briefcase leverages Pyscript as the platform to run Python in the browser. As such, it cannot open sockets due to the security model of the browser. Therefore, most (if not all) packages for Python that need to open a socket are not compatible with Pyscript currently. Pyscript does provide some basic APIs for HTTP requests and WebSockets....but it's non-trivial to see how these could facilitate a database connection today.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jlij
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants