pyneutralino

A little Python module for making simple HTML/JS GUI apps with Flask


Keywords
GUI, Flask, HTML, JavaScript, Neutralino, python
License
MIT
Install
pip install pyneutralino==1.0.2

Documentation

PyNeutralino

PyNeutralino is a little Python module for making simple HTML/JS GUI apps with Flask.

PyNeutralino is based on Neutralinojs. So PyNeutralino inherits its lightweight and cross platform advantages. If you are familiar with Python and Flask, this would be a good solution for writing cross-platform applications.

Installing

pip install pyneutralino

A Simple Example

# app.py

from flask import Flask
from pyneutralino import PyNeutralino
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'

if __name__ == "__main__":
    pn = PyNeutralino(app, name="myapp", port=9000)
    pn.width = 1000
    pn.height = 700
    pn.run()
python app.py

Supports

  • Python2 >= 2.7
  • Python3 >= 3.4

Platform

  • macOS
  • Linux
  • Windows

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Licence

Code released under the MIT license