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.0.tar.gz
(4.3 kB
view details)
File details
Details for the file ast_decompiler-0.0.tar.gz.
File metadata
- Download URL: ast_decompiler-0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8b1585891ae3e3f75087727ea8aa05293bb160ad7639a414ecda19e85317858
|
|
| MD5 |
96dff6cb6559050402ac29527c2455db
|
|
| BLAKE2b-256 |
e8b5a0f45af15c28bab65e9453b0b5c66c85c3bc89a1bb506695e44ee60a308c
|