py27-astor-0.7.1

Basic Info:

Read/rewrite/write Python ASTs

homepage: https://github.com/berkerpeksag/astor
license: 2-clause-bsd
install size: 221831
build date: 2019-01-30 19:13:55 +0000
package file: py27-astor-0.7.1.tgz
package size: 59934

Description:

astor is designed to allow easy manipulation of Python source via the AST. There
are some other similar libraries, but astor focuses on the following areas:

* Round-trip back to Python via Armin Ronacher's codegen.py module:
** Modified AST doesn't need linenumbers, ctx, etc. or otherwise be directly
compileable
** Easy to read generated code as, well, code
* Dump pretty-printing of AST
** Harder to read than round-tripped code, but more accurate to figure out
what is going on.
** Easier to read than dump from built-in AST module
* Non-recursive treewalk
** Sometimes you want a recursive treewalk (and astor supports that, starting
at any node on the tree), but sometimes you don't need to do that. astor
doesn't require you to explicitly visit sub-nodes unless you want to:
** You can add code that executes before a node's children are visited,
and/or
** You can add code that executes after a node's children are visited, and/or
** You can add code that executes and keeps the node's children from being
visited (and optionally visit them yourself via a recursive call)
** Write functions to access the tree based on object names and/or attribute
names
** Enjoy easy access to parent node(s) for tree rewriting

Homepage:
https://github.com/berkerpeksag/astor

Provides:

Requires:

Depends:

py27-setuptools>=0.8
python>=2.7.1nb2<2.8

Package List

File NameDateSize
lib/python2.7/site-packages/astor-0.7.1-py2.7.egg-info/PKG-INFO2019-01-30 12:134788 bytes
lib/python2.7/site-packages/astor-0.7.1-py2.7.egg-info/SOURCES.txt2019-01-30 12:13595 bytes
lib/python2.7/site-packages/astor-0.7.1-py2.7.egg-info/dependency_links.txt2019-01-30 12:131 bytes
lib/python2.7/site-packages/astor-0.7.1-py2.7.egg-info/top_level.txt2019-01-30 12:136 bytes
lib/python2.7/site-packages/astor-0.7.1-py2.7.egg-info/zip-safe2018-07-06 02:051 bytes
lib/python2.7/site-packages/astor/__init__.py2018-07-06 01:572149 bytes
lib/python2.7/site-packages/astor/__init__.pyc2019-01-30 12:132759 bytes
lib/python2.7/site-packages/astor/__init__.pyo2019-01-30 12:132759 bytes
lib/python2.7/site-packages/astor/code_gen.py2018-07-05 11:5028587 bytes
lib/python2.7/site-packages/astor/code_gen.pyc2019-01-30 12:1333710 bytes
lib/python2.7/site-packages/astor/code_gen.pyo2019-01-30 12:1333593 bytes
lib/python2.7/site-packages/astor/codegen.py2017-11-10 20:27204 bytes
lib/python2.7/site-packages/astor/codegen.pyc2019-01-30 12:13375 bytes
lib/python2.7/site-packages/astor/codegen.pyo2019-01-30 12:13375 bytes
lib/python2.7/site-packages/astor/file_util.py2017-10-31 00:503268 bytes
lib/python2.7/site-packages/astor/file_util.pyc2019-01-30 12:134108 bytes
lib/python2.7/site-packages/astor/file_util.pyo2019-01-30 12:134108 bytes
lib/python2.7/site-packages/astor/node_util.py2017-10-31 00:506542 bytes
lib/python2.7/site-packages/astor/node_util.pyc2019-01-30 12:137868 bytes
lib/python2.7/site-packages/astor/node_util.pyo2019-01-30 12:137868 bytes
lib/python2.7/site-packages/astor/op_util.py2017-10-31 00:503089 bytes
lib/python2.7/site-packages/astor/op_util.pyc2019-01-30 12:134403 bytes
lib/python2.7/site-packages/astor/op_util.pyo2019-01-30 12:134403 bytes
lib/python2.7/site-packages/astor/rtrip.py2017-10-31 03:526731 bytes
lib/python2.7/site-packages/astor/rtrip.pyc2019-01-30 12:135731 bytes
lib/python2.7/site-packages/astor/rtrip.pyo2019-01-30 12:135689 bytes
lib/python2.7/site-packages/astor/source_repr.py2017-10-31 00:507351 bytes
lib/python2.7/site-packages/astor/source_repr.pyc2019-01-30 12:136651 bytes
lib/python2.7/site-packages/astor/source_repr.pyo2019-01-30 12:136553 bytes
lib/python2.7/site-packages/astor/string_repr.py2018-05-15 08:392907 bytes
lib/python2.7/site-packages/astor/string_repr.pyc2019-01-30 12:133311 bytes
lib/python2.7/site-packages/astor/string_repr.pyo2019-01-30 12:133311 bytes
lib/python2.7/site-packages/astor/tree_walk.py2017-10-31 03:525872 bytes
lib/python2.7/site-packages/astor/tree_walk.pyc2019-01-30 12:136126 bytes
lib/python2.7/site-packages/astor/tree_walk.pyo2019-01-30 12:136039 bytes