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

Last updated: April 25,2024

1. Install "python3-asteval" package

This guide let you learn how to install python3-asteval on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-asteval

2. Uninstall "python3-asteval" package

Please follow the guidance below to uninstall python3-asteval on Ubuntu 21.10 (Impish Indri):

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

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

Package: python3-asteval
Architecture: all
Version: 0.9.19-2
Priority: optional
Section: universe/python
Source: python-asteval
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 73
Depends: python3:any
Filename: pool/universe/p/python-asteval/python3-asteval_0.9.19-2_all.deb
Size: 17416
MD5sum: b2b4fa3c1c85c909ad5ea032d74f3cb3
SHA1: 5053f68f0e516340c625292be967cd4c3b5486ea
SHA256: 17a2a71c76554f29b30f88149f65223069d3601e229d896eca1a7995610455a9
SHA512: ec4e3a69ad28bdf8499655de2a496e645b271e81a9ca566f7d8c7bc7c86411d8674782d425faf3728e4f43a62db7830449fd098f59701eb8c09bdbec0ec101f3
Homepage: https://github.com/newville/asteval
Description-en: minimalistic evaluator of Python 3 expression using ast module
ASTEVAL is a safe(ish) evaluator of Python expressions and statements,
using Python's ast module. The idea is to provide a simple, safe, and
robust miniature mathematical language that can handle user-input. The
emphasis here is on mathematical expressions, and so many functions from
numpy are imported and used if available.
.
Many Python lanquage constructs are supported by default, These include
slicing, subscripting, list comprehension, conditionals (if-elif-else
blocks and if expressions), flow control (for loops, while loops, and
try-except-finally blocks). All data are Python objects, and built-in
data structures (dictionaries, tuple, lists, numpy arrays, strings) are
fully supported by default.
.
Many of the standard builtin Python functions are available, as are all
mathemetical functions from the math module. If the numpy module is
installed, many of its functions will also be available. Users can
define and run their own functions within the confines of the
limitations of asteval.
.
There are several absences and differences with Python, and asteval is
by no means an attempt to reproduce Python with its own ast module. Some
of the most important differences and absences are:
.
* Variable and function symbol names are held in a simple symbol table
(a single dictionary), giving a flat namespace.
* creating classes is not supported.
* importing modules is not supported.
* function decorators, yield, lambda, exec, and eval are not
supported.
* files can only be opened in read-only mode.
.
In addition, accessing many internal methods and classes of objects is
forbidden in order to strengthen asteval against malicious user code. .
.
This package installs the library for Python 3.
Description-md5: 0351d3952f4c7bb4b7cf08cb89ec46bf