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 has been tested on Python 2.7 and 3.6.
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.3.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file ast_decompiler-0.3.tar.gz
.
File metadata
- Download URL: ast_decompiler-0.3.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcf850d67c2501347bb32732e249cb74aa69468d4221f875c732c2fb9e05f79f |
|
MD5 | 390a5d7d7529b1fa392c8e0b473a0040 |
|
BLAKE2b-256 | 89e2ac4883b165d03017afbe9d936f3eedaf64f751f8d2de6d4aadcdecf8aecd |
Provenance
File details
Details for the file ast_decompiler-0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: ast_decompiler-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ca5aa551f8ecfde9905559ad91fce2a4b987b7e514f36982ec08be80138bb3b |
|
MD5 | 4bfb81d9a1275ba9eaf52c426a19a226 |
|
BLAKE2b-256 | 62c59d7d328be8bffcb7fd7662f49efbc62d3655b0872bd8dcb43ea116ef1178 |