Linux workstation

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
Metadata completeness
70/100 (not a software quality rating)
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. py3-astor

    Alpine Linux 3.21 / source py3-astor

    0.8.1-r5

    Easy manipulation of Python source via the AST

    aarch64x86_64v3.21
  2. py3-astor-pyc

    Alpine Linux 3.21 / source py3-astor

    0.8.1-r5

    Precompiled Python bytecode for py3-astor

    aarch64x86_64v3.21

Alpine Linux 3.22

  1. py3-astor

    Alpine Linux 3.22 / source py3-astor

    0.8.1-r5

    Easy manipulation of Python source via the AST

    aarch64x86_64v3.22
  2. py3-astor-pyc

    Alpine Linux 3.22 / source py3-astor

    0.8.1-r5

    Precompiled Python bytecode for py3-astor

    aarch64x86_64v3.22

Alpine Linux 3.23

  1. py3-astor

    Alpine Linux 3.23 / source py3-astor

    0.8.1-r6

    Easy manipulation of Python source via the AST

    aarch64x86_64v3.23
  2. py3-astor-pyc

    Alpine Linux 3.23 / source py3-astor

    0.8.1-r6

    Precompiled Python bytecode for py3-astor

    aarch64x86_64v3.23

Debian 12 (Bookworm)

  1. python3-astor

    Debian 12 (Bookworm) / python / source python-astor

    0.8.1-4

    Python 3 AST manipulator

    allbookworm

Debian 13 (Trixie)

  1. python3-astor

    Debian 13 (Trixie) / python / source python-astor

    0.8.1-4

    Python 3 AST manipulator

    alltrixie

openSUSE Leap 15.6

  1. python311-astor

    openSUSE Leap 15.6 / Development/Languages/Python / source python-astor

    0.8.1-150400.9.3.9

    Read/rewrite/write Python ASTs

    noarchleap-15.6

openSUSE Leap 16.0

  1. python313-astor

    openSUSE Leap 16.0 / Development/Languages/Python / source python-astor

    0.8.1-160000.2.2

    Read/rewrite/write Python ASTs

    noarchleap-16.0

openSUSE Tumbleweed

  1. python313-astor

    openSUSE Tumbleweed / Unspecified / source python-astor

    0.8.1-13.4

    Read/rewrite/write Python ASTs

    noarchtumbleweed
  2. python314-astor

    openSUSE Tumbleweed / Unspecified / source python-astor

    0.8.1-13.4

    Read/rewrite/write Python ASTs

    noarchtumbleweed

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.