How to Install and Uninstall python3-astor Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 05,2024

1. Install "python3-astor" package

Learn how to install python3-astor on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-astor

2. Uninstall "python3-astor" package

Here is a brief guide to show you how to uninstall python3-astor on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-astor $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-astor package on Ubuntu 21.10 (Impish Indri)

Package: python3-astor
Architecture: all
Version: 0.8.1-1
Priority: optional
Section: universe/python
Source: python-astor
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 100
Depends: python3:any
Filename: pool/universe/p/python-astor/python3-astor_0.8.1-1_all.deb
Size: 23196
MD5sum: 8983a268444a12d9fcf4ae9c56a2e2c4
SHA1: 067d5fdf37641d0fcb831c42d0ebf96530cebc26
SHA256: 1574bbbdf01650b19dc03c30b46cd7dd5a7a5c88a92ce20c8afcb4f82578bb23
SHA512: 37aedecb5b1067995935de96542965ae347dc8cac68ce887a55e76e3546683e1d034417a100515f1d2a914ceea5a5858112860ed19b03961766ab55baff729df
Homepage: https://github.com/berkerpeksag/astor/
Description-en: Python 3 AST manipulator
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 back to Python via Armin Ronacher's codegen.py module:
- Modified AST doesn't need linenumbers, ctx, etc. or otherwise be directly
compileable
.
- 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
.
This package provides Python 3 module bindings only.
Description-md5: 8fd168e0e528757681d7a38cdc7c66c0
Task: ubuntustudio-audio