Python module to decompile AST to Python code
Project description
ast_decompiler is a module for generating Python code given an AST.
A usage example:
>> import ast >> from ast_decompiler import decompile >> decompile(ast.parse('(a + b) * c')) (a + b) * c
This module has been tested on Python 2.7 and 3.6.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ast_decompiler-0.3.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for ast_decompiler-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ca5aa551f8ecfde9905559ad91fce2a4b987b7e514f36982ec08be80138bb3b |
|
MD5 | 4bfb81d9a1275ba9eaf52c426a19a226 |
|
BLAKE2b-256 | 62c59d7d328be8bffcb7fd7662f49efbc62d3655b0872bd8dcb43ea116ef1178 |