__init__.py 751 B

12345678910111213141516
  1. # Copyright 2016 by MPI-SWS and Data-Ken Research.
  2. # Licensed under the Apache 2.0 License.
  3. """
  4. *Adapters* are components that connect ThingFlows to the external
  5. world. *Readers* are event output things which source an event stream
  6. into an ThingFlow process. *Writers* are input things that
  7. translate an event stream to a form used outside of the ThingFlow
  8. process. For example, `CsvReader` is a output thing that reads
  9. events from a CSV-formatted spreadsheet file and `CsvWriter`
  10. is an input thing that writes events to a CSV file.
  11. Why don't we just call adapters OutputThings and InputThings? We
  12. want to avoid confusion do to the fact that an OutputThing is used to connect
  13. to external inputs while external outputs interface via InputThings.
  14. """