protect_project
Protects a Python project end-to-end: scans risks, obfuscates with a preset, then verifies the output by byte-compiling and smoke-testing imports in isolated subprocesses.
Instructions
One call to protect a Python project end-to-end AND verify it still works: scans risks, picks a framework-aware preset, obfuscates, then byte-compiles + import-smoke-tests the output in isolated subprocesses and returns verified:true/false. Writes a private de-obfuscation mapping alongside (not inside) the output. Use this when the user wants to 'protect/obfuscate before shipping' and expects a green check, not just a transform.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| preset | No | ||
| verify | No | ||
| timeout | No | ||
| output_dir | No | dist | |
| verify_cmd | No | ||
| save_mapping | No | ||
| trace_marker | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |