Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pmp-p/aiolink
- Owner: pmp-p
- Created: 2018-12-01T11:07:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-04T09:09:12.000Z (about 6 years ago)
- Last Synced: 2024-10-29T13:43:24.560Z (about 2 months ago)
- Topics: asyncio, python3, rpc-client
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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