sarkisderderian / PyFladesk

create desktop application by using Flask and QtWebKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

create desktop application by using Flask and QtWebKit

License:MIT License


Languages

Language:Python 77.0%Language:HTML 23.0%