Skip to content

Rijom/pyastyle

 
 

Repository files navigation

Python module for astyle

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

About

astyle library as a python module

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 40.5%
  • C++ 17.2%
  • PowerShell 15.4%
  • Shell 14.2%
  • Batchfile 10.2%
  • C 2.5%