1 pyutils.parallelize package
2 ===========================
4 This package contains code related to parallelization including some
5 utilities (:file:`thread_utils.py`) and a frameworks for simple
6 parallelization (everything else).
11 pyutils.parallelize.deferred\_operand module
12 --------------------------------------------
14 .. automodule:: pyutils.parallelize.deferred_operand
17 :exclude-members: __repr__,
37 pyutils.parallelize.executors module
38 ------------------------------------
40 .. automodule:: pyutils.parallelize.executors
45 pyutils.parallelize.parallelize module
46 --------------------------------------
48 .. automodule:: pyutils.parallelize.parallelize
53 pyutils.parallelize.smart\_future module
54 ----------------------------------------
56 Defines a SmartFuture class that is part of the parallelization
57 framework. A SmartFuture is a kind of Future (i.e. a representation
58 of the result of asynchronous processing that may know its value or
59 not depending on whether the asynchronous operation has completed).
60 Whereas normal Python Futures must be waited on or resolved manually,
61 a SmartFuture automatically waits for its result to be known as soon
62 as it is utilized in an expression that demands its value.
64 Also contains some utilility code for waiting for one/many futures.
66 .. automodule:: pyutils.parallelize.smart_future
71 pyutils.parallelize.thread\_utils module
72 ----------------------------------------
74 .. automodule:: pyutils.parallelize.thread_utils
82 This module contains a framework for easy Python parallelization. To
83 see an example of how it is used, look at examples/wordle/...
85 This module also contains some utilities that deal with parallelization.
87 .. automodule:: pyutils.parallelize