Packet Interface
-
Packets provide a way of modeling data inside the network of components you create with the Pypes Visual Design Studio. Packets are modeled in JSON because it’s a standard, efficient representation that works well with Python.
-
-
-
Writing custom components is really about understand how to work with packets. Your component will receive packets on its input port/s and will be expected to place packets on its output port/s. The logic the component provides will ultimately operate on each packet using the provided API. I think that most will find the API to be intuitive, flexible, and easy to work with.
-
Get
-
-
-
Set
-
-
-
Print
-
-
-
Add
-
-
-
GetValue
-
-
-
Delete
-
-
-
Has
-
-
-
HasValue
-
-
-
GetAttributeNames
-
-
-
SetMeta
-
-
-
GetMeta
-
-
-
GetMetaValue
-
-
-
GetMetas
-
-
-
HasMeta
-
-
-
IsMultiValued
-
-
-
Append
-
-
-
Clone
-
-
-
Merge
-
-
__iter__
-