File: __init__.py

package info (click to toggle)
python-pyqtgraph 0.9.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,552 kB
  • ctags: 4,262
  • sloc: python: 30,181; makefile: 116; sh: 1
file content (24 lines) | stat: -rw-r--r-- 892 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"""
Multiprocessing utility library
(parallelization done the way I like it)

Luke Campagnola
2012.06.10

This library provides:

  - simple mechanism for starting a new python interpreter process that can be controlled from the original process
    (this allows, for example, displaying and manipulating plots in a remote process
    while the parent process is free to do other work)
  - proxy system that allows objects hosted in the remote process to be used as if they were local
  - Qt signal connection between processes
  - very simple in-line parallelization (fork only; does not work on windows) for number-crunching

TODO:
    allow remote processes to serve as rendering engines that pass pixmaps back to the parent process for display
    (RemoteGraphicsView class)
"""

from .processes import *
from .parallelizer import Parallelize, CanceledError
from .remoteproxy import proxy