Upstream software project

python-astor

Easy manipulation of Python source via the AST

About python-astor

Easy manipulation of Python source via the AST

This project links 12 native package records across 8 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

python-astor repository preview from GitHub
Project repository preview, supplied by GitHub. Open source repository
Alpine Linux 3.21: 2 package records; Alpine Linux 3.22: 2 package records; Alpine Linux 3.23: 2 package records; Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; openSUSE Leap 15.6: 1 package records; openSUSE Leap 16.0: 1 package records; openSUSE Tumbleweed: 2 package records. Catalog coverage diagram, not an application screenshot.python-astor: recorded package coverageAlpine Linux 3.212 recordsAlpine Linux 3.222 recordsAlpine Linux 3.232 recordsDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsopenSUSE Leap 15.61 recordsopenSUSE Leap 16.01 recordsopenSUSE Tumbleweed2 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
python-astor
Publisher
Not authoritatively mapped
Native package records
12
Operating systems
alpine-linux-3-21, alpine-linux-3-22, alpine-linux-3-23, debian-12, debian-13, opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
BSD-3-Clause-Clear
Source repository
Open source repository

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

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

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Alpine Linux 3.21

  1. Package py3-astor

    v3.21 (Alpine Linux 3.21): Easy manipulation of Python source via the AST

    0.8.1-r5: aarch64 x86_64

    Source: py3-astor

  2. Package py3-astor-pyc

    v3.21 (Alpine Linux 3.21): Precompiled Python bytecode for py3-astor

    0.8.1-r5: aarch64 x86_64

    Source: py3-astor

Alpine Linux 3.22

  1. Package py3-astor

    v3.22 (Alpine Linux 3.22): Easy manipulation of Python source via the AST

    0.8.1-r5: aarch64 x86_64

    Source: py3-astor

  2. Package py3-astor-pyc

    v3.22 (Alpine Linux 3.22): Precompiled Python bytecode for py3-astor

    0.8.1-r5: aarch64 x86_64

    Source: py3-astor

Alpine Linux 3.23

  1. Package py3-astor

    v3.23 (Alpine Linux 3.23): Easy manipulation of Python source via the AST

    0.8.1-r6: aarch64 x86_64

    Source: py3-astor

  2. Package py3-astor-pyc

    v3.23 (Alpine Linux 3.23): Precompiled Python bytecode for py3-astor

    0.8.1-r6: aarch64 x86_64

    Source: py3-astor

Debian 12 (Bookworm)

  1. Package python3-astor

    bookworm (Debian 12 (Bookworm)) (python): Python 3 AST manipulator

    0.8.1-4: all

    Source: python-astor

Debian 13 (Trixie)

  1. Package python3-astor

    trixie (Debian 13 (Trixie)) (python): Python 3 AST manipulator

    0.8.1-4: all

    Source: python-astor

openSUSE Leap 15.6

  1. Package python311-astor

    leap-15.6 (openSUSE Leap 15.6) (Development/Languages/Python): Read/rewrite/write Python ASTs

    0.8.1-150400.9.3.9: noarch

    Source: python-astor

openSUSE Leap 16.0

  1. Package python313-astor

    leap-16.0 (openSUSE Leap 16.0) (Development/Languages/Python): Read/rewrite/write Python ASTs

    0.8.1-160000.2.2: noarch

    Source: python-astor

openSUSE Tumbleweed

  1. Package python313-astor

    tumbleweed (openSUSE Tumbleweed) (Unspecified): Read/rewrite/write Python ASTs

    0.8.1-13.4: noarch

    Source: python-astor

  2. Package python314-astor

    tumbleweed (openSUSE Tumbleweed) (Unspecified): Read/rewrite/write Python ASTs

    0.8.1-13.4: noarch

    Source: python-astor

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.