How to use Pylance in Emacs

I developed a patcher to allow Pylance to run outside of VS Code again, standalone. You can combine that with a code snippet from the lsp-mode issue tracker to integrate Pylance into Emacs. The patcher is so trivial under the hood that you can do it by hand if you prefer it that way, assuming a bit of JavaScript knowledge.