pysimplify

Simplify is a set of tools for developers.


Install
pip install pysimplify==0.1.0

Documentation

Simplify

It is a simple set of utilities for python developers in specific.

It comes packed with the following tools:

  • minifier
  • show (to show file content in command line with syntax highlighting)

Installation

to install simplify:

pip install -U pysimplify

Minifier

Minifier contains the support for the following languages and data formats

  • Python
  • JSON
  • JavaScript
  • HTML
  • XML
  • CSS

to use minifier using command line:

simplify minify myfile.py output.py

to select a minifier explicitly:

simplify minify myfile output.json --format json 

to overwrite input file

simplify minify myfile.html -o

Show

Show supports more that 400 formats (Thanks to Pygments!) but with the exceptional ability to show using true color even in windows command prompt (Thanks to Prompt Toolkit!)

To use its command line abilities:

simplify show index.html