Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zenhack/python-ast-format
https://github.com/zenhack/python-ast-format
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zenhack/python-ast-format
- Owner: zenhack
- License: isc
- Created: 2014-09-04T22:31:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-10T01:27:01.000Z (over 8 years ago)
- Last Synced: 2024-10-22T07:00:35.157Z (2 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
This is the beginnings of a python library for constructing abstract
syntax trees for python source, and outputting the corresponding textual
source code. It's possible to use the standard library's `ast` module to
generate python code dynamically, but it's also possible to segfault
python; the module is really meant to be an implementation detail.This is very incomplete, and I make no promises to finish it - I'm
publishing it so I don't lose it. There is a module that deals with the
indentation issues fairly nicely that is itself already usable.