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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyneutralino-1.0.2.tar.gz.
File metadata
- Download URL: pyneutralino-1.0.2.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18a36531dd8e3a0002a09904de4eafec089771a5129024783078bf0bbe4a6f77
|
|
| MD5 |
4c388bdd2925d491cf42d931bbebf719
|
|
| BLAKE2b-256 |
ed2ab46fc69127dd30af9bb6ca0bd76dca3e09782442393906f7e6c743aa67a0
|
File details
Details for the file pyneutralino-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pyneutralino-1.0.2-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
850bdb2ef912beaf2cd56a6aebef0da961445309aad4c7f3cd5b6544f5409aec
|
|
| MD5 |
ef7a682d2fc87062fb16f28b0129f34a
|
|
| BLAKE2b-256 |
e513cb988d87cd180d083704d544def67124aa1df32e7f0b8ef3127669f285db
|