Skip to content

django-ftl/ast_decompiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ast_decompiler

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, 3.3, 3.4, 3.5, and 3.6.

About

An AST-to-code library for Python

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%