Package Camelot :: Package camelot :: Package view :: Package wizard :: Module importwizard
[frames] | no frames]

Module importwizard

source code

Module for managing imports
Classes
  RowData
Class representing the data in a single row of the imported file as an object with attributes column_1, column_2, ..., each representing the data in a single column of that row.
  UTF8Recoder
Iterator that reads an encoded stream and reencodes the input to UTF-8.
  UnicodeReader
A CSV reader which will iterate over lines in the CSV file "f", which is encoded in the given encoding.
  CsvCollectionGetter
class that when called returns the data in filename as a list of RowData objects
  RowDataAdminDecorator
Decorator that transforms the Admin of the class to be imported to an Admin of the RowData objects to be used when previewing and validating the data to be imported.
  DataPreviewPage
DataPreviewPage is the previewing page for the import wizard
  FinalPage
FinalPage is the final page in the import process
  DataPreviewCollectionProxy
  ImportWizard
ImportWizard provides a two-step wizard for importing data as objects into Camelot. To create a custom wizard, subclass this ImportWizard and overwrite its class attributes.
Variables
  logger = logging.getLogger('camelot.view.wizard.importwizard')
  __package__ = 'Camelot.camelot.view.wizard'