Released:
Latest version
Create desktop applications with Flask (or Django)!
Project description
Py2app - Create standalone Mac OS X applications with Python¶. Py2app is a Python setuptools command which will allow you to make standalone application bundles and plugins from Python scripts. Py2app is similar in purpose and design to py2exe for Windows. Master tkinter concepts and fundamentals with Python. Build graphical apps with Python. Want to move out of the console and make desktop applications? This course is for you! With Tkinter you can make Python desktop applications in Mac OS, Windows or Linux. Master Tkinter through practical tutorials. Why you need this course.
Create desktop applications with Flask/Django!Install
Or download source file flaskwebgui.py and place it where you need.
Usage with Flask
Add bellow js code to your base.html (or to your script.js file)
In your main python file add bellow 3 lines of code
Usage with Django
Make a file 'gui.py'(file name not important) next to 'manage.py' file in the django project folder.
Add the js code like we did it up.
Inside 'gui.py' file add these 2 lines of code:
Next run from your terminal the bellow command:
Configurations
Default FlaskUI class parameters:
Should work on windows/linux/mac with no isssues.
Develop your app as you would normally do, add flaskwebgui at the end or for tests.flaskwebgui doesn't interfere with your way of doing a flask application it just helps converting it into a desktop app more easily with pyinstaller or pyvan.
Distribution
You can distribute it as a standalone desktop app with pyinstaller or pyvan.
Credits
It's a combination of https://github.com/Widdershin/flask-desktop and https://github.com/ChrisKnott/Eel
flaskwebgui just uses threading to start a flask server and the browser in app mode (for chrome).It has some advantages over flask-desktop because it doesn't use PyQt5, so you won't have any issues regarding licensing and over Eel because you don't need to learn any logic other than Flask/Django.
Submit any questions/issues you have! Fell free to fork it and improve it!
Release historyRelease notifications | RSS feed
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.6
0.1.2
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for flaskwebgui-0.1.13-py3-none-any.whl
Hashes for flaskwebgui-0.1.13.tar.gz
Python has a huge number of GUI frameworks (or toolkits) available for it, from TkInter (traditionally bundled with Python, using Tk) to a number of other cross-platform solutions, as well as bindings to platform-specific (also known as 'native') technologies.
Cross-Browser Frameworks
Best Looking Python GuiCross-Platform Frameworks
The major cross-platform technologies upon which Python frameworks are based include Gtk, Qt, Tk and wxWidgets, although many other technologies provide actively maintained Python bindings.
Platform-specific Frameworks
GUI Design Tools and IDEs
Links
http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments#Python - Wikipedia article describing several IDE's and GUI Builders.
Python Gui WindowsEditorial NotesPython Gui Software
The above lists should be arranged in ascending alphabetical order - please respect this when adding new frameworks or tools.
Mac Python Gui App InstallerComments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |