Metadata-Version: 2.4
Name: pykevlar
Version: 2.0.1
Summary: 28.8x faster Python obfuscator, Anti-LLM/anti-decompiler shield (stops pyinstxtractor, PyLingual, pycdc, GhidraMCP & Frida), hardware licenser, and standalone single-binary compiler.
Author-email: PyKevlar Labs <licenses@pykevlar.com>
License-Expression: LicenseRef-PyKevlar
Project-URL: Homepage, https://pykevlar.com/
Project-URL: Documentation, https://pykevlar.com/docs
Project-URL: PyArmor Alternative & Benchmarks, https://pykevlar.com/pyarmor-alternative
Project-URL: Anti-Reverse-Engineering Matrix, https://pykevlar.com/security
Project-URL: Claude Code & Codex Integration, https://pykevlar.com/agents
Project-URL: License & Multi-Device Portal, https://pykevlar.com/portal
Project-URL: Engineering Blog, https://pykevlar.com/blog
Keywords: python-obfuscator,pyarmor,pyarmor-alternative,pyinstaller,nuitka,cython,anti-reverse-engineering,anti-decompiler,pyinstxtractor,pylingual,bytecode-encryption,hardware-licensing,standalone-binary,code-protection,anti-debugging
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: C
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Rust
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: System :: Software Distribution
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# PyKevlar — Python Obfuscator, Anti-Decompiler & Single-Binary Compiler

**[Official Website](https://pykevlar.com/)** · **[PyArmor Comparison & Benchmarks](https://pykevlar.com/pyarmor-alternative)** · **[Anti-Reverse-Engineering Threat Matrix](https://pykevlar.com/security)** · **[Production Docs](https://pykevlar.com/docs)** · **[Claude Code & Codex (`/llms.txt`)](https://pykevlar.com/agents)** · **[License Portal](https://pykevlar.com/portal)**

**PyKevlar** (`pykevlar`) is a 15-core parallel Rust + Native C Python release compiler, hardware-locked licensing engine, and anti-reverse-engineering suite for **Python 3.12–3.14**.

Standard PyInstaller executables unpack in under five seconds using `pyinstxtractor` and neural decompilers like `PyLingual` or `pycdc`. PyKevlar replaces fragile two-step `PyArmor + PyInstaller` scripts with a **single native binary** that compiles **28.8× faster** (31.0s → **1.08s** cold build on 802 modules) with **zero runtime Python dependencies**.

---

## Install

```bash
pip install pykevlar
# or via uv:
uv tool install pykevlar
```

Verify installation:

```bash
pykevlar --version
pykevlar hdinfo
```

---

## How PyKevlar Stops Modern Python Reverse Engineering

| Reverse-Engineering Tool / Attack Vector | Plain PyInstaller | PyKevlar (Pro & Team) |
|---|---|---|
| **`pyinstxtractor` / `binwalk` archive extraction** | Extracts all `.pyc` files in ~2s | **Blocked** — `SPZ2` stream-encrypted container eliminates `MEI` & `zlib` magic headers |
| **`PyLingual` / `pycdc` / `uncompyle6` bytecode decompilers** | Recovers ~99% readable `.py` source | **Blocked** — per-function ChaCha20-Poly1305 Vectorcall Vaults; zero plaintext bytecode at rest |
| **`GhidraMCP` / `REA` / `IDA` autonomous LLM agents** | Summarizes symbols & C control flow | **Defeated** — `--anti-llm` CREAM AST identifier stripping, 64-bit MBA predicates & crypto honey-keys |
| **`Frida` / `sys.settrace` / Python 3.12+ PEP 669 `sys.monitoring`** | Dumps decrypted frames at runtime | **Blocked** — C-level vectorcall dispatch & active PEP 669 / debugger / `LD_PRELOAD` traps |
| **Unlicensed server copying & expired on-prem trials** | Unlimited copy-paste execution | **Enforced** — 198-byte ChaCha20-Poly1305 `pyarmor.rkey` bound to hardware UUID & UTC expiry |

---

## Quickstart Commands

### 1. Free Standalone Bundler (`Basic — $0`)
Use PyKevlar as an ultra-fast single-binary replacement for `PyInstaller` (plain packaging without code obfuscation):

```bash
pykevlar build main.py --no-armor -F -O dist
```

### 2. Full Anti-Reverse-Engineering + Native C Compilation (`Pro — $39/yr` · `Team — $79/yr`)
Activate your multi-device subscription key once (works offline on flights & air-gapped networks via Ed25519 signatures):

```bash
pykevlar register "PKA1-..."

# Seal Python modules inside ChaCha20 vaults + transpile hot functions to stripped C + Anti-LLM stealth:
pykevlar build main.py \
  --protect apps \
  --enable-bcc \
  --anti-llm \
  --outer \
  -F -O dist

# Mint a per-customer hardware-bound, 365-day runtime key in 6ms (zero binary rebuilds):
pykevlar key -O dist -b spa-dev-a7256ca34bcac081 -e +365d
```

### 3. Zero-Docker macOS → Linux Cross-Compilation (`Team — $79/yr`)
Compile production `linux-x86_64` or `linux-arm64` ELF64 single binaries directly from an Apple Silicon MacBook:

```bash
pykevlar build main.py --target linux-x86_64 --enable-bcc --anti-llm -F -O dist-linux
```

---

## Plans & Licensing

- **Basic ($0 Free)**: Unprotected standalone binary bundling (`--no-armor`), `bench`, `hdinfo`, `cache`, `verify`. *(All anti-reverse-engineering & code obfuscation features require an active Pro or Team subscription.)*
- **Pro ($39/yr)**: Full 7-layer anti-reverse-engineering, ChaCha20 vaults, `--enable-bcc` C transpiler, `--anti-llm`, customer `--outer` hardware/expiry `rkey` licensing, and **3 developer build devices** (expandable anytime in the [License Portal](https://pykevlar.com/portal)).
- **Team ($79/yr)**: Everything in Pro + **25 build devices**, unlimited CI/CD & Docker runners (`PYKEVLAR_LICENSE`), zero-Docker macOS → Linux cross-compilation, and 15-core Next.js chunk obfuscation (`pykevlar frontend`).

Learn more and get started at **[https://pykevlar.com](https://pykevlar.com/)**.
