Package: python313-astor (0.8.1-13.4)
Read/rewrite/write Python ASTs
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 an AST back to Python: - Modified AST doesn't need linenumbers, ctx, etc. or otherwise be directly compileable for the round-trip to work. - Easy to read generated code as, well, code - Can round-trip two different source trees to compare for functional differences, using the astor.rtrip tool (for example, after PEP8 edits). - 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
Package information
- Homepage
- [https://github.com/berkerpeksag/astor]
- License
- BSD-3-Clause
- Maintainer del pacchetto downstream
- Sconosciuto: non segnalato nella fonte indicizzata
- Pacchetto sorgente
- [python-astor]
- Software project
- [python-astor]
Versions and downloads for python313-astor
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.8.1-13.4tumbleweed / oss | noarchopenSUSE Tumbleweed · OSS · multi-architecture | 78 KiB | 282 KiB | list of files | python313-astor-0.8.1-13.4.noarch.rpm |
About these downloads
Ogni riga è metadato dell'indice pacchetti per una versione, architettura, suite e repository. Nomi, URL e dimensioni arrivano dalla fonte; un link è un punto di recupero mutabile, non una redistribuzione OpenFactory.
Other packages built from python-astor
- python314-astor
Read/rewrite/write Python ASTs
Dependencies and recommendations for python313-astor
dep: python(abi) (= 3.13)
Package not available
Percorsi file del pacchetto (51)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/python3.13/site-packages/astor
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/INSTALLER
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/licenses
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/licenses/AUTHORS
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/licenses/LICENSE
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/METADATA
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/RECORD
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/REQUESTED
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/top_level.txt
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/WHEEL
- /usr/lib/python3.13/site-packages/astor-0.8.1.dist-info/zip-safe
- /usr/lib/python3.13/site-packages/astor/code_gen.py
- /usr/lib/python3.13/site-packages/astor/codegen.py
- /usr/lib/python3.13/site-packages/astor/file_util.py
- /usr/lib/python3.13/site-packages/astor/__init__.py
- /usr/lib/python3.13/site-packages/astor/node_util.py
- /usr/lib/python3.13/site-packages/astor/op_util.py
- /usr/lib/python3.13/site-packages/astor/__pycache__
- /usr/lib/python3.13/site-packages/astor/__pycache__/code_gen.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/codegen.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/code_gen.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/codegen.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/file_util.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/file_util.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/__init__.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/__init__.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/node_util.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/node_util.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/op_util.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/op_util.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/rtrip.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/rtrip.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/source_repr.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/source_repr.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/string_repr.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/string_repr.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/tree_walk.cpython-313.opt-1.pyc
- /usr/lib/python3.13/site-packages/astor/__pycache__/tree_walk.cpython-313.pyc
- /usr/lib/python3.13/site-packages/astor/rtrip.py
- /usr/lib/python3.13/site-packages/astor/source_repr.py
- /usr/lib/python3.13/site-packages/astor/string_repr.py
- /usr/lib/python3.13/site-packages/astor/tree_walk.py
- /usr/lib/python3.13/site-packages/astor/VERSION
- /usr/share/doc/packages/python313-astor
- /usr/share/doc/packages/python313-astor/AUTHORS
- /usr/share/doc/packages/python313-astor/changelog.rst
- /usr/share/doc/packages/python313-astor/index.rst
- /usr/share/doc/packages/python313-astor/README.rst
- /usr/share/licenses/python313-astor
- /usr/share/licenses/python313-astor/LICENSE
Field source: openSUSE Tumbleweed OSS
