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, 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.2.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for ast_decompiler-0.3.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3d896827c518543886987315fd87478b294124579872534da5579f2434d7ff8 |
|
MD5 | 28a66d2d3549a72a6c54718ee52e9717 |
|
BLAKE2b-256 | 69dbedac337c935757f89be768feca75143adbb6e7c917ab2007defbea1a2ce5 |