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

Last updated: May 06,2024

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

Learn how to install python-lazy-object-proxy on Ubuntu 16.04 LTS (Xenial Xerus)

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

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

Please follow the instructions below to uninstall python-lazy-object-proxy on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-lazy-object-proxy
Priority: optional
Section: universe/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), python (<< 2.8), python (>= 2.7~), python:any (>= 2.7.5-5~)
Filename: pool/universe/l/lazy-object-proxy/python-lazy-object-proxy_1.2.1-1build1_amd64.deb
Size: 20410
MD5sum: c07eb7e43d1a48c6b1b39e28e0c6228d
SHA1: 5dfd17a0d04e7a6445be45a8eb2de1c0290a4b19
SHA256: ea325de601beea8ca097b814e8ba465a992980975885114f39e45ae2f16373a9
Description-en: Python 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 2 version of lazy-object-proxy .
Description-md5: 30fe84dffb26ae9a776cfa6c01afd289
Homepage: https://github.com/ionelmc/python-lazy-object-proxy
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu