Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS codes into simple desktop apps.
- HTML, CSS and JS packed into desktop apps.
- About 65% lighter than Electron in file size.
- Very light and uses Python.
- Does not packs Chromium inside the apps.
- Faster startup than other frameworks and quite optimized.
- Caching strategies implemented for improved performance.
- Easy distribution of apps.
- Caching strategies – App only loads local HTML/CSS/JS without external requests.
- Lazy loading – The HTML codes only load on demand after the window of the app is created.
- Reduce memory usage – Minimal dependencies reduce memory usage.
- Efficient algorithms – Very simple Python app logic was implemented for fast performance.
- Minimize dependencies – Removed useless libraries which helped to reduce the file size a lot.
- Can I make apps for Linux and Mac too? Ans: For now it's not possible but I will consider in future.
- How small is it in file size compared to other frameworks? Ans: Quark.py apps are about 60% more smaller than other framework apps.
- Will it work across all Windows OS? Ans: You must have a well-updated version of Windows 10/11 with latest Webview2 (comes with Edge).
- Click here to download directly or Install the PyPI package:
py -m pip install quarkdotpythen,
py -m py -c "from quarkdotpy.build import create_project; create_project()"- Install dependencies:
pip install -r requirements.txt- Edit the files inside the
/webandquark.pyaccording to your needs. - Build your
.exeapp:
python -m PyInstaller --onefile --noconsole --name "name of your app" --clean --add-data "web;web" quark.py --icon "icon.ico"