Python远程方法调用 RPyC
openkk
13年前
<p>rpyc (Remote Python Call)为分布式计算环境提供了优良的基础平台。 使用rpyc编写c/s结构程序,完全不用考虑老式的socket编程,现在只用编写简单的3、5行代码即可完成以前的数千行代码的功能。</p> <p>Remote Python Call (RPyC) 是一个 Python 的库用来实现 RPC 和分布式计算的工具。支持同步和异步操作、回调和远程服务以及透明的对象代理。</p> <div id="features" class="section"> <h2>功能特性:</h2> <ul class="simple"> <li><strong>透明</strong>- 访问远程对象就像本地一样。现在有的代码能够无缝兼容本地和远程对象。</li> <li><strong>对称</strong>- the protocol itself is completely symmetric, meaning both client and server can serve requests. This allows, among other things, for the server to invoke <a class="reference external" href="/misc/goto?guid=4959500033188286197">callbacks</a> on the client side.</li> <li><strong>支持同步和异步操作</strong></li> <li><strong>平台无关</strong> - 32/64 bit, little/big endian, Windows/Linux/Solaris/Mac... access objects across different architectures.</li> <li><strong>低开销</strong> - RpyC takes an <em>all-in-one</em> approach, using a compact binary protocol, and requiring no complex setup (name servers, HTTP, URL-mapping, etc.)</li> <li><strong>安全</strong> - employs a <a class="reference external" href="/misc/goto?guid=4959500033279960430">Capability based</a> security model</li> <li><strong>能够与</strong><a class="reference external" href="/misc/goto?guid=4959500033364676895">TLS/SSL</a>,<a class="reference external" href="/misc/goto?guid=4958533240603597784">SSH</a> 和 <a class="reference external" href="/misc/goto?guid=4959500033674154488">inetd</a>集成使用</li> </ul> </div> <p><img alt="Python远程方法调用 RPyC" src="https://simg.open-open.com/show/2144fda9466c52e0df1922cd3c8e320d.png" width="538" height="480" /><br /> <br /> </p> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1325147784124" target="_blank">http://www.open-open.com/lib/view/home/1325147784124</a></p>