aqt.import_export.exporting

Contents

aqt.import_export.exporting#

Classes#

ExportDialog

ExportOptions

Exporter

Helper class that provides a standard way to create an ABC using

ColpkgExporter

Helper class that provides a standard way to create an ABC using

ApkgExporter

Helper class that provides a standard way to create an ABC using

NoteCsvExporter

Helper class that provides a standard way to create an ABC using

CardCsvExporter

Helper class that provides a standard way to create an ABC using

Functions#

Module Contents#

class aqt.import_export.exporting.ExportDialog(mw: aqt.main.AnkiQt, did: anki.decks.DeckId | None = None, nids: collections.abc.Sequence[anki.notes.NoteId] | None = None, parent: QWidget | None = None)#

Bases: QDialog

mw#
col#
frm#
exporter: Exporter#
nids = None#
setup(did: anki.decks.DeckId | None) None#
exporter_changed(idx: int) None#
accept() None#
get_out_path() str | None#
options(out_path: str) ExportOptions#
current_deck_id() anki.decks.DeckId | None#
current_deck() anki.decks.DeckNameId | None#
filename() str#
class aqt.import_export.exporting.ExportOptions#
out_path: str#
include_scheduling: bool#
include_deck_configs: bool#
include_media: bool#
include_tags: bool#
include_html: bool#
include_deck: bool#
include_notetype: bool#
include_guid: bool#
legacy_support: bool#
limit: anki.collection.ExportLimit#
class aqt.import_export.exporting.Exporter#

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

extension: str#
show_deck_list = False#
show_include_scheduling = False#
show_include_deck_configs = False#
show_include_media = False#
show_include_tags = False#
show_include_html = False#
show_legacy_support = False#
show_include_deck = False#
show_include_notetype = False#
show_include_guid = False#
abstractmethod export(mw: aqt.main.AnkiQt, options: ExportOptions) None#
static name() str#
Abstractmethod:

class aqt.import_export.exporting.ColpkgExporter#

Bases: Exporter

Helper class that provides a standard way to create an ABC using inheritance.

extension = 'colpkg'#
show_include_media = True#
show_legacy_support = True#
static name() str#
export(mw: aqt.main.AnkiQt, options: ExportOptions) None#
class aqt.import_export.exporting.ApkgExporter#

Bases: Exporter

Helper class that provides a standard way to create an ABC using inheritance.

extension = 'apkg'#
show_deck_list = True#
show_include_scheduling = True#
show_include_deck_configs = True#
show_include_media = True#
show_legacy_support = True#
static name() str#
export(mw: aqt.main.AnkiQt, options: ExportOptions) None#
class aqt.import_export.exporting.NoteCsvExporter#

Bases: Exporter

Helper class that provides a standard way to create an ABC using inheritance.

extension = 'txt'#
show_deck_list = True#
show_include_html = True#
show_include_tags = True#
show_include_deck = True#
show_include_notetype = True#
show_include_guid = True#
static name() str#
export(mw: aqt.main.AnkiQt, options: ExportOptions) None#
class aqt.import_export.exporting.CardCsvExporter#

Bases: Exporter

Helper class that provides a standard way to create an ABC using inheritance.

extension = 'txt'#
show_deck_list = True#
show_include_html = True#
static name() str#
export(mw: aqt.main.AnkiQt, options: ExportOptions) None#
aqt.import_export.exporting.export_progress_update(progress: anki.collection.Progress, update: aqt.progress.ProgressUpdate) None#