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

Project details


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 CPython 3.4 Windows x86-64

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

Uploaded CPython 3.4 Windows x86

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

Uploaded CPython 3.3 Windows x86-64

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

Uploaded CPython 3.3 Windows x86

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

Uploaded CPython 3.2 Windows x86-64

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

Uploaded CPython 3.2 Windows x86

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

Uploaded CPython 2.7 Windows x86-64

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

Uploaded CPython 2.7 Windows x86

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 view hashes)

Uploaded CPython 2.7 macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.9+ intel macOS 10.9+ x86-64

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

Uploaded CPython 2.6 Windows x86-64

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

Uploaded CPython 2.6 Windows x86

Supported by

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