Packet Interface

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



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


  1. Get



  2. Set



  3. Print



  4. Add



  5. GetValue



  6. Delete



  7. Has



  8. HasValue



  9. GetAttributeNames



  10. SetMeta



  11. GetMeta



  12. GetMetaValue



  13. GetMetas



  14. HasMeta



  15. IsMultiValued



  16. Append



  17. Clone



  18. Merge



  1. __iter__


 

Copyright © 2009. All rights reserved.