A little Python module for making simple HTML/JS GUI apps with Flask
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyneutralino-1.0.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for pyneutralino-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 722fb684f2b8d29250bda5c55e4e3e46f9a50c9f7f2cc282126f5d4871f6cf42 |
|
MD5 | f308bf41646ffcaa0681d4b272501974 |
|
BLAKE2b-256 | 1ded8eb60b209fc973be349b2c620a97d62fa8b9b8681c3696a97ce3d850894f |