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
Metadata
Release files for tuitka 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tuitka-0.1.0.tar.gz | 422.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tuitka-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 454.1 kB
Release files / tuitka-0.1.0.tar.gz
| Download URL | tuitka-0.1.0.tar.gz |
|---|---|
| Size | 422.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8c13d2a49b4176370d71bb3081a178b6155b2fb3ec693c3eb60b1de6221ece5
|
|
BLAKE2b-256 checksum How to use checksums |
c175f67ca25fa0e2f1b6f8ac92775f9ee7942514baab3901107744858d2f0b1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|
Release files / tuitka-0.1.0-py3-none-any.whl
| Download URL | tuitka-0.1.0-py3-none-any.whl |
|---|---|
| Size | 31.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8c9711e7aacaa18671eed504c3911aeb4776667c930569a0c2d789027a1bce8
|
|
BLAKE2b-256 checksum How to use checksums |
14265592dce56b2c328cb5ccac8781b6b319b75194dfa3b5f2bf4fd48dca49aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|