Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Websocket based python wrapper for Electron projects

Project description

# MesonPY
## Backend Side (Py)
```python
from MesonPy.BackendApplication import BackendApplication

if __name__ == '__main__':
app = BackendApplication()
app.kernel.rpc.register('hello', lambda: print('hello world'))
app.kernel.rpc.register('add2', lambda x, y: x + y)
app.run()
```
## Frontend Side (Py)
```python
from MesonPy.FrontendApplication import FrontendApplication

if __name__ == '__main__':
app = FrontendApplication()
app.start()
app.rpc('hello') # Print "hello world" in the server process
print(app.rpc('add2', (2, 1))) # 3
```

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for MesonPy, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size MesonPy-0.0.1.tar.gz (14.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page