SouravJohar/python-app-with-electron-gui
A better way to make GUIs for your python apps
python-app-with-electron-gui
A better way to make GUIs for your Python apps
Use HTML, JavaScript and CSS to make highly customized, cross platfrom desktop apps which use native Python backends.
Note: This is for educational purposes only, this may not be efficient or bug-free. Also, this is just a demo on how JS and Python can be used to interact together. This demo is NOT meant to show face detection or object detection.
General Dependenices
- Python
- NodeJS
- electron.js
- python-shell
Specific Dependencies
-
weather module:
- requests
- beautifulsoup4
-
object detection module
- Flask
- tensorflow
- keras
Usage
- Clone the repo, and then
$ cd electron-app-with-python-gui $ pip install -r requirements.txt $ npm install $ npm start- If you want to use the object detection module, make sure the flask server [object_detection.py] is up and running before starting the GUI.
$ cd engine $ python object_detection.py
Note:
weather_engine.py uses web-scraping to pull data off the internet, from a particular website. If this site happens to be modified or changed in the future, the code might break. However, this can be fixed by analyzing the new layout of the site and adjusting the python code accordingly.
Similar Projects
Discover other similar projects and AI models.
:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
30 days of JavaScript programming challenge is a step-by-step guide to learn JavaScript programming language in 30 days. This challenge may take more than 100 days, please just follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
30 Days of React challenge is a step by step guide to learn React in 30 days. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
A Collection of application ideas which can be used to improve your coding skills.
24 Lessons, 12 Weeks, Get Started as a Web Developer
🗂 The essential checklist for modern web development, for humans and AI agents
A professional front-end template for building fast, robust, and adaptable web apps or sites.