Skip to content

PyNeutralino is a little Python module for making simple HTML/JS GUI apps with Flask.

License

Notifications You must be signed in to change notification settings

Satireven/PyNeutralino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Licence

Code released under the MIT license

About

PyNeutralino is a little Python module for making simple HTML/JS GUI apps with Flask.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published