How to Install and Uninstall python3-lazy-object-proxy Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "python3-lazy-object-proxy" package

In this section, we are going to explain the necessary steps to install python3-lazy-object-proxy on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-lazy-object-proxy

2. Uninstall "python3-lazy-object-proxy" package

Learn how to uninstall python3-lazy-object-proxy on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python3-lazy-object-proxy $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-lazy-object-proxy package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-lazy-object-proxy
Priority: optional
Section: python
Installed-Size: 124
Maintainer: Ubuntu Developers
Original-Maintainer: Sandro Tosi
Architecture: amd64
Source: lazy-object-proxy
Version: 1.2.1-1build1
Depends: libc6 (>= 2.4), python3 (<< 3.6), python3 (>= 3.5~)
Filename: pool/main/l/lazy-object-proxy/python3-lazy-object-proxy_1.2.1-1build1_amd64.deb
Size: 20338
MD5sum: 9f6fe93d46fa2bcebf989646c6fa9de1
SHA1: 47f7208fcd8e08fb694ee7662dad420570a617af
SHA256: 68862b8486ff0843bb0b66c6f8de01122aabd38d5afebf532375ba288595dcb1
Description-en: Python 3 fast and thorough lazy object proxy
A lazy object proxy is an object that wraps a callable but defers the call
until the object is actually required, and caches the result of said call.
.
These kinds of objects are useful in resolving various dependency issues, few
examples:
.
* Objects that need to held circular references at each other, but at
different stages. To instantiate object Foo you need an instance of Bar.
Instance of Bar needs an instance of Foo in some of it methods (but not at
construction). Circular imports sound familiar?
.
* Performance sensitive code. You don't know ahead of time what you're going
to use but you don't want to pay for allocating all the resources at the
start as you usually need just few of them.
.
This package contains the Python 3 version of lazy-object-proxy .
Description-md5: ad0ce17e06707e5d0f35f22d94949c7c
Homepage: https://github.com/ionelmc/python-lazy-object-proxy
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m