Skip to main content

BattCompiler

An automation utility that compiles Windows Batch files (.bat / .cmd) into standalone executable (.exe) files.

It works by cleanly wrapping your batch script execution inside an isolated, temporary Python routine and compiling it with PyInstaller under the hood.

GitHub Source Code Link:

The official GitHub repository is available at. https://github.com/EXTerWare/BattCompiler/tree/main

Features

  • Zero-Configuration Bundling: Generates true, standalone single-file executables (--onefile).
  • Auto-Dependency Handling: Automatically ensures PyInstaller is available on the machine.
  • Custom Icons: Supports custom .ico file embedding for personalized branding.
  • Auto-Cleanup: Safely purges intermediate spec files and build directories on finish.

Installation

Install BattCompiler globally via pip:

pip install BattCompiler

Usage

Once installed, the global terminal shortcut battc becomes active on your system.

Basic Compilation

Pass your target batch file using the --file: parameter:

battc --file:my_script.bat

Adding a Custom Icon

You can pass a custom Windows icon file using the --icon: flag:

battc --file:my_script.bat --icon:assets/favicon.ico

Debug Logging

To view real-time compilation footprints and PyInstaller runtime traces, append the --debug parameter:

battc --file:my_script.bat --debug

Metadata

Release files for BattCompiler 2.2.5

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

Source distribution (sdist)

Source distribution for BattCompiler 2.2.5
File Size Uploaded Provenance Actions
battcompiler-2.2.5.tar.gz 5.4 kB Without provenance Details for battcompiler-2.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for BattCompiler 2.2.5
File Interpreter ABI Platform Actions
battcompiler-2.2.5-py3-none-any.whl Python 3 none any Details for battcompiler-2.2.5-py3-none-any.whl

Total release size: 11.6 kB

Release files / battcompiler-2.2.5.tar.gz

Download URL battcompiler-2.2.5.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cee56443b627d11ea8de56cc214fba37d9883ee3c12b844339b60d8698047b6a
BLAKE2b-256 checksum
How to use checksums
19119bc2cc9815b3308c7217dab19dd21079a18340937491f12694e18a1916c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / battcompiler-2.2.5-py3-none-any.whl

Download URL battcompiler-2.2.5-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb8e739d917b67e0d7d6a7427829092a5f4b4c036600ccbdc946f7bfdef221f7
BLAKE2b-256 checksum
How to use checksums
c9d2efc7d22d84590a8e854d5b637fa95a10d6bc1dbbcdbf2b25b068b1f9ce06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Security for BattCompiler 2.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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