sqlite_extractor

SQLite Extractor base for conversion from internal SQLite format.

class graphnet.data.extractors.internal.sqlite_extractor.SQLiteExtractor(extractor_name)[source]

Bases: Extractor

Base class for extracting information from GraphNeT SQLite databases.

Concrete implementations should implement the __call__ method to query the provided SQLite connection and return a pandas DataFrame.

Construct SQLiteExtractor.

Parameters:

extractor_name (str) – Name of the SQLiteExtractor instance. Used to keep track of the provenance of different data, and to name tables to which this data is saved.