Difference between revisions of "Summer2009:Using client server paradigm with python and slicer"
From NAMIC Wiki
(Created page with '__NOTOC__ <gallery> Image:PW2009-v3.png|Project Week Main Page </gallery> ==Key Investigators== * BWH: Julien de Siebenthal, Sylvain Bouix <div st...') |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<gallery> | <gallery> | ||
− | Image:PW2009-v3.png|[[2009_Summer_Project_Week|Project Week Main Page]] | + | Image:PW2009-v3.png|[[2009_Summer_Project_Week#Projects|Project Week Main Page]] |
</gallery> | </gallery> | ||
Line 27: | Line 27: | ||
<h3>Progress</h3> | <h3>Progress</h3> | ||
− | + | * Achieved software for enabling a client-server python. It uses basic socket mechanism for that purpose and was tested successfully. It mimics CLI modules written in C++. | |
+ | * Enhanced options (client side) to setup the module | ||
+ | * Study possibility of using Pyro (RPC) to replace socket library | ||
+ | * Reflect on how to improve the slicer daemon mechanism - would be nice to have a RPC-like mechanism integrated in Slicer for python development (Pyro?) | ||
+ | |||
</div> | </div> |
Latest revision as of 15:06, 27 June 2009
Home < Summer2009:Using client server paradigm with python and slicer
Key Investigators
- BWH: Julien de Siebenthal, Sylvain Bouix
Objective
We are interested to run intensive tasks from the Slicer python directly.
Approach, Plan
Our approach is to defer intensive computational task into another process communicating remotely with the Slicer process.
During the summer week, we will discuss improvements on the current implementation and possibly other approaches that could complement ours.
Progress
- Achieved software for enabling a client-server python. It uses basic socket mechanism for that purpose and was tested successfully. It mimics CLI modules written in C++.
- Enhanced options (client side) to setup the module
- Study possibility of using Pyro (RPC) to replace socket library
- Reflect on how to improve the slicer daemon mechanism - would be nice to have a RPC-like mechanism integrated in Slicer for python development (Pyro?)