Skip to main content

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.

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

py-backwards-astunparse-1.5.0.post1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

py_backwards_astunparse-1.5.0.post1-py2.py3-none-any.whl (10.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file py-backwards-astunparse-1.5.0.post1.tar.gz.

File metadata

File hashes

Hashes for py-backwards-astunparse-1.5.0.post1.tar.gz
Algorithm Hash digest
SHA256 a05f8076560ad1a3a7f9ef0f45c6f53e72b1a0fdc027fef8ddfb06c458119b2a
MD5 41499fd2756e09dfd7abe44c49d8df08
BLAKE2b-256 ed1b50968014e4b612993ebe03941602df29705689ad23901c9878a45acce4f2

See more details on using hashes here.

File details

Details for the file py_backwards_astunparse-1.5.0.post1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for py_backwards_astunparse-1.5.0.post1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1688463fdfa6fd4d6db3afd79dbf8336cac875ea54dc331a2e0db64905c149f2
MD5 bc7b8d4385ceedaa75440d159ae8b4f4
BLAKE2b-256 d02a8463d250336fbfa2861a77e914a477733fca3c3ee86a072844d350ce94f3

See more details on using hashes here.

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