Skip to main content

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 uv for fast, isolated dependency installation
  • Smart plugin detection based on imported libraries

Splash Screen

Shows the Nuitka branding on startup Splash Screen

Script Selection

Browse and select Python scripts to compile with an interactive file dialog Script Input

Settings Configuration

Configure Nuitka compilation settings and flags through an intuitive UI Settings UI

Usage

Dependency Detection

Tuitka requires one of the following to detect your script's dependencies if it contains third party libraries:

  • requirements.txt file
  • pyproject.toml file
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tuitka-0.1.0.tar.gz (422.6 kB view details)

Uploaded Source

Built Distribution

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

tuitka-0.1.0-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

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

Hashes for tuitka-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c8c13d2a49b4176370d71bb3081a178b6155b2fb3ec693c3eb60b1de6221ece5
MD5 2cdb6cbd209402880df032c81015713c
BLAKE2b-256 c175f67ca25fa0e2f1b6f8ac92775f9ee7942514baab3901107744858d2f0b1f

See more details on using hashes here.

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

Hashes for tuitka-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8c9711e7aacaa18671eed504c3911aeb4776667c930569a0c2d789027a1bce8
MD5 387ead1ef907e9994d6cd3ed2890ee21
BLAKE2b-256 14265592dce56b2c328cb5ccac8781b6b319b75194dfa3b5f2bf4fd48dca49aa

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