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.2.tar.gz (3.2 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.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quarkdotpy-1.0.2.tar.gz
  • Upload date:
  • Size: 3.2 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.2.tar.gz
Algorithm Hash digest
SHA256 619d2b4190e526db1b9310ed5c889bb5ff2f94a9f6046857ce8adcbcd0f69498
MD5 2c1e6be072016e303e6c13edf8f8b5bb
BLAKE2b-256 e663e7cdf62e7d66cb1f109470a39287b312046dde136bb571fae33b7b6c16be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quarkdotpy-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f35ec49540cb1b9fd09ff7daf30df667f19c31af3824d31f6a541c13d4111c2
MD5 c61482015e285f2957254521d2470081
BLAKE2b-256 0cdeed9d39a4661bc77bfd0831652caac90ff29287e7448130fdac3dfd23f297

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