Available Commands
Shed Skin offers the following subcommands:build- Translate and build Python module using CMake (recommended)translate- Translate Python module to C++ with Makefile generationrun- Translate, build, and run the module in one stepanalyze- Analyze and validate Python module without code generationruntests- Run the Shed Skin test suite
Basic Usage
translate is used by default:
Quick Start Examples
Build an executable
- Analyze your Python code
- Generate C++ source files
- Create CMake build configuration
- Compile to an executable in
build/
Build and run immediately
Generate an extension module
Translate to C++ only
Common Options
These options work with most commands:Specify output directory for generated files (default: current directory)
Generate a Python extension module instead of a standalone executable
Disable bounds checking for better performance
Disable wrap-around checking for negative indices
Silent mode - only show warnings
Set debug level (1-3). Level 3 enables detailed iterative flow analysis logging
Workflow Comparison
CMake Workflow (Recommended)
Makefile Workflow (Traditional)
Output Structure
After compilation, Shed Skin creates:Getting Help
For detailed information on any command:Version Information
Shed Skin displays version and copyright information on startup:Python Version Requirements
Shed Skin supports Python 3.8 through 3.14. The compiler will exit with an error if run with an unsupported Python version.Next Steps
- Learn about the build command for modern CMake-based compilation
- Explore the translate command for traditional Makefile workflow
- Review all command-line options for optimization and configuration