| 1 | Sourcescip-debian debian python-astor 0.8.1-5 python-astor/Source.: python-astorscip-debian debian python-astor 0.8.1-5 python-astor/ |
| 2 | Sectionscip-debian debian python-astor 0.8.1-5 python-astor/Section.: python |
| 3 | Priorityscip-debian debian python-astor 0.8.1-5 python-astor/Priority.: optional |
| 4 | Maintainerscip-debian debian python-astor 0.8.1-5 python-astor/Maintainer.: Debian Python Team <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 5 | Uploadersscip-debian debian python-astor 0.8.1-5 python-astor/Uploaders.: Paul Tagliamonte <[email protected]scip-debian . . . identity/`[email protected]`.>, |
| 6 | Tianon Gravi <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 7 | Build-Dependsscip-debian debian python-astor 0.8.1-5 python-astor/Build-Depends.: debhelper-compatscip-debian debian debhelper-compat . debhelper-compat/debhelper-compat# (= 13), |
| 8 | dh-sequence-python3scip-debian debian dh-sequence-python3 . dh-sequence-python3/dh-sequence-python3#, |
| 9 | pybuild-plugin-pyprojectscip-debian debian pybuild-plugin-pyproject . pybuild-plugin-pyproject/pybuild-plugin-pyproject#, |
| 10 | python3-allscip-debian debian python3-all . python3-all/python3-all#, |
| 11 | python3-pytestscip-debian debian python3-pytest . python3-pytest/python3-pytest# <!nocheckscip-debian . . . build-profile/nocheck#>, |
| 12 | python3-setuptoolsscip-debian debian python3-setuptools . python3-setuptools/python3-setuptools#, |
| 13 | Standards-Versionscip-debian debian python-astor 0.8.1-5 python-astor/Standards-Version.: 4.6.2 |
| 14 | Homepagescip-debian debian python-astor 0.8.1-5 python-astor/Homepage.: https://github.com/berkerpeksag/astor/scip-debian . . . url/`https://github.com/berkerpeksag/astor/`. |
| 15 | Vcs-Gitscip-debian debian python-astor 0.8.1-5 python-astor/Vcs-Git.: https://salsa.debian.org/python-team/packages/python-astor.git |
| 16 | Vcs-Browserscip-debian debian python-astor 0.8.1-5 python-astor/Vcs-Browser.: https://salsa.debian.org/python-team/packages/python-astorscip-debian . . . url/`https://salsa.debian.org/python-team/packages/python-astor`. |
| 17 | Testsuitescip-debian debian python-astor 0.8.1-5 python-astor/Testsuite.: autopkgtest-pkg-pybuild |
| 18 | |
| 19 | Packagescip-debian debian python-astor 0.8.1-5 python-astor/python3-astor#Package.: python3-astorscip-debian debian python3-astor . python3-astor/python3-astor# |
| 20 | Architecturescip-debian debian python-astor 0.8.1-5 python-astor/python3-astor#Architecture.: all |
| 21 | Dependsscip-debian debian python-astor 0.8.1-5 python-astor/python3-astor#Depends.: ${misc:Depends}, ${python3:Depends} |
| 22 | Descriptionscip-debian debian python-astor 0.8.1-5 python-astor/python3-astor#Description.: Python 3 AST manipulator |
| 23 | astor is designed to allow easy manipulation of Python source via the AST. |
| 24 | . |
| 25 | There are some other similar libraries, but astor focuses on the following |
| 26 | areas: |
| 27 | . |
| 28 | - Round-trip back to Python via Armin Ronacher's codegen.py module: |
| 29 | - Modified AST doesn't need linenumbers, ctx, etc. or otherwise be directly |
| 30 | compileable |
| 31 | . |
| 32 | - Dump pretty-printing of AST |
| 33 | - Harder to read than round-tripped code, but more accurate to figure out |
| 34 | what is going on. |
| 35 | - Easier to read than dump from built-in AST module |
| 36 | . |
| 37 | - Non-recursive treewalk |
| 38 | - Sometimes you want a recursive treewalk (and astor supports that, starting |
| 39 | at any node on the tree), but sometimes you don't need to do that. astor |
| 40 | doesn't require you to explicitly visit sub-nodes unless you want to: |
| 41 | - You can add code that executes before a node's children are visited, |
| 42 | and/or |
| 43 | - You can add code that executes after a node's children are visited, and/or |
| 44 | - You can add code that executes and keeps the node's children from being |
| 45 | visited (and optionally visit them yourself via a recursive call) |
| 46 | - Write functions to access the tree based on object names and/or attribute |
| 47 | names |
| 48 | - Enjoy easy access to parent node(s) for tree rewriting |
| 49 | . |
| 50 | This package provides Python 3 module bindings only. |