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

An AST unparser for Python

Project Description

# AST Unparser fork for py-backwards

Main goals:

Changelog

Here’s the recent changes to AST Unparser.

1.5.0 - 2017-02-05

  • Python 3.6 compatibility
  • bugfix: correct argparser option type

1.4.0 - 2016-06-24

  • Support for the async keyword
  • Support for unparsing “Interactive” and “Expression” nodes

1.3.0 - 2016-01-17

  • Python 3.5 compatibility

1.2.0 - 2014-04-03

  • Python 2.6 through 3.4 compatibility
  • A new function dump is added to return a pretty-printed version of the AST. It’s also available when running python -m astunparse as the --dump argument.

1.1.0 - 2014-04-01

  • unparse will return the source code for an AST. It is pretty feature-complete, and round-trips the stdlib, and is compatible with Python 2.7 and Python 3.4.

    Running python -m astunparse will print the round-tripped source for any python files given as argument.

Release History

This version
History Node

1.5.0.post3

History Node

1.5.0.post2

History Node

1.5.0.post1

History Node

1.5.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
py-backwards-astunparse-1.5.0.post3.tar.gz
(11.9 kB) Copy SHA256 Hash SHA256
Source None May 30, 2017

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting