Metadata-Version: 2.4
Name: pbfc
Version: 1.0.0
Summary: The cross-platform Python to Batch/Shell generator
Author: Suleiman
Author-email: steal.apet@mail.ru
License: MIT
Keywords: batch,bat,shell,sh,powershell,ps1,zipapp,pyz,launcher,wrapper,portable,python,cross-platform,windows,linux,macos
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: System :: Shells
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Android
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Natural Language :: English
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# PyPacker

**The cross-platform Python → Batch/Shell generator.**

Reads a `.py` file and generates `.bat`, `.sh`, `.ps1`, and `.pyz` launchers — all with the Python code embedded, so the original `.py` file is not needed at runtime.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![Version](https://img.shields.io/badge/version-1.0.2-green.svg)](https://github.com/suleiman/pybat)

---

## Features

- **One tool, four formats** — `.bat`, `.sh`, `.ps1`, `.pyz`
- **Automatic mode selection** — picks the best method for your code
- **Four generation modes** — `inline`, `multiline`, `heredoc`, `base64`
- **Zero dependencies** — only Python 3.8+ stdlib
- **Cross-platform** — Windows, Linux, macOS, Termux
- **Portable output** — generated launchers embed the code, no external files needed
- **Safe escaping** — handles `!`, `%`, `^`, `&`, `|`, `"`, `"""`, `\`

---

## Installation

```bash
pip install pypacker
