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, 3.3, 3.4, 3.5, 3.6, 3.7 and 3.8.
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.4.0.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for ast_decompiler-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d2da2a0ab871fade008da92e0dadca95f31779a52c7a7ddc88e3f31051a1ead |
|
MD5 | 21ba5944f2a006be041cf32296b1320e |
|
BLAKE2b-256 | 488eb4f67993edcc59254b6b794c13103a0996fb0604d222a7c311341b0f8c19 |