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.2.tar.gz
(1.5 MB
view hashes)
Built Distribution
Close
Hashes for pyneutralino-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 850bdb2ef912beaf2cd56a6aebef0da961445309aad4c7f3cd5b6544f5409aec |
|
MD5 | ef7a682d2fc87062fb16f28b0129f34a |
|
BLAKE2b-256 | e513cb988d87cd180d083704d544def67124aa1df32e7f0b8ef3127669f285db |