Known subclasses: ade.examples.data.TimeData

Run setup on an instance of me to decompress and load the CSV file identified by my subclass's basename.

The CSV file isn't included in the ade package and will automatically be downloaded from edsuom.com. Here's the privacy policy for my site (it's short, as all good privacy policies should be)::

   Privacy policy: I don’t sniff out, track, or share anything
   identifying individual visitors to this site. There are no
   cookies or anything in place to let me see where you go on the
   Internetthat’s creepy. All I get (like anyone else with a web
   server), is plain vanilla server logs with “referral” info
   about which web page sent you to this one.
Class Variable basename The base name of a CSV file (not including any extension)
Class Variable ranges Your subclass may set this to a list of 2-tuples that each define an acceptable range of row indices to include from the CSV file. (The first row index is zero, and the last row index is None.) An empty list (the default) includes all rows.
Instance Variable csvPath Path to the bzip2-compressed CSV file.
Method load Opens the CSV file at the csv file for my subclass's baseName and assembles a list of lists of comma-separated field values from the non-comment lines.
Method includeRow You may override this to implement filtering of rows. If the row should be included, return True.
Method setup Override this in your sublcass to have me set myself up. Must return a Deferred that fires when the CSV file has been loaded and fully parsed.

Inherited from Picklable:

Method __getstate__ Undocumented
Method __setstate__ Undocumented
basename =
The base name of a CSV file (not including any extension)
ranges =
Your subclass may set this to a list of 2-tuples that each define an acceptable range of row indices to include from the CSV file. (The first row index is zero, and the last row index is None.) An empty list (the default) includes all rows.
csvPath =
Path to the bzip2-compressed CSV file.
@defer.inlineCallbacks
def load(self):

Opens the CSV file at the csv file for my subclass's baseName and assembles a list of lists of comma-separated field values from the non-comment lines.

Each value in each list is a string.

Returns a Deferred that fires with the list.

def includeRow(self, row):

You may override this to implement filtering of rows. If the row should be included, return True.

def setup(self):

Override this in your sublcass to have me set myself up. Must return a Deferred that fires when the CSV file has been loaded and fully parsed.

API Documentation for ade, generated by pydoctor at 2021-09-18 08:41:05.