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.11.
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.7.0.tar.gz
(18.4 kB
view hashes)
Built Distribution
Close
Hashes for ast_decompiler-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ebd37ba129227484daff4a15dd6056d87c488fa372036dd004ee84196b207d3 |
|
MD5 | c81f5919a3ddac5f8d37be95a64af9ee |
|
BLAKE2b-256 | 2f0798dfdc6f03b0f56b0b23dd7042f97b45bba623298cfe393a24bc00901c36 |