compylr 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.
compylr-1.0.0/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2024 The Python Packaging Authority
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
compylr-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,177 @@
1
+ Metadata-Version: 2.4
2
+ Name: compylr
3
+ Version: 1.0.0
4
+ Summary: A modern GUI desktop app to compile Python scripts to Windows executables using Nuitka
5
+ Author: Thisal-D
6
+ License: Copyright (c) 2024 The Python Packaging Authority
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
25
+ Project-URL: homepage, https://github.com/Thisal-D/compylr
26
+ Project-URL: repository, https://github.com/Thisal-D/compylr
27
+ Project-URL: issues, https://github.com/Thisal-D/compylr/issues
28
+ Keywords: nuitka,compiler,exe,executable,python,gui,customtkinter,build,packager,windows
29
+ Classifier: Programming Language :: Python :: 3
30
+ Classifier: Programming Language :: Python :: 3.8
31
+ Classifier: Programming Language :: Python :: 3.9
32
+ Classifier: Programming Language :: Python :: 3.10
33
+ Classifier: Programming Language :: Python :: 3.11
34
+ Classifier: Programming Language :: Python :: 3.12
35
+ Classifier: Operating System :: Microsoft :: Windows
36
+ Classifier: Development Status :: 4 - Beta
37
+ Classifier: Intended Audience :: Developers
38
+ Classifier: Topic :: Software Development :: Compilers
39
+ Classifier: Topic :: Software Development :: Build Tools
40
+ Classifier: Topic :: Desktop Environment
41
+ Classifier: License :: OSI Approved :: MIT License
42
+ Classifier: Environment :: Win32 (MS Windows)
43
+ Requires-Python: >=3.8
44
+ Description-Content-Type: text/markdown
45
+ License-File: LICENSE
46
+ Requires-Dist: customtkinter>=5.2.0
47
+ Requires-Dist: nuitka>=2.0
48
+ Requires-Dist: pillow>=10.0.0
49
+ Dynamic: license-file
50
+
51
+ <div align="center">
52
+ <img src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/logo.png" alt="Compylr Logo" width="180"/>
53
+
54
+ # Compylr
55
+
56
+ _A modern, powerful, and intuitive GUI for transforming Python scripts into standalone executables using Nuitka._
57
+
58
+ ![Python Version](https://img.shields.io/badge/Python-3.8%2B-blue)
59
+ ![CustomTkinter](https://img.shields.io/badge/UI-CustomTkinter-blueviolet)
60
+ ![Nuitka](https://img.shields.io/badge/Compiler-Nuitka-brightgreen)
61
+ ![License](https://img.shields.io/badge/License-MIT-gray)
62
+
63
+ </div>
64
+
65
+ ## 📌 Overview
66
+
67
+ Compylr takes the complexity out of compiling Python applications. It provides a sleek, modern user interface built with CustomTkinter that lets you configure Nuitka's powerful compilation options visually. No more memorizing long command-line flags — just point, click, and build.
68
+
69
+ ## ✨ Features
70
+
71
+ - **Modern & Responsive UI**: Fully redesigned using CustomTkinter with dark and light mode support.
72
+ - **Visual Configuration**: Configure build modes, output settings, windows options, metadata, and data files through an intuitive sidebar menu.
73
+ - **Live Command Preview**: See the exact Nuitka command being generated in real-time.
74
+ - **Integrated Terminal**: View color-coded compilation progress, warnings, and errors directly inside the app.
75
+ - **Smart Troubleshooting**: Automatically suggests fixes for common compilation errors (e.g., corrupted caches, missing modules).
76
+ - **Clean Build Support**: One-click option to safely clean old `.build` and `.dist` directories before recompiling.
77
+
78
+ ## 📸 Screenshots
79
+
80
+ ### 1. Compilation Mode & Output Settings
81
+
82
+ <img alt="1a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/1a.png" />
83
+
84
+ ### 2. Windows Options & Version Metadata
85
+
86
+ <img alt="2a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/2a.png" />
87
+
88
+ ### 3. Compiler & Build Options
89
+
90
+ <img alt="3a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/3a.png" />
91
+
92
+ ### 4. Python Flags & Package Inclusions
93
+
94
+ <img alt="4a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/4a.png" />
95
+
96
+ ### 5. Plugins & Data Files
97
+
98
+ <img alt="5a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/5a.png" />
99
+
100
+ ### 6. Compiler Terminal & Live Build
101
+
102
+ <img alt="6a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/6a.png" />
103
+
104
+ ## 🚀 Installation
105
+
106
+ Install Compylr directly using `pip`:
107
+
108
+ ```bash
109
+ pip install compylr
110
+ ```
111
+
112
+ ### Requirements
113
+
114
+ - Python 3.8+
115
+ - C Compiler (MinGW64 or MSVC on Windows) — required by Nuitka for compilation.
116
+
117
+ ## 💻 Usage
118
+
119
+ Launch the application directly from your terminal:
120
+
121
+ ```bash
122
+ compylr
123
+ ```
124
+
125
+ 1. **Select Script**: Browse for the `.py` file you want to compile.
126
+ 2. **Select Interpreter**: (Optional) Pick a specific Python executable to run Nuitka.
127
+ 3. **Configure Options**: Navigate through the sidebar sections (Compilation Mode, Windows Options, Plugins, etc.) to set your desired flags.
128
+ 4. **Build**: Go to the **Build** section and click `🚀 Build Executable`.
129
+
130
+ ## 📁 Project Structure
131
+
132
+ ```text
133
+ compylr/
134
+ ├── src/
135
+ │ └── compylr/
136
+ │ ├── logo/ # Window icon and branding logo assets
137
+ │ │ ├── logo.ico
138
+ │ │ └── logo.png
139
+ │ ├── __init__.py
140
+ │ ├── main.py # Application entry point
141
+ │ ├── app.py # Main CustomTkinter application and layout
142
+ │ ├── widgets.py # Custom reusable UI components
143
+ │ ├── theme.py # Color palettes and font definitions
144
+ │ └── nuitka_options.py # Definition of all Nuitka flags and groups
145
+ ├── readme-assets/ # Screenshots and README header logo assets
146
+ ├── requirements.txt # Python dependencies
147
+ ├── pyproject.toml # Pyproject settings metadata
148
+ ├── LICENSE # MIT License file
149
+ └── README.md # This file
150
+ ```
151
+
152
+ ## 🛠 Technologies Used
153
+
154
+ - **[Python](https://www.python.org/)** - Core programming language
155
+ - **[CustomTkinter](https://customtkinter.tomschimansky.com/)** - Modern UI framework
156
+ - **[Nuitka](https://nuitka.net/)** - The Python compiler
157
+
158
+ ## 🔮 Future Improvements
159
+
160
+ - Profile management (save and load compilation profiles for different projects).
161
+ - Direct compilation to macOS and Linux formats (when supported on host).
162
+ - Integrated dependency analyzer.
163
+
164
+ ## 🤝 Contributing
165
+
166
+ Contributions, issues, and feature requests are welcome!
167
+ Feel free to check the [issues page](https://github.com/Thisal-D/compylr/issues).
168
+
169
+ ## 📝 License
170
+
171
+ This project is [MIT](https://github.com/Thisal-D/compylr/blob/feature/ui-modernization/LICENSE) licensed.
172
+
173
+ ---
174
+
175
+ <div align="center">
176
+ Made with ❤️ by <a href="https://github.com/Thisal-D">Thisal</a>
177
+ </div>
@@ -0,0 +1,127 @@
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/logo.png" alt="Compylr Logo" width="180"/>
3
+
4
+ # Compylr
5
+
6
+ _A modern, powerful, and intuitive GUI for transforming Python scripts into standalone executables using Nuitka._
7
+
8
+ ![Python Version](https://img.shields.io/badge/Python-3.8%2B-blue)
9
+ ![CustomTkinter](https://img.shields.io/badge/UI-CustomTkinter-blueviolet)
10
+ ![Nuitka](https://img.shields.io/badge/Compiler-Nuitka-brightgreen)
11
+ ![License](https://img.shields.io/badge/License-MIT-gray)
12
+
13
+ </div>
14
+
15
+ ## 📌 Overview
16
+
17
+ Compylr takes the complexity out of compiling Python applications. It provides a sleek, modern user interface built with CustomTkinter that lets you configure Nuitka's powerful compilation options visually. No more memorizing long command-line flags — just point, click, and build.
18
+
19
+ ## ✨ Features
20
+
21
+ - **Modern & Responsive UI**: Fully redesigned using CustomTkinter with dark and light mode support.
22
+ - **Visual Configuration**: Configure build modes, output settings, windows options, metadata, and data files through an intuitive sidebar menu.
23
+ - **Live Command Preview**: See the exact Nuitka command being generated in real-time.
24
+ - **Integrated Terminal**: View color-coded compilation progress, warnings, and errors directly inside the app.
25
+ - **Smart Troubleshooting**: Automatically suggests fixes for common compilation errors (e.g., corrupted caches, missing modules).
26
+ - **Clean Build Support**: One-click option to safely clean old `.build` and `.dist` directories before recompiling.
27
+
28
+ ## 📸 Screenshots
29
+
30
+ ### 1. Compilation Mode & Output Settings
31
+
32
+ <img alt="1a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/1a.png" />
33
+
34
+ ### 2. Windows Options & Version Metadata
35
+
36
+ <img alt="2a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/2a.png" />
37
+
38
+ ### 3. Compiler & Build Options
39
+
40
+ <img alt="3a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/3a.png" />
41
+
42
+ ### 4. Python Flags & Package Inclusions
43
+
44
+ <img alt="4a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/4a.png" />
45
+
46
+ ### 5. Plugins & Data Files
47
+
48
+ <img alt="5a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/5a.png" />
49
+
50
+ ### 6. Compiler Terminal & Live Build
51
+
52
+ <img alt="6a" src="https://raw.githubusercontent.com/Thisal-D/compylr/feature/ui-modernization/readme-assets/6a.png" />
53
+
54
+ ## 🚀 Installation
55
+
56
+ Install Compylr directly using `pip`:
57
+
58
+ ```bash
59
+ pip install compylr
60
+ ```
61
+
62
+ ### Requirements
63
+
64
+ - Python 3.8+
65
+ - C Compiler (MinGW64 or MSVC on Windows) — required by Nuitka for compilation.
66
+
67
+ ## 💻 Usage
68
+
69
+ Launch the application directly from your terminal:
70
+
71
+ ```bash
72
+ compylr
73
+ ```
74
+
75
+ 1. **Select Script**: Browse for the `.py` file you want to compile.
76
+ 2. **Select Interpreter**: (Optional) Pick a specific Python executable to run Nuitka.
77
+ 3. **Configure Options**: Navigate through the sidebar sections (Compilation Mode, Windows Options, Plugins, etc.) to set your desired flags.
78
+ 4. **Build**: Go to the **Build** section and click `🚀 Build Executable`.
79
+
80
+ ## 📁 Project Structure
81
+
82
+ ```text
83
+ compylr/
84
+ ├── src/
85
+ │ └── compylr/
86
+ │ ├── logo/ # Window icon and branding logo assets
87
+ │ │ ├── logo.ico
88
+ │ │ └── logo.png
89
+ │ ├── __init__.py
90
+ │ ├── main.py # Application entry point
91
+ │ ├── app.py # Main CustomTkinter application and layout
92
+ │ ├── widgets.py # Custom reusable UI components
93
+ │ ├── theme.py # Color palettes and font definitions
94
+ │ └── nuitka_options.py # Definition of all Nuitka flags and groups
95
+ ├── readme-assets/ # Screenshots and README header logo assets
96
+ ├── requirements.txt # Python dependencies
97
+ ├── pyproject.toml # Pyproject settings metadata
98
+ ├── LICENSE # MIT License file
99
+ └── README.md # This file
100
+ ```
101
+
102
+ ## 🛠 Technologies Used
103
+
104
+ - **[Python](https://www.python.org/)** - Core programming language
105
+ - **[CustomTkinter](https://customtkinter.tomschimansky.com/)** - Modern UI framework
106
+ - **[Nuitka](https://nuitka.net/)** - The Python compiler
107
+
108
+ ## 🔮 Future Improvements
109
+
110
+ - Profile management (save and load compilation profiles for different projects).
111
+ - Direct compilation to macOS and Linux formats (when supported on host).
112
+ - Integrated dependency analyzer.
113
+
114
+ ## 🤝 Contributing
115
+
116
+ Contributions, issues, and feature requests are welcome!
117
+ Feel free to check the [issues page](https://github.com/Thisal-D/compylr/issues).
118
+
119
+ ## 📝 License
120
+
121
+ This project is [MIT](https://github.com/Thisal-D/compylr/blob/feature/ui-modernization/LICENSE) licensed.
122
+
123
+ ---
124
+
125
+ <div align="center">
126
+ Made with ❤️ by <a href="https://github.com/Thisal-D">Thisal</a>
127
+ </div>
@@ -0,0 +1,56 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "compylr"
7
+ version = "1.0.0"
8
+ authors = [{ name = "Thisal-D" }]
9
+ license = { file = "LICENSE" }
10
+ description = "A modern GUI desktop app to compile Python scripts to Windows executables using Nuitka"
11
+ readme = "README.md"
12
+ requires-python = ">=3.8"
13
+ dependencies = [
14
+ "customtkinter>=5.2.0",
15
+ "nuitka>=2.0",
16
+ "pillow>=10.0.0",
17
+ ]
18
+
19
+ classifiers = [
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.8",
22
+ "Programming Language :: Python :: 3.9",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Operating System :: Microsoft :: Windows",
27
+ "Development Status :: 4 - Beta",
28
+ "Intended Audience :: Developers",
29
+ "Topic :: Software Development :: Compilers",
30
+ "Topic :: Software Development :: Build Tools",
31
+ "Topic :: Desktop Environment",
32
+ "License :: OSI Approved :: MIT License",
33
+ "Environment :: Win32 (MS Windows)",
34
+ ]
35
+
36
+ keywords = [
37
+ "nuitka", "compiler", "exe", "executable", "python", "gui",
38
+ "customtkinter", "build", "packager", "windows"
39
+ ]
40
+
41
+ [project.urls]
42
+ homepage = "https://github.com/Thisal-D/compylr"
43
+ repository = "https://github.com/Thisal-D/compylr"
44
+ issues = "https://github.com/Thisal-D/compylr/issues"
45
+
46
+ [project.scripts]
47
+ compylr = "compylr.main:main"
48
+
49
+ [tool.setuptools.packages.find]
50
+ where = ["src"]
51
+
52
+ [tool.setuptools]
53
+ include-package-data = true
54
+
55
+ [tool.setuptools.package-data]
56
+ compylr = ["logo/*.ico", "logo/*.png"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ """
2
+ Compylr - Python to Executable Compiler GUI
3
+ A modern desktop application for converting Python files to Windows executables using Nuitka.
4
+ """
5
+
6
+ __version__ = "1.0.0"
7
+ __author__ = "Thisal-D"