Skip to content

LivelyKernel/lively.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lively.py

Lively-like live programming support for Python.

Getting started

Starting a websocket server endpoint in a subprocess:

from lively.ws_server import start_in_subprocess
start_in_subprocess()

Starting in main thread and process with event loop passed in by users:

import asyncio
import lively.ws_server
loop = asyncio.get_event_loop()
lively.ws_server.start(hostname="0.0.0.0", port=9942, loop=loop)
loop.run_forever()

License

MIT