ports/devel/py-foolscap/pkg-descr
Dmitry Marakasov c637402081 Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
2018-04-25 16:42:37 +00:00

18 lines
986 B
Text

Foolscap is an RPC/RMI (Remote Procedure Call / Remote Method Invocation)
protocol for use with Twisted, derived/inspired by Twisted's built-in
"Perspective Broker" package.
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.
WWW: https://pypi.org/project/foolscap/