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.

Files for pyastyle, version 1.1.5
Filename, size File type Python version Upload date Hashes
Filename, size pyastyle-1.1.5-cp26-none-win32.whl (85.7 kB) File type Wheel Python version cp26 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp26-none-win_amd64.whl (104.1 kB) File type Wheel Python version cp26 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp27-none-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (222.0 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp27-none-win32.whl (85.4 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp27-none-win_amd64.whl (103.8 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp32-none-win32.whl (85.4 kB) File type Wheel Python version cp32 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp32-none-win_amd64.whl (113.9 kB) File type Wheel Python version cp32 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp33-none-win32.whl (91.5 kB) File type Wheel Python version cp33 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp33-none-win_amd64.whl (113.9 kB) File type Wheel Python version cp33 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp34-none-win32.whl (91.5 kB) File type Wheel Python version cp34 Upload date Hashes View
Filename, size pyastyle-1.1.5-cp34-none-win_amd64.whl (113.9 kB) File type Wheel Python version cp34 Upload date Hashes View
Filename, size pyastyle-1.1.5.zip (343.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page