Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pmp-p/aiolink

async rpc on half duplex links with transparent object proxy for python, demo https://pmp-p.github.io/micropython-next/dom-rw.html
https://github.com/pmp-p/aiolink

asyncio python3 rpc-client

Last synced: 7 days ago
JSON representation

async rpc on half duplex links with transparent object proxy for python, demo https://pmp-p.github.io/micropython-next/dom-rw.html

Awesome Lists containing this project

README

        

# aiolink

disclaimer: this is a hack.

it was created with main purpose of allowing a threadless cpython to interact simply with a javascript engine.

second thing is : it works and allow to write cool stuff directly in python like

```
window.alert('hello world')

window.document.title = "why should I have thrown javascript before"

window.document.getElementById('exit_label').textContent = "this way out"

```

maybe later implement callbacks for event bubble system of the browser Dom