Home
A CLI tool to build desktop applications with Neutralinojs and Python as backend
Thanks to Neutralinojs's extension system, which allows us to spawn a process and communicate with it. neutrapy
maintains both the app and the extension written in Python. Also thanks to PyOxidizer
that compiles Python code to into binary so that it can be shipped with the app.
Example
The example is generated by neutrapy create -n example
. It isn't the same as the offical example, called litePy, from Neutralinojs. The official one saves the code into a temporary file and executes it by spawn a python process, which is just a one-way communication. neutrapy
uses websocket_client for the extension to communicate with the Neutralino server. This enables a bi-directional communication between the frontend and backend.
Installation
$ pip install -U neutrapy
# Installs the latest version of neutrapy
Documentation
https://pwwang.github.io/neutrapy/