Skip to main content

Python wrapper extension for Artistic Style

Project description

PyPI Package latest release Travis-CI Build Status AppVeyor Build Status

This is a python wrapper extension for Artistic Style, a wonderful code formatter & beautifier.

Install

Install with pip using the command:

$ pip install pyastyle

Or by cloning the repo from GitHub:

$ git clone git://github.com/timonwong/pyastyle.git

Then install it by running:

$ python setup.py install

Upgrade

You can upgrade your pyastyle version with the command:

$ pip install --upgrade pyastyle

API

  • pyastyle.version()

  • pyastyle.format(code, options)

Credits

Artistic Style - A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source Code

Licensed under GNU Lesser General Public License version 3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyastyle-1.1.5.zip (343.6 kB view hashes)

Uploaded source

Built Distributions

pyastyle-1.1.5-cp34-none-win_amd64.whl (113.9 kB view hashes)

Uploaded cp34

pyastyle-1.1.5-cp34-none-win32.whl (91.5 kB view hashes)

Uploaded cp34

pyastyle-1.1.5-cp33-none-win_amd64.whl (113.9 kB view hashes)

Uploaded cp33

pyastyle-1.1.5-cp33-none-win32.whl (91.5 kB view hashes)

Uploaded cp33

pyastyle-1.1.5-cp32-none-win_amd64.whl (113.9 kB view hashes)

Uploaded cp32

pyastyle-1.1.5-cp32-none-win32.whl (85.4 kB view hashes)

Uploaded cp32

pyastyle-1.1.5-cp27-none-win_amd64.whl (103.8 kB view hashes)

Uploaded cp27

pyastyle-1.1.5-cp27-none-win32.whl (85.4 kB view hashes)

Uploaded cp27

pyastyle-1.1.5-cp26-none-win_amd64.whl (104.1 kB view hashes)

Uploaded cp26

pyastyle-1.1.5-cp26-none-win32.whl (85.7 kB view hashes)

Uploaded cp26

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page