create desktop application by using Flask and QtWebKit
Python HTML
Permalink
Failed to load latest commit information.
static/css init Dec 17, 2015
templates init Dec 17, 2015
.gitignore update .gitignore Dec 24, 2015
LICENSE Initial commit Dec 17, 2015
README.md Update README Jan 5, 2016
appicon.png add icon and some improvements Jan 5, 2016
pyfladesk.py add icon and some improvements Jan 5, 2016
routes.py imporove naming and structure Dec 24, 2015

README.md

PyFladesk

create desktop application by using Flask and QtWebKit

IDEA

Rather than open Flask app in user browser, create a QWebview and then run Flask app on it.

Notice

I'm new to python and I'm going to improve my python knowledge. I was looking for new way to create desktop applications. Create this project for learning purpose. Maybe/surely my codes need to more improvements.

How to use

add your routes in routes.py

ex:

from flask import Flask, render_template

app = Flask(__name__)

@app.route('/')
def index():
    return render_template('index.html')

then run your desktop app

> python pyfladesk.py

Sample RSS Reader app

I wrote a sample Rss reader app by PyFladesk. you can find here.

it works fine in Windows 7 but I didn't test it in Linux or OSx. if you did it please let me know about it.

Contributing

FEEL FREE TO TELL ME IF YOU SEE ANY MISTAKE OR NOTABLE THINGS BY OPENING A NEW ISSUE OR SENDING PULL REQUEST

Thanks

Thanks to Mathias Ettinger for his review