Skip to main content

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
  1. Caching strategies – App only loads local HTML/CSS/JS without external requests.
  2. Lazy loading – The HTML codes only load on demand after the window of the app is created.
  3. Reduce memory usage – Minimal dependencies reduce memory usage.
  4. Efficient algorithms – Very simple Python app logic was implemented for fast performance.
  5. 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:
  1. To initiate the project run -> pip install -r requirements.txt
  2. Edit the codes inside the /web directory according to your needs.
  3. 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.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quarkdotpy-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file quarkdotpy-1.0.0.tar.gz.

File metadata

  • Download URL: quarkdotpy-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for quarkdotpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 afe18122add3322046deece1de02e44c2b9e8f7bbe723dcff8dbd25479f966a4
MD5 497fd1d2fb404b6d199802fe01c6287c
BLAKE2b-256 c417c8aa5b18d7b949960c7bc35c900135587f7b985362ae2200458559a3bbb2

See more details on using hashes here.

File details

Details for the file quarkdotpy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: quarkdotpy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for quarkdotpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8086ceea1ffb461182c4a330c73bcf66393a3b88631912c0e416ebed5bc6809
MD5 73b4f3df044b8f2dc2c5e7abc474a976
BLAKE2b-256 939eec65d8fa18fd557ddf494df3d4245042e5483c06040a1cbfe1215ec31898

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page