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 only been tested on Python 2.7.
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.1.tar.gz
(4.5 kB
view details)
Built Distribution
ast_decompiler-0.1-py2.7.egg
(17.3 kB
view details)
File details
Details for the file ast_decompiler-0.1.tar.gz
.
File metadata
- Download URL: ast_decompiler-0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 129d2659ae9adc024aee1b8f2c5a3d27ebebb4e156a6a10746bcc969af20b845 |
|
MD5 | 06d969f67caff9f2a78752b8b70a64a9 |
|
BLAKE2b-256 | 7d74d82dfb831bb48c9d763371b85037d636d790d7be43f6ece5a73dd64730f3 |
Provenance
File details
Details for the file ast_decompiler-0.1-py2.7.egg
.
File metadata
- Download URL: ast_decompiler-0.1-py2.7.egg
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e30345cd751ec4d838dde78022143a69dc403fe74481a6bf11548db3d8b2da |
|
MD5 | 0972f091ef00f91b1b54a425fe6ee3a7 |
|
BLAKE2b-256 | e7f2432d7178d9db72fa9b88b9985d4079af4a9ddd8d668d36c52f27894b6ded |