Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python311-astor | Distribution: openSUSE Tumbleweed |
Version: 0.8.1 | Vendor: openSUSE |
Release: 11.1 | Build date: Thu Jul 4 14:06:42 2024 |
Group: Development/Languages/Python | Build host: reproducible |
Size: 301403 | Source RPM: python-astor-0.8.1-11.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/berkerpeksag/astor | |
Summary: 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
BSD-3-Clause
* Thu Jul 04 2024 Daniel Garcia <daniel.garcia@suse.com> - Skip same tests for python-3.13 * Thu Sep 28 2023 Daniel Garcia <daniel.garcia@suse.com> - Skip same tests for python-3.12 * Fri Apr 21 2023 Dirk Müller <dmueller@suse.com> - add sle15_python_module_pythons (jsc#PED-68) * Thu Apr 13 2023 Matej Cepl <mcepl@suse.com> - Make calling of %{sle15modernpython} optional. * Tue Jan 10 2023 Daniel Garcia <daniel.garcia@suse.com> - Skip same tests for python-3.11 * Mon Sep 12 2022 Markéta Machová <mmachova@suse.com> - Skip test_huge_int due to new security feature in Python * https://github.com/python/cpython/issues/95778 * Sun Dec 12 2021 Ben Greiner <code@bnavigator.de> - Also skip convert_stdlib in python310: still not fixed * Fri Mar 19 2021 Ben Greiner <code@bnavigator.de> - Skip failing stdlib roundtrip test on python39 gh#berkerpeksag/astor#196 * Mon Jun 01 2020 Tomáš Chvátal <tchvatal@suse.com> - Remove patch remove_unittest2.patch as we use pytest to load stuff it is no longer really needed * Fri May 29 2020 pgajdos@suse.com - for python3, drop dependency on unittest2 - added patches + remove_unittest2.patch
/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/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/dependency_links.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/VERSION /usr/lib/python3.11/site-packages/astor/__init__.py /usr/lib/python3.11/site-packages/astor/__pycache__ /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__/code_gen.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.opt-1.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__/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/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/node_util.py /usr/lib/python3.11/site-packages/astor/op_util.py /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/share/doc/packages/python311-astor /usr/share/doc/packages/python311-astor/AUTHORS /usr/share/doc/packages/python311-astor/README.rst /usr/share/doc/packages/python311-astor/changelog.rst /usr/share/doc/packages/python311-astor/index.rst /usr/share/licenses/python311-astor /usr/share/licenses/python311-astor/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Nov 16 23:53:07 2024