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 details)
Built Distribution
File details
Details for the file ast_decompiler-0.7.0.tar.gz
.
File metadata
- Download URL: ast_decompiler-0.7.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc3a507e5f8963ec7b4b2ce2ea693e3755c2f52b741c231bc344a4526738337 |
|
MD5 | b28e70638087584c922048daf9eeaef2 |
|
BLAKE2b-256 | 324134be61bdc044829af6edcff823485d881883ab5b33fa68d9ae9a53be594d |
Provenance
File details
Details for the file ast_decompiler-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: ast_decompiler-0.7.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ebd37ba129227484daff4a15dd6056d87c488fa372036dd004ee84196b207d3 |
|
MD5 | c81f5919a3ddac5f8d37be95a64af9ee |
|
BLAKE2b-256 | 2f0798dfdc6f03b0f56b0b23dd7042f97b45bba623298cfe393a24bc00901c36 |