Package: python311-astor (0.8.1-150400.9.3.9)
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
- Mainteneur du paquet aval
- Inconnu : non déclaré dans la source indexée
- Paquet source
- [python-astor]
- Software project
- [python-astor]
Versions and downloads for python311-astor
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.8.1-150400.9.3.9leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 75 KiB | 212 KiB | list of files | python311-astor-0.8.1-150400.9.3.9.noarch.rpm |
About these downloads
Chaque ligne est une métadonnée d'index pour une version, une architecture, une suite et un dépôt. Noms, URL et tailles viennent de la source ; un lien est un emplacement de récupération mutable, pas une redistribution OpenFactory.
Dependencies and recommendations for python311-astor
dep: python(abi) (= 3.11)
Package not available
Chemins de fichiers du paquet (46)
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.11/site-packages/astor
- /usr/lib/python3.11/site-packages/astor-0.8.1-py3.11.egg-info
- /usr/lib/python3.11/site-packages/astor-0.8.1-py3.11.egg-info/dependency_links.txt
- /usr/lib/python3.11/site-packages/astor-0.8.1-py3.11.egg-info/PKG-INFO
- /usr/lib/python3.11/site-packages/astor-0.8.1-py3.11.egg-info/SOURCES.txt
- /usr/lib/python3.11/site-packages/astor-0.8.1-py3.11.egg-info/top_level.txt
- /usr/lib/python3.11/site-packages/astor-0.8.1-py3.11.egg-info/zip-safe
- /usr/lib/python3.11/site-packages/astor/code_gen.py
- /usr/lib/python3.11/site-packages/astor/codegen.py
- /usr/lib/python3.11/site-packages/astor/file_util.py
- /usr/lib/python3.11/site-packages/astor/__init__.py
- /usr/lib/python3.11/site-packages/astor/node_util.py
- /usr/lib/python3.11/site-packages/astor/op_util.py
- /usr/lib/python3.11/site-packages/astor/__pycache__
- /usr/lib/python3.11/site-packages/astor/__pycache__/code_gen.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/codegen.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/code_gen.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/codegen.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/file_util.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/file_util.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/__init__.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/node_util.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/node_util.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/op_util.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/op_util.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/rtrip.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/rtrip.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/source_repr.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/source_repr.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/string_repr.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/string_repr.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/tree_walk.cpython-311.opt-1.pyc
- /usr/lib/python3.11/site-packages/astor/__pycache__/tree_walk.cpython-311.pyc
- /usr/lib/python3.11/site-packages/astor/rtrip.py
- /usr/lib/python3.11/site-packages/astor/source_repr.py
- /usr/lib/python3.11/site-packages/astor/string_repr.py
- /usr/lib/python3.11/site-packages/astor/tree_walk.py
- /usr/lib/python3.11/site-packages/astor/VERSION
- /usr/share/doc/packages/python311-astor
- /usr/share/doc/packages/python311-astor/AUTHORS
- /usr/share/doc/packages/python311-astor/changelog.rst
- /usr/share/doc/packages/python311-astor/index.rst
- /usr/share/doc/packages/python311-astor/README.rst
- /usr/share/licenses/python311-astor
- /usr/share/licenses/python311-astor/LICENSE
Field source: openSUSE Leap 15.6 OSS
