Python Minifier

Contents:

  • Installation
  • Command Usage
  • Package Reference
  • Minification Options
Python Minifier
  • Welcome to Python-Minifier’s documentation!
  • View page source

Welcome to Python-Minifier’s documentation!

This package transforms python source code into a ‘minified’ representation of the same source code.

Contents:

  • Installation
  • Command Usage
  • Package Reference
    • minify()
    • RemoveAnnotationsOptions
    • awslambda()
    • unparse()
    • UnstableMinification
  • 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

Indices and tables

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2024, Daniel Flook.

Built with Sphinx using a theme provided by Read the Docs.