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"
Metadata
Release files for quarkdotpy 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quarkdotpy-1.0.4.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quarkdotpy-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / quarkdotpy-1.0.4.tar.gz
| Download URL | quarkdotpy-1.0.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76aa0e767d7748a63b78ee39eccd7505c26fccd4e804da8d50ac73110dce5434
|
|
BLAKE2b-256 checksum How to use checksums |
8119381cdbc8528f463d67f2a3a444dad0ab84da45ae1d5edf1eaf04db2f508c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Release files / quarkdotpy-1.0.4-py3-none-any.whl
| Download URL | quarkdotpy-1.0.4-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51f0366fac673c5a7e3bb308992582de1608e937fcaa8585eb67f5868578138c
|
|
BLAKE2b-256 checksum How to use checksums |
1c64c5019bd1d2c558ec63718472b26b8b1156d82736729d54480250ee8f1375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|