Compile-minifier

Compile-minifier is a tool to minify and compile a structure code python.

Package version

0.1.4

Requirements

Python 3.5+

Installation & Usage

pip install

You can install using:

pip install compile-minifier

Or you can install directly from sources :

pip install git+https://github.com/bimdata/compile-minifier.git#master

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Get started

The package is used exclusively on the command line:

compile-minify run

This command minify the code with python-minifier and compile all .py in .pyc recursively.

By default, no python file modifications are executed in the root folder.

Deployment

The deployment on pypi is automated by circle when a tag is pushed on master.

For manual deployment, you can run the following command :

VERSION=<VERSION_TAG> python setup.py sdist && twine upload dist/*

Help

Command line interfaces are generated with Fire

For display help:

compile-minify --help