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.1.tar.gz
(7.3 kB
view hashes)
Built Distributions
Close
Hashes for ast_decompiler-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e145c40267840854eb445e0b9b791505fad82cb479bb3ac23251ef186327ea22 |
|
MD5 | 4a140321ddbd602af320738934845752 |
|
BLAKE2b-256 | 3cf2930a5e72f29595c16da13c1d5620af522c2fc9d6e803e4f7e3d29ade1a81 |
Close
Hashes for ast_decompiler-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fa881b517581f571916862bd966032e3952f4bf1104dd2e86ec4ed423701e77 |
|
MD5 | 9dcb9e7e6c7102625435cd19641fce90 |
|
BLAKE2b-256 | 595854b5a4e981f3ef928637375d99e396470370d654802a0f4105152c63ecc7 |