Debian logoDebian Screenshots >

python3-lazy-object-proxy

Python 3 fast and thorough lazy object proxy

Description

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 .

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

https://github.com/ionelmc/python-lazy-object-proxy


Statistics

601 other people were interested in this package here. The newest known version of this software is 1.3.1-2 (Information last updated about 19 hours ago.)