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 details)
Built Distribution
File details
Details for the file ast_decompiler-0.6.0.tar.gz
.
File metadata
- Download URL: ast_decompiler-0.6.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.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d10305a0de3c37f7db2f61c0fae8141aedfe7b40307d40195c1f1e5f5733f3 |
|
MD5 | 7e657365840612cd4f414dbaccb1ee75 |
|
BLAKE2b-256 | 3d639c6889db1271e4c966278cbffcb09466cbdeef1ca00bfffe4806e419e10d |
Provenance
File details
Details for the file ast_decompiler-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: ast_decompiler-0.6.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68ad813b609a405d26d8d29605c8d12cd282278533e26adfa0048991c81337c8 |
|
MD5 | 3ee6824365f72f7f935ec930d6d32b87 |
|
BLAKE2b-256 | 93e9a632b9737587cb8aaa859f58226b634f67b2e54290ced3d3447ffcd0a10b |