aqt.import_export.importing#
Attributes#
Classes#
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
Functions#
|
|
|
|
|
|
|
|
|
|
|
Module Contents#
- class aqt.import_export.importing.Importer#
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- accepted_file_endings: list[str]#
- classmethod can_import(lowercase_filename: str) bool#
- classmethod do_import(mw: aqt.main.AnkiQt, path: str) None#
- Abstractmethod:
- class aqt.import_export.importing.ColpkgImporter#
Bases:
ImporterHelper class that provides a standard way to create an ABC using inheritance.
- accepted_file_endings = ['.apkg', '.colpkg']#
- static can_import(filename: str) bool#
- static do_import(mw: aqt.main.AnkiQt, path: str) None#
- class aqt.import_export.importing.ApkgImporter#
Bases:
ImporterHelper class that provides a standard way to create an ABC using inheritance.
- accepted_file_endings = ['.apkg', '.zip']#
- static do_import(mw: aqt.main.AnkiQt, path: str) None#
- class aqt.import_export.importing.MnemosyneImporter#
Bases:
ImporterHelper class that provides a standard way to create an ABC using inheritance.
- accepted_file_endings = ['.db']#
- static do_import(mw: aqt.main.AnkiQt, path: str) None#
- class aqt.import_export.importing.CsvImporter#
Bases:
ImporterHelper class that provides a standard way to create an ABC using inheritance.
- accepted_file_endings = ['.csv', '.tsv', '.txt']#
- static do_import(mw: aqt.main.AnkiQt, path: str) None#
- class aqt.import_export.importing.JsonImporter#
Bases:
ImporterHelper class that provides a standard way to create an ABC using inheritance.
- accepted_file_endings = ['.anki-json']#
- static do_import(mw: aqt.main.AnkiQt, path: str) None#
- aqt.import_export.importing.legacy_file_endings(col: anki.collection.Collection) list[str]#
- aqt.import_export.importing.import_file(mw: aqt.main.AnkiQt, path: str) None#
- aqt.import_export.importing.prompt_for_file_then_import(mw: aqt.main.AnkiQt) None#
- aqt.import_export.importing.get_file_path(mw: aqt.main.AnkiQt) str | None#
- aqt.import_export.importing.all_accepted_file_endings(mw: aqt.main.AnkiQt) set[str]#
- aqt.import_export.importing.import_collection_package_op(mw: aqt.main.AnkiQt, path: str, success: aqt.qt.Callable[[], None]) aqt.operations.QueryOp[None]#
- aqt.import_export.importing.import_progress_update(progress: anki.collection.Progress, update: aqt.progress.ProgressUpdate) None#