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 supports Python 3.6 through 3.10.
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.5.0.tar.gz
(18.7 kB
view hashes)
Built Distribution
Close
Hashes for ast_decompiler-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d4c8029f2341ea7ece298615b396c87a9dbc4b528516bd99a76831cb45522ec |
|
MD5 | 32b567d303a8dbef9de80b4c15edb156 |
|
BLAKE2b-256 | f615c77af1ce84203a12d8d0c64083e70eb529464e03ddf82df0aaad286726b6 |