Skip to content

Non-file-based (in-memory/streaming) usage? #213

Description

@frankier

This issue is part of my JOSS review. However it goes a bit beyond the remit, so feel free to treat this issue especially as "take it or leave it".

The high level/documented API of this module has an interface with a fixed pipeline where most of the "payload data" is deserialised/serialised to files. This interface may be convenient for some workflows, but other users may have their own workflows or may already have their data in a particular format, and might want to put it into the correct format "in memory" either as a single chunk or as multiple chunks using a generator.

While it is the case that ndl can already take a generator rather than an events files, it simply serialises the generator and reloads it. It would be nice to restructure things so there are two strata:

  • File based api, which is implemented in terms of
  • Generator/in-memory API

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions