Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

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 with pip using the command:

$ pip install pyastyle

Or by cloning the repo from GitHub:

$ git clone git://

Then install it by running:

$ python install


You can upgrade your pyastyle version with the command:

$ pip install --upgrade pyastyle


  • pyastyle.version()
  • pyastyle.format(code, options)


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

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page