Skip to main content

PyTriper

PyTriper bundles a Python project into one .py launcher and can obfuscate its Python modules. It does not build .exe files and has no runtime dependencies.

Install for development

python -m pip install -e .

Build

pytriper C:\path\to\project
pytriper C:\path\to\project --obfuscation minify
pytriper C:\path\to\project --obfuscation encode --entry src\main.py --output C:\build\app.py
pytriper C:\path\to\project --obfuscation mixed

The entry point is detected from main.py, app.py, run.py, or __main__.py in the project root. Use --entry for another path. The default output is created next to the project folder.

Obfuscation modes are none (default), minify (remove comments and normalize Python syntax), encode (wrap Python source in a Base85 loader), and mixed (minify, then encode). Only .py files are transformed; other project files are bundled as-is.

The output extracts project files to a temporary directory when launched. It still requires a compatible Python installation and any third-party dependencies used by the project. Virtual environments and common build/cache directories are omitted.

Obfuscation is not encryption and does not prevent determined users from recovering the source. Do not package secrets such as .env files or private keys.

Metadata

Release files for pytriper 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytriper 0.1.0
File Size Uploaded
pytriper-0.1.0.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytriper 0.1.0
File Interpreter ABI Platform
pytriper-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / pytriper-0.1.0.tar.gz

Download URL pytriper-0.1.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ac412bab38e49e092617fdc0ce17b75bb0acf29ebdfc2e336162f174b2cb2a7c
BLAKE2b-256 checksum
How to use checksums
ae55f8759a0c2588ac3c5ca0d1c6bac5bc31cce852e724b52c581cd52daf011f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / pytriper-0.1.0-py3-none-any.whl

Download URL pytriper-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b7ba5f95872603c26172d53870b5eb77109bad102648a0614366468bec4493b
BLAKE2b-256 checksum
How to use checksums
53150da835f4a686ceebdd82d7d98c11f2930bed3328a4a21871e433f215831a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page