Skip to main content

A modern GUI desktop app to compile Python scripts to Windows executables using Nuitka

Project description

Compylr Logo

Compylr

A modern, powerful, and intuitive GUI for transforming Python scripts into standalone executables using Nuitka.

Python Version CustomTkinter Nuitka License

๐Ÿ“Œ Overview

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.

โœจ Features

  • Modern & Responsive UI: Fully redesigned using CustomTkinter with dark and light mode support.
  • Visual Configuration: Configure build modes, output settings, windows options, metadata, and data files through an intuitive sidebar menu.
  • Live Command Preview: See the exact Nuitka command being generated in real-time.
  • Integrated Terminal: View color-coded compilation progress, warnings, and errors directly inside the app.
  • Smart Troubleshooting: Automatically suggests fixes for common compilation errors (e.g., corrupted caches, missing modules).
  • Clean Build Support: One-click option to safely clean old .build and .dist directories before recompiling.

๐Ÿ“ธ Screenshots

1. Compilation Mode & Output Settings

1a

2. Windows Options & Version Metadata

2a

3. Compiler & Build Options

3a

4. Python Flags & Package Inclusions

4a

5. Plugins & Data Files

5a

6. Compiler Terminal & Live Build

6a

๐Ÿš€ Installation

Install Compylr directly using pip:

pip install compylr

Requirements

  • Python 3.8+
  • C Compiler (MinGW64 or MSVC on Windows) โ€” required by Nuitka for compilation.

๐Ÿ’ป Usage

Launch the application directly from your terminal:

compylr
  1. Select Script: Browse for the .py file you want to compile.
  2. Select Interpreter: (Optional) Pick a specific Python executable to run Nuitka.
  3. Configure Options: Navigate through the sidebar sections (Compilation Mode, Windows Options, Plugins, etc.) to set your desired flags.
  4. Build: Go to the Build section and click ๐Ÿš€ Build Executable.

๐Ÿ“ Project Structure

compylr/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ compylr/
โ”‚       โ”œโ”€โ”€ logo/              # Window icon and branding logo assets
โ”‚       โ”‚   โ”œโ”€โ”€ logo.ico
โ”‚       โ”‚   โ””โ”€โ”€ logo.png
โ”‚       โ”œโ”€โ”€ __init__.py
โ”‚       โ”œโ”€โ”€ main.py            # Application entry point
โ”‚       โ”œโ”€โ”€ app.py             # Main CustomTkinter application and layout
โ”‚       โ”œโ”€โ”€ widgets.py         # Custom reusable UI components
โ”‚       โ”œโ”€โ”€ theme.py           # Color palettes and font definitions
โ”‚       โ””โ”€โ”€ nuitka_options.py  # Definition of all Nuitka flags and groups
โ”œโ”€โ”€ readme-assets/             # Screenshots and README header logo assets
โ”œโ”€โ”€ requirements.txt           # Python dependencies
โ”œโ”€โ”€ pyproject.toml             # Pyproject settings metadata
โ”œโ”€โ”€ LICENSE                    # MIT License file
โ””โ”€โ”€ README.md                  # This file

๐Ÿ›  Technologies Used

๐Ÿ”ฎ Future Improvements

  • Profile management (save and load compilation profiles for different projects).
  • Direct compilation to macOS and Linux formats (when supported on host).
  • Integrated dependency analyzer.

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

๐Ÿ“ License

This project is MIT licensed.


Made with โค๏ธ by Thisal

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

compylr-1.0.0.tar.gz (301.6 kB view details)

Uploaded Source

Built Distribution

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

compylr-1.0.0-py3-none-any.whl (298.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: compylr-1.0.0.tar.gz
  • Upload date:
  • Size: 301.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for compylr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 64fc6f1def329d92cd4d307e843c894cf4d69e19ccb84ec55f6ebfaaa2526797
MD5 3171766e3b8dbaa7c7d3706e7c3cd304
BLAKE2b-256 6722d323f625b9109f05fd43e7f2096d331f493e6236baab339e9aa38e48b865

See more details on using hashes here.

File details

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

File metadata

  • Download URL: compylr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 298.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for compylr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51f8a69126b122db6e3c981602c2104b986eae01341ba4947f721cd852cf79d6
MD5 fea6d8408794d193f8b0e8163b2063d0
BLAKE2b-256 8ed73801d31ffa3a1a56d796bdbf5447801668ed96a5f3c0b1131c256af1deeb

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