Functions | |
| def | minimize |
| def | strip_comments_helper |
| def minimize.minimize | ( | data, | |
exclude = None |
|||
| ) |
Central function call. This will call all other compression functions. To add further compression algorithms, simply add functions whose names end in _helper which take a string as input and return a more compressed string as output.
Definition at line 33 of file minimize.py.
| def minimize.strip_comments_helper | ( | data | ) |
remove all /* */ format comments and surrounding whitespace.
Definition at line 28 of file minimize.py.