Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

any way of turning an AST instance back into Python source code? #25

Closed
graingert opened this issue Jan 13, 2017 · 3 comments
Closed

any way of turning an AST instance back into Python source code? #25

graingert opened this issue Jan 13, 2017 · 3 comments

Comments

@graingert
Copy link

No description provided.

@mbdevpl
Copy link

mbdevpl commented Jan 13, 2017

In other words, "unparsing".

For untyped, see https://pypi.python.org/pypi/astunparse
For typed, see https://pypi.python.org/pypi/typed-astunparse (I'm the author)

Note: neither supports Python 3.6 at the moment.

@graingert
Copy link
Author

@mbdevpl ah nice, can you release an sdist?

@mbdevpl
Copy link

mbdevpl commented Jan 13, 2017

For the time being, source is available here: https://github.com/mbdevpl/typed-astunparse - but I can also release sdist if necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants