Show More
@@ -20,7 +20,7 b' This GUI will allow for the easy editing of multi-line input and the convenient ' | |||||
20 |
|
20 | |||
21 | 2-process model pyzmq base |
|
21 | 2-process model pyzmq base | |
22 | ++++++++++++++++++++++++++ |
|
22 | ++++++++++++++++++++++++++ | |
23 | Since the necessity of a user to keep his data safe, the design is based in a 2-process model that will be achieved with a simple client/server system with `pyzmq <http://www.zeromq.org/bindings:python>`_, so the GUI session do not crash if the the kernel process does. This will be achieved using this test `code <http://github.com/fperez/pyzmq/blob/completer/examples/kernel/kernel.py>`_ and customizing it to the necessities of the GUI such as queue management with discrimination for different frontends connected to the same kernel and tab completion. A piece of drafted code for the kernel (server) should look like this: |
|
23 | Since the necessity of a user to keep his data safe, the design is based in a 2-process model that will be achieved with a simple client/server system with `pyzmq <http://www.zeromq.org/bindings:python>`_, so the GUI session do not crash if the the kernel process does. This will be achieved using this test `code <http://github.com/fperez/pyzmq/blob/completer/examples/kernel/kernel.py>`_ and customizing it to the necessities of the GUI such as queue management with discrimination for different frontends connected to the same kernel and tab completion. A piece of drafted code for the kernel (server) should look like this:: | |
24 |
|
24 | |||
25 | def main(): |
|
25 | def main(): | |
26 | c = zmq.Context(1, 1) |
|
26 | c = zmq.Context(1, 1) |
General Comments 0
You need to be logged in to leave comments.
Login now