Index of sqlobject.util module

#

# Index of the `util` module

- m `sqlobject.util` ...
  - a `__package__` ...
  - m `threadinglocal` ...
    - a `__package__` ...
  - m `csvexport` ... - Exports a SQLObject class (possibly annotated) to a CSV file.
    - a `__package__` ...
    - f `export_csv` ... - Export the SQLObject class `soClass` to a CSV file.
    - f `export_csv_zip` ... - Export several SQLObject classes into a .zip file. Each item in the `soClasses` list may be a SQLObject class, select result, or `(soClass, select)` tuple.
  - m `moduleloader` ...
    - a `__package__` ...
    - f `load_module` ...
    - f `load_module_from_name` ...
  - m `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.