Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python wrapper extension for Artistic Style

Project Description

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

This version
History Node


History Node


History Node


History Node


Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting