Index of sqlobject.util.csvimport module

#

# Index of the `csvimport` module

- m `sqlobject.util.csvimport` ... - Import from a CSV file or directory of files.
  - a `__package__` ...
  - f `create_data` ... - Create the `data`, which is the return value from `load_csv()`. Classes will be resolved with the callable `class_getter`; or if `class_getter` is a module then the class names will be attributes of that.
  - f `load_csv` ... - Loads the CSV file, returning a list of dictionaries with types coerced.
  - f `load_csv_from_directory` ... - Load the data from all the files in a directory. Filenames indicate the class, with `general.csv` for data not associated with a class. Return data just like `load_csv` does.