Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS code into simple desktop apps.
Project description
Quark.py
Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS codes into simple desktop apps.
Why use Quark.py instead of other frameworks like Electron?
- 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.
Optimization
- 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.
FAQ
- 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).
How to use:
- To initiate the project run -> pip install -r requirements.txt
- Edit the codes inside the /web directory according to your needs.
- Run this to build your .exe app -> python -m PyInstaller --onefile --noconsole --name "name of your app" --clean --add-data "web;web" quark.py --icon "icon.ico"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quarkdotpy-1.0.4.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quarkdotpy-1.0.4.tar.gz.
File metadata
- Download URL: quarkdotpy-1.0.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76aa0e767d7748a63b78ee39eccd7505c26fccd4e804da8d50ac73110dce5434
|
|
| MD5 |
c20294149bffa4c68db3646cf9c6325e
|
|
| BLAKE2b-256 |
8119381cdbc8528f463d67f2a3a444dad0ab84da45ae1d5edf1eaf04db2f508c
|
File details
Details for the file quarkdotpy-1.0.4-py3-none-any.whl.
File metadata
- Download URL: quarkdotpy-1.0.4-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51f0366fac673c5a7e3bb308992582de1608e937fcaa8585eb67f5868578138c
|
|
| MD5 |
888e4e82b29289b83099f4b2387597c6
|
|
| BLAKE2b-256 |
1c64c5019bd1d2c558ec63718472b26b8b1156d82736729d54480250ee8f1375
|