BSD Ports

net/py-foolscap 24.9.0 NetBSD

RPC protocol for Twisted

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
net, python
Package size
608.7 KiB, 4603.3 KiB installed

Description

This 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.

In the other systems

SystemPortVersion
NetBSDnet/py-foolscap24.9.0
DragonFlydevel/py-foolscap23.3.0_1

Install

Binary package:

pkgin install py311-foolscap

From pkgsrc:

cd /usr/pkgsrc/net/py-foolscap && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6424.9.0
NetBSD 10.1 aarch6424.9.0
SmartOS / illumos x86_6424.9.0
macOS 15 arm6424.9.0

Dependencies

Run dependencies 5
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-foolscap-24.9.0, py313-foolscap-24.9.0, py314-foolscap-24.9.0