Path to this page:
./
net/py-foolscap,
Foolscap contains an RPC protocol for Twisted
Branch: pkgsrc-2011Q3,
Version: 0.6.1,
Package name: py26-foolscap-0.6.1,
Maintainer: kamel.derouicheThis is a ground-up rewrite of Perspective Broker, which itself is Twisted's
native RPC/RMI protocol (Remote Procedure Call / Remote Method Invocation).
If you have control of both ends of the wire, and are thus not constrained to
use some other protocol like HTTP/XMLRPC/CORBA/etc, you might consider using
Foolscap.
Fundamentally, Foolscap allows you to make a python object in one process
available to code in other processes, which means you can invoke its methods
remotely. This includes a data serialization layer to convey the object
graphs for the arguments and the eventual response, and an object reference
system to keep track of which objects you are connecting to. It uses a
capability-based security model, such that once you create a non-public
object, it is only accessible to clients to whom you've given the
(unguessable) FURL. You can of course publish world-visible objects that
have well-known FURLs.
Required to run:[
lang/python26] [
devel/py-ZopeInterface] [
devel/py-setuptools] [
net/py-twisted]
Master sites:
SHA1: bb1a9de492a007abbf9c355e07b3b79c4fa0319e
RMD160: 5b296e6f0e5500e5121c4c468663127a4def1673
Filesize: 475.389 KB
Version history: (Expand)
- (2011-10-04) Package added to pkgsrc.se, version py26-foolscap-0.6.1 (created)