A TUI Frontend for Nuitka - The Python Compiler
Project description
Tuitka - A TUI for Nuitka
Tuitka is a Terminal User Interface (TUI) wrapper that leverages Nuitka under the hood to compile Python applications. It aims to simplify the compilation process for developers by providing:
- Presets for common compilation scenarios
- Navigable TUI for easy configuration without memorizing command-line flags
- Intuitive interface that makes Python compilation accessible to all developers
Features
Automatic Dependency Management
- Automatically detects and handles dependencies from requirements.txt, pyproject.toml, and PEP 723 inline script metadata
- Uses
uvfor fast, isolated dependency installation - Smart plugin detection based on imported libraries
Splash Screen
Shows the Nuitka branding on startup
Script Selection
Browse and select Python scripts to compile with an interactive file dialog
Settings Configuration
Configure Nuitka compilation settings and flags through an intuitive UI
Usage
Dependency Detection
Tuitka requires one of the following to detect your script's dependencies if it contains third party libraries:
requirements.txtfilepyproject.tomlfile- PEP 723 inline metadata (preferred)
PEP 723 Example (Recommended)
Add this metadata block at the top of your Python script:
# /// script
# dependencies = [
# "requests>=2.31.0",
# "numpy==1.24.0",
# "pandas",
# ]
# ///
import requests
import numpy as np
import pandas as pd
# Your code here...
Running Tuitka
Run the TUI interface:
tuitka
Or compile a Python file directly:
tuitka script.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tuitka-0.1.0.tar.gz.
File metadata
- Download URL: tuitka-0.1.0.tar.gz
- Upload date:
- Size: 422.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8c13d2a49b4176370d71bb3081a178b6155b2fb3ec693c3eb60b1de6221ece5
|
|
| MD5 |
2cdb6cbd209402880df032c81015713c
|
|
| BLAKE2b-256 |
c175f67ca25fa0e2f1b6f8ac92775f9ee7942514baab3901107744858d2f0b1f
|
File details
Details for the file tuitka-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tuitka-0.1.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8c9711e7aacaa18671eed504c3911aeb4776667c930569a0c2d789027a1bce8
|
|
| MD5 |
387ead1ef907e9994d6cd3ed2890ee21
|
|
| BLAKE2b-256 |
14265592dce56b2c328cb5ccac8781b6b319b75194dfa3b5f2bf4fd48dca49aa
|