Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyneutralino, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyneutralino-1.0.2-py3-none-any.whl (1.5 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyneutralino-1.0.2.tar.gz (1.5 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page