Welcome to Python-Minifier’s documentation!
This package transforms python source code into a ‘minified’ representation of the same source code.
- Installation
- Command Usage
- Package Reference
- Minification Options
- Combine Imports
- Remove Pass
- Hoist Literals
- Remove Annotations
- Rename Locals
- Remove Object Base
- Convert Positional-Only Arguments to Arguments
- Preserve Shebang
- Remove Explicit Return None
- Remove Builtin Exception Brackets
- Constant Folding
- Remove Literal Statements
- Rename Globals
- Remove Asserts
- Remove Debug