quarkdotpy 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AhnafPro
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,61 @@
1
+ Metadata-Version: 2.1
2
+ Name: quarkdotpy
3
+ Version: 1.0.0
4
+ Summary: Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS code into simple desktop apps.
5
+ Author-email: Ahnaf <ahnaf3635@gmail.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 AhnafPro
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ Project-URL: Homepage, https://github.com/AhnafPro/Quark.py/
28
+ Requires-Python: >=3.8
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: pywebview
32
+
33
+ # Quark.py
34
+
35
+ #### Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS codes into simple desktop apps.
36
+
37
+ ###### Why use Quark.py instead of other frameworks like Electron?
38
+ - HTML, CSS and JS packed into desktop apps.
39
+ - About 65% lighter than Electron in file size.
40
+ - Very light and uses Python.
41
+ - Does not packs Chromium inside the apps.
42
+ - Faster startup than other frameworks and quite optimized.
43
+ - Caching strategies implemented for improved performance.
44
+ - Easy distribution of apps.
45
+
46
+ ###### Optimization
47
+ 1. Caching strategies – App only loads local HTML/CSS/JS without external requests.
48
+ 2. Lazy loading – The HTML codes only load on demand after the window of the app is created.
49
+ 3. Reduce memory usage – Minimal dependencies reduce memory usage.
50
+ 4. Efficient algorithms – Very simple Python app logic was implemented for fast performance.
51
+ 5. Minimize dependencies – Removed useless libraries which helped to reduce the file size a lot.
52
+
53
+ ###### FAQ
54
+ - Can I make apps for Linux and Mac too? Ans: For now it's not possible but I will consider in future.
55
+ - How small is it in file size compared to other frameworks? Ans: Quark.py apps are about 60% more smaller than other framework apps.
56
+ - 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).
57
+
58
+ ###### How to use:
59
+ 1. To initiate the project run -> pip install -r requirements.txt
60
+ 2. Edit the codes inside the /web directory according to your needs.
61
+ 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"
@@ -0,0 +1,29 @@
1
+ # Quark.py
2
+
3
+ #### Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS codes into simple desktop apps.
4
+
5
+ ###### Why use Quark.py instead of other frameworks like Electron?
6
+ - HTML, CSS and JS packed into desktop apps.
7
+ - About 65% lighter than Electron in file size.
8
+ - Very light and uses Python.
9
+ - Does not packs Chromium inside the apps.
10
+ - Faster startup than other frameworks and quite optimized.
11
+ - Caching strategies implemented for improved performance.
12
+ - Easy distribution of apps.
13
+
14
+ ###### Optimization
15
+ 1. Caching strategies – App only loads local HTML/CSS/JS without external requests.
16
+ 2. Lazy loading – The HTML codes only load on demand after the window of the app is created.
17
+ 3. Reduce memory usage – Minimal dependencies reduce memory usage.
18
+ 4. Efficient algorithms – Very simple Python app logic was implemented for fast performance.
19
+ 5. Minimize dependencies – Removed useless libraries which helped to reduce the file size a lot.
20
+
21
+ ###### FAQ
22
+ - Can I make apps for Linux and Mac too? Ans: For now it's not possible but I will consider in future.
23
+ - How small is it in file size compared to other frameworks? Ans: Quark.py apps are about 60% more smaller than other framework apps.
24
+ - 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).
25
+
26
+ ###### How to use:
27
+ 1. To initiate the project run -> pip install -r requirements.txt
28
+ 2. Edit the codes inside the /web directory according to your needs.
29
+ 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"
@@ -0,0 +1,18 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "quarkdotpy"
7
+ version = "1.0.0"
8
+ description = "Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS code into simple desktop apps."
9
+ readme = "README.md"
10
+ license = { file = "LICENSE" }
11
+ authors = [
12
+ { name = "Ahnaf", email = "ahnaf3635@gmail.com" }
13
+ ]
14
+ requires-python = ">=3.8"
15
+ dependencies = ["pywebview"]
16
+
17
+ [project.urls]
18
+ Homepage = "https://github.com/AhnafPro/Quark.py/"
@@ -0,0 +1,61 @@
1
+ Metadata-Version: 2.1
2
+ Name: quarkdotpy
3
+ Version: 1.0.0
4
+ Summary: Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS code into simple desktop apps.
5
+ Author-email: Ahnaf <ahnaf3635@gmail.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 AhnafPro
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ Project-URL: Homepage, https://github.com/AhnafPro/Quark.py/
28
+ Requires-Python: >=3.8
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: pywebview
32
+
33
+ # Quark.py
34
+
35
+ #### Quark.py is a lightweight Python framework for packaging HTML, CSS, and JS codes into simple desktop apps.
36
+
37
+ ###### Why use Quark.py instead of other frameworks like Electron?
38
+ - HTML, CSS and JS packed into desktop apps.
39
+ - About 65% lighter than Electron in file size.
40
+ - Very light and uses Python.
41
+ - Does not packs Chromium inside the apps.
42
+ - Faster startup than other frameworks and quite optimized.
43
+ - Caching strategies implemented for improved performance.
44
+ - Easy distribution of apps.
45
+
46
+ ###### Optimization
47
+ 1. Caching strategies – App only loads local HTML/CSS/JS without external requests.
48
+ 2. Lazy loading – The HTML codes only load on demand after the window of the app is created.
49
+ 3. Reduce memory usage – Minimal dependencies reduce memory usage.
50
+ 4. Efficient algorithms – Very simple Python app logic was implemented for fast performance.
51
+ 5. Minimize dependencies – Removed useless libraries which helped to reduce the file size a lot.
52
+
53
+ ###### FAQ
54
+ - Can I make apps for Linux and Mac too? Ans: For now it's not possible but I will consider in future.
55
+ - How small is it in file size compared to other frameworks? Ans: Quark.py apps are about 60% more smaller than other framework apps.
56
+ - 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).
57
+
58
+ ###### How to use:
59
+ 1. To initiate the project run -> pip install -r requirements.txt
60
+ 2. Edit the codes inside the /web directory according to your needs.
61
+ 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"
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ quarkdotpy.egg-info/PKG-INFO
5
+ quarkdotpy.egg-info/SOURCES.txt
6
+ quarkdotpy.egg-info/dependency_links.txt
7
+ quarkdotpy.egg-info/requires.txt
8
+ quarkdotpy.egg-info/top_level.txt
9
+ quarkpy/quark.py
@@ -0,0 +1 @@
1
+ pywebview
@@ -0,0 +1 @@
1
+ quarkpy
@@ -0,0 +1,17 @@
1
+ import webview
2
+
3
+ if __name__ == "__main__":
4
+ window = webview.create_window(
5
+ title="Quark.py",
6
+ url="web/index.html",
7
+ width=800,
8
+ height=620,
9
+ resizable=True,
10
+ min_size=(700, 500),
11
+ background_color="#0d3d55"
12
+ )
13
+
14
+ webview.start(
15
+ gui='edgechromium',
16
+ debug=False
17
+ )
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+