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.6.0.tar.gz
(18.4 kB
view hashes)
Built Distribution
Close
Hashes for ast_decompiler-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68ad813b609a405d26d8d29605c8d12cd282278533e26adfa0048991c81337c8 |
|
MD5 | 3ee6824365f72f7f935ec930d6d32b87 |
|
BLAKE2b-256 | 93e9a632b9737587cb8aaa859f58226b634f67b2e54290ced3d3447ffcd0a10b |