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.
pip install pyneutralino
# 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
- Python2 >= 2.7
- Python3 >= 3.4
- macOS
- Linux
- Windows
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Code released under the MIT license