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.1.tar.gz (3.1 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.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quarkdotpy-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 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.1.tar.gz
Algorithm Hash digest
SHA256 c31be66df869723de31f1c766796329c1bab462b6a4da3da913115c0995a18a2
MD5 559ca22b201f904a646d97f50c6ba9c4
BLAKE2b-256 db5c68cf3652221c17522565ac3bf11cfbc7b2be2475d9f8d282ecf3afcdb859

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quarkdotpy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e33b52a17ee80105b6c2d58c11cb735d0ff5b05146054a01aa65fac7bd90f7ce
MD5 1e9be464f6984c0058eb9aea7d1f2bd1
BLAKE2b-256 26e39b51aceb8cb11a3fbc411f0d94a99f5728d6cc84097f80c0a789a020242e

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