id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
26,900
alternate_views.py
kovidgoyal_calibre/src/calibre/gui2/library/alternate_views.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' import itertools import math import operator import os import weakref from collections import namedtuple from functools import wraps from io import BytesIO from textwrap import wrap from threading import Event,...
58,000
Python
.py
1,268
34.547319
145
0.596508
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,901
views.py
kovidgoyal_calibre/src/calibre/gui2/library/views.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import itertools import operator from collections import OrderedDict from functools import partial from qt.core import ( QAbstractItemDelegate, QAbstractItemView, ...
79,644
Python
.py
1,619
37.332922
158
0.603885
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,902
match_books.py
kovidgoyal_calibre/src/calibre/gui2/actions/match_books.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.gui2 import error_dialog, question_dialog from calibre.gui2.actions import InterfaceAction from calibre.gui2.dialogs.match_books import MatchBooks class Match...
3,096
Python
.py
64
39.984375
114
0.640133
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,903
fetch_news.py
kovidgoyal_calibre/src/calibre/gui2/actions/fetch_news.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import gc from functools import partial from qt.core import Qt from calibre.gui2 import Dispatcher from calibre.gui2.actions import InterfaceAction from calibre.gui2.tools...
4,023
Python
.py
81
40.728395
131
0.648738
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,904
device.py
kovidgoyal_calibre/src/calibre/gui2/actions/device.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import QIcon, QMenu, QTimer, QToolButton, QUrl, pyqtSignal from calibre.gui2 import info_dialog, open_url, question_dialog from calibre.gui2.actions import Int...
13,424
Python
.py
263
39.764259
145
0.612827
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,905
choose_library.py
kovidgoyal_calibre/src/calibre/gui2/actions/choose_library.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os import posixpath import sys import weakref from contextlib import suppress from functools import lru_cache, partial from qt.core import ( QAction, QCoreApp...
33,994
Python
.py
739
34.845737
132
0.592871
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,906
help.py
kovidgoyal_calibre/src/calibre/gui2/actions/help.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import QUrl from calibre.gui2 import open_url from calibre.gui2.actions import InterfaceAction from calibre.utils.localization import localize_user_manual_link...
664
Python
.py
15
40.533333
88
0.71875
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,907
add_to_library.py
kovidgoyal_calibre/src/calibre/gui2/actions/add_to_library.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.gui2.actions import InterfaceAction class AddToLibraryAction(InterfaceAction): name = 'Add To Library' action_spec = (_('Add books to library'), 'add...
941
Python
.py
21
38.238095
84
0.666301
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,908
saved_searches.py
kovidgoyal_calibre/src/calibre/gui2/actions/saved_searches.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2022, Charles Haley # from qt.core import QMenu, QToolButton from calibre.gui2.actions import InterfaceAction, show_menu_under_widget class SavedSearchesAction(InterfaceAction): name = 'Saved searches' action_spec = (_('Saved searches'), 'folder_saved_searc...
2,038
Python
.py
41
41.073171
80
0.660292
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,909
mark_books.py
kovidgoyal_calibre/src/calibre/gui2/actions/mark_books.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' from functools import partial from qt.core import QApplication, QDialog, QDialogButtonBox, QEvent, QGridLayout, QIcon, QLabel, QMenu, QPushButton, Qt from calibre.gui2 import error_dialog from calibre.gui2.ac...
10,324
Python
.py
218
37.885321
137
0.62171
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,910
manage_categories.py
kovidgoyal_calibre/src/calibre/gui2/actions/manage_categories.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2022, Charles Haley # from qt.core import QMenu, QToolButton from calibre.gui2.actions import InterfaceAction, show_menu_under_widget class ManageCategoriesAction(InterfaceAction): name = 'Manage categories' action_spec = (_('Manage categories'), 'tags.png'...
2,107
Python
.py
42
41.52381
86
0.659854
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,911
toc_edit.py
kovidgoyal_calibre/src/calibre/gui2/actions/toc_edit.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os from collections import OrderedDict from itertools import count from qt.core import QCheckBox, QDialog, QDialogButtonBox, QGridLayout, QIcon, QLabel, QTimer f...
7,405
Python
.py
167
33.51497
140
0.571488
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,912
annotate.py
kovidgoyal_calibre/src/calibre/gui2/actions/annotate.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import QModelIndex, Qt, QThread, pyqtSignal from calibre.devices.usbms.device import Device from calibre.gui2 import error_dialog from calibre.gui2.actions im...
6,203
Python
.py
132
35.575758
90
0.593046
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,913
save_to_disk.py
kovidgoyal_calibre/src/calibre/gui2/actions/save_to_disk.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import numbers import os from functools import partial from calibre.gui2 import Dispatcher, choose_dir, error_dialog from calibre.gui2.actions import InterfaceAction from c...
5,641
Python
.py
115
37.93913
105
0.598402
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,914
polish.py
kovidgoyal_calibre/src/calibre/gui2/actions/polish.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os import shutil import textwrap import weakref from collections import OrderedDict from functools import partial from qt.core import ( QApplication, QChe...
23,372
Python
.py
505
34.942574
125
0.573502
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,915
show_stored_templates.py
kovidgoyal_calibre/src/calibre/gui2/actions/show_stored_templates.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2020, Charles Haley from calibre.gui2.actions import InterfaceAction from calibre.gui2.preferences.main import Preferences class ShowTemplateFunctionsAction(InterfaceAction): name = 'Template Functions' action_spec = (_('Template functions'), 'debug.png', No...
778
Python
.py
17
39.705882
83
0.704636
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,916
tweak_epub.py
kovidgoyal_calibre/src/calibre/gui2/actions/tweak_epub.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import time from qt.core import QCheckBox, QDialog, QDialogButtonBox, QLabel, Qt, QVBoxLayout from calibre.gui2 import error_dialog, question_dialog from calibre.gui2.acti...
6,081
Python
.py
123
38.715447
120
0.600101
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,917
embed.py
kovidgoyal_calibre/src/calibre/gui2/actions/embed.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2014, Kovid Goyal <kovid at kovidgoyal.net>' from functools import partial from qt.core import QProgressDialog, Qt, QTimer from calibre import force_unicode from calibre.gui2 import gprefs from calibre.gui2.actions import InterfaceActionWithLibraryDrop ...
4,605
Python
.py
99
35.787879
132
0.590292
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,918
sort.py
kovidgoyal_calibre/src/calibre/gui2/actions/sort.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' from contextlib import suppress from functools import partial from qt.core import ( QAbstractItemView, QAction, QDialog, QDialogButtonBox, QIcon, QListWidget, QListWidgetItem, Q...
7,731
Python
.py
171
35.479532
112
0.627409
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,919
plugin_updates.py
kovidgoyal_calibre/src/calibre/gui2/actions/plugin_updates.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2011, Grant Drake <grant.drake@gmail.com>' __docformat__ = 'restructuredtext en' from qt.core import QApplication, QIcon, Qt from calibre.gui2.actions import InterfaceAction from calibre.gui2.dialogs.plugin_updater import FILTER_ALL, FILTER_UPDATE_AVAI...
1,204
Python
.py
24
43.916667
104
0.715385
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,920
convert.py
kovidgoyal_calibre/src/calibre/gui2/actions/convert.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os from functools import partial from qt.core import QModelIndex from calibre.customize.ui import plugin_for_input_format, run_plugins_on_postconvert from calibre.g...
12,770
Python
.py
244
40.610656
141
0.603858
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,921
show_quickview.py
kovidgoyal_calibre/src/calibre/gui2/actions/show_quickview.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import QAction, QTimer from calibre.gui2 import error_dialog, gprefs from calibre.gui2.actions import InterfaceAction from calibre.gui2.dialogs.quickview impo...
7,673
Python
.py
162
37.308642
98
0.643431
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,922
layout_actions.py
kovidgoyal_calibre/src/calibre/gui2/actions/layout_actions.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2022, Charles Haley from enum import Enum from functools import partial from qt.core import QComboBox, QDialog, QDialogButtonBox, QFormLayout, QIcon, QLabel, QMenu, QToolButton, QVBoxLayout from calibre.gui2 import error_dialog, gprefs, question_dialog from calibre.g...
11,534
Python
.py
254
35.484252
117
0.614748
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,923
tag_mapper.py
kovidgoyal_calibre/src/calibre/gui2/actions/tag_mapper.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2015, Kovid Goyal <kovid at kovidgoyal.net> from qt.core import QDialog from calibre.gui2 import gprefs from calibre.gui2.actions import InterfaceAction from calibre.utils.localization import ngettext from polyglot.builtins import iteritems class TagMapAction(Interf...
2,727
Python
.py
53
41.622642
137
0.629032
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,924
delete.py
kovidgoyal_calibre/src/calibre/gui2/actions/delete.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from collections import Counter from functools import partial from qt.core import QDialog, QModelIndex, QObject, QTimer from calibre.constants import ismacos from calibre....
21,320
Python
.py
445
35.862921
156
0.575426
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,925
add.py
kovidgoyal_calibre/src/calibre/gui2/actions/add.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os from collections import defaultdict from functools import partial from qt.core import QApplication, QDialog, QPixmap, QTimer from calibre import as_unicode, gues...
32,216
Python
.py
649
37.112481
154
0.568603
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,926
__init__.py
kovidgoyal_calibre/src/calibre/gui2/actions/__init__.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from functools import partial from zipfile import ZipFile from qt.core import QAction, QIcon, QKeySequence, QMenu, QObject, QPoint, QTimer, QToolButton from calibre import...
19,347
Python
.py
398
38.628141
107
0.639807
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,927
next_match.py
kovidgoyal_calibre/src/calibre/gui2/actions/next_match.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.gui2.actions import InterfaceAction class NextMatchAction(InterfaceAction): name = 'Move to next highlighted book' action_spec = (_('Move to next matc...
1,664
Python
.py
36
38.138889
78
0.635745
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,928
similar_books.py
kovidgoyal_calibre/src/calibre/gui2/actions/similar_books.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import QToolButton from calibre.gui2.actions import InterfaceAction from calibre.startup import connect_lambda from calibre.utils.icu import lower as icu_lowe...
3,391
Python
.py
77
33.818182
116
0.578182
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,929
edit_collections.py
kovidgoyal_calibre/src/calibre/gui2/actions/edit_collections.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.gui2 import error_dialog from calibre.gui2.actions import InterfaceAction class EditCollectionsAction(InterfaceAction): name = 'Edit Collections' act...
1,394
Python
.py
30
38.9
160
0.658303
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,930
catalog.py
kovidgoyal_calibre/src/calibre/gui2/actions/catalog.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os import re import shutil from qt.core import QModelIndex from calibre import sanitize_file_name from calibre.gui2 import choose_dir, error_dialog, warning_dialog ...
4,372
Python
.py
87
39.356322
106
0.611905
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,931
copy_to_library.py
kovidgoyal_calibre/src/calibre/gui2/actions/copy_to_library.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os from collections import defaultdict from contextlib import closing from functools import partial from threading import Thread from qt.core import ( QAbstractI...
23,168
Python
.py
485
37.228866
131
0.610863
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,932
show_template_tester.py
kovidgoyal_calibre/src/calibre/gui2/actions/show_template_tester.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.gui2 import error_dialog from calibre.gui2.actions import InterfaceAction from calibre.gui2.dialogs.template_dialog import TemplateDialog class ShowTemplateTe...
3,117
Python
.py
67
35.731343
92
0.580316
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,933
browse_notes.py
kovidgoyal_calibre/src/calibre/gui2/actions/browse_notes.py
#!/usr/bin/env python # License: GPL v3 Copyright: 2020, Kovid Goyal <kovid at kovidgoyal.net> from calibre.gui2.actions import InterfaceAction class BrowseNotesAction(InterfaceAction): name = 'Browse Notes' action_spec = (_('Browse notes'), 'notes.png', _('Browse notes for authors, tags...
818
Python
.py
19
35.210526
95
0.646465
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,934
open.py
kovidgoyal_calibre/src/calibre/gui2/actions/open.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from functools import partial from calibre.gui2.actions import InterfaceAction class OpenFolderAction(InterfaceAction): name = 'Open Folder' action_spec = (_('Op...
1,131
Python
.py
24
39.958333
103
0.65847
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,935
author_mapper.py
kovidgoyal_calibre/src/calibre/gui2/actions/author_mapper.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2015, Kovid Goyal <kovid at kovidgoyal.net> from qt.core import QDialog from calibre.gui2 import gprefs from calibre.gui2.actions import InterfaceAction from calibre.utils.localization import ngettext from polyglot.builtins import iteritems class AuthorMapAction(In...
3,033
Python
.py
56
44
140
0.638814
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,936
unpack_book.py
kovidgoyal_calibre/src/calibre/gui2/actions/unpack_book.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os import shutil import weakref from qt.core import QDialog, QFrame, QGridLayout, QGroupBox, QHBoxLayout, QIcon, QLabel, QPushButton, QRadioButton, QSize, QTimer, QV...
11,792
Python
.py
275
32.603636
142
0.588871
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,937
browse_annots.py
kovidgoyal_calibre/src/calibre/gui2/actions/browse_annots.py
#!/usr/bin/env python # License: GPL v3 Copyright: 2020, Kovid Goyal <kovid at kovidgoyal.net> from qt.core import Qt from calibre.gui2 import error_dialog from calibre.gui2.actions import InterfaceAction class BrowseAnnotationsAction(InterfaceAction): name = 'Browse Annotations' action_spec = (_('Browse ...
2,140
Python
.py
41
43.390244
112
0.669223
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,938
edit_metadata.py
kovidgoyal_calibre/src/calibre/gui2/actions/edit_metadata.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import copy import os import shutil from contextlib import contextmanager from functools import partial from io import BytesIO from qt.core import QAction, QApplication, QD...
42,720
Python
.py
864
36.858796
131
0.577691
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,939
fts.py
kovidgoyal_calibre/src/calibre/gui2/actions/fts.py
#!/usr/bin/env python # License: GPL v3 Copyright: 2020, Kovid Goyal <kovid at kovidgoyal.net> from calibre.gui2.actions import InterfaceAction class FullTextSearchAction(InterfaceAction): name = 'Full Text Search' action_spec = (_('Search full text'), 'fts.png', _('Search the full text ...
1,225
Python
.py
30
32.866667
107
0.637975
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,940
booklist_context_menu.py
kovidgoyal_calibre/src/calibre/gui2/actions/booklist_context_menu.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2022, Charles Haley # from calibre.gui2.actions import InterfaceAction class BooklistContextMenuAction(InterfaceAction): name = 'Booklist context menu' action_spec = (_('Book list header menu'), 'context_menu.png', _('Show the book list he...
758
Python
.py
17
38.764706
75
0.700272
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,941
preferences.py
kovidgoyal_calibre/src/calibre/gui2/actions/preferences.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from functools import partial from qt.core import QIcon, Qt from calibre.constants import DEBUG, ismacos from calibre.customize.ui import preferences_plugins from calibre....
4,212
Python
.py
83
39.855422
106
0.62272
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,942
store.py
kovidgoyal_calibre/src/calibre/gui2/actions/store.py
__license__ = 'GPL 3' __copyright__ = '2011, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from functools import partial from qt.core import QIcon from calibre.gui2 import error_dialog from calibre.gui2.actions import InterfaceAction from calibre.gui2.dialogs.confirm_delete import confi...
5,883
Python
.py
127
36.362205
125
0.596895
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,943
view.py
kovidgoyal_calibre/src/calibre/gui2/actions/view.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import json import os import time from functools import partial from qt.core import QAction, QDialog, QIcon, pyqtSignal from calibre.constants import ismacos, iswindows fr...
17,082
Python
.py
351
35.897436
146
0.568987
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,944
show_book_details.py
kovidgoyal_calibre/src/calibre/gui2/actions/show_book_details.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import Qt, sip from calibre.gui2 import error_dialog from calibre.gui2.actions import InterfaceAction from calibre.gui2.dialogs.book_info import BookInfo, Dial...
4,035
Python
.py
87
36.229885
103
0.617086
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,945
restart.py
kovidgoyal_calibre/src/calibre/gui2/actions/restart.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.gui2.actions import InterfaceAction class RestartAction(InterfaceAction): name = 'Restart' action_spec = (_('Restart'), 'restart.png', _('Restart ca...
483
Python
.py
12
35.833333
79
0.692641
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,946
virtual_library.py
kovidgoyal_calibre/src/calibre/gui2/actions/virtual_library.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2018, Kovid Goyal <kovid at kovidgoyal.net> from qt.core import QAction, QToolButton from calibre.gui2.actions import InterfaceAction class VirtualLibraryAction(InterfaceAction): name = 'Virtual library' action_spec = ( _('Virtual library'), 'vl.png...
1,251
Python
.py
26
41.307692
89
0.686371
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,947
auto_scroll.py
kovidgoyal_calibre/src/calibre/gui2/actions/auto_scroll.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2015, Kovid Goyal <kovid at kovidgoyal.net> from calibre.gui2.actions import InterfaceAction class AutoscrollBooksAction(InterfaceAction): name = 'Autoscroll Books' action_spec = (_('Auto scroll through the book list'), 'auto-scroll.png', ...
774
Python
.py
15
45.133333
115
0.704787
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,948
all_actions.py
kovidgoyal_calibre/src/calibre/gui2/actions/all_actions.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2022, Charles Haley from functools import partial from math import ceil from qt.core import QIcon, QMenu, Qt, QToolButton from calibre.gui2.actions import InterfaceAction, show_menu_under_widget from calibre.gui2.preferences.toolbar import AllModel, CurrentModel from...
9,195
Python
.py
164
43.817073
149
0.60462
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,949
random.py
kovidgoyal_calibre/src/calibre/gui2/actions/random.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import random from calibre.gui2.actions import InterfaceAction class PickRandomAction(InterfaceAction): name = 'Pick Random Book' action_spec = (_('Pick a random...
1,405
Python
.py
39
27.769231
68
0.608118
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,950
fb2_input.py
kovidgoyal_calibre/src/calibre/gui2/convert/fb2_input.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.fb2_input_ui import Ui_Form class PluginWidget(Widget, Ui_Form): TITLE =...
704
Python
.py
15
42.666667
76
0.681287
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,951
txt_input.py
kovidgoyal_calibre/src/calibre/gui2/convert/txt_input.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from qt.core import QListWidgetItem, Qt from calibre.ebooks.conversion.config import OPTIONS from calibre.ebooks.conversion.plugins.txt_input import MD_EXTENSIONS from calibre.gui2.convert import W...
2,280
Python
.py
45
42.155556
142
0.653483
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,952
xpath_wizard.py
kovidgoyal_calibre/src/calibre/gui2/convert/xpath_wizard.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import QComboBox, QDialog, QDialogButtonBox, QHBoxLayout, QIcon, QLabel, QSize, Qt, QToolButton, QVBoxLayout, QWidget from calibre.gui2.convert.xpath_wizard_ui...
4,365
Python
.py
118
28.618644
130
0.618337
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,953
pml_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/pml_output.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.pmlz_output_ui import Ui_Form format_model = None class PluginWidget(Widget,...
738
Python
.py
16
42
76
0.689944
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,954
snb_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/snb_output.py
__license__ = 'GPL 3' __copyright__ = '2010, Li Fanxi <lifanxi@freemindworld.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.snb_output_ui import Ui_Form newline_model = None class PluginWidget(Widget,...
731
Python
.py
16
41.5625
76
0.686883
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,955
azw3_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/azw3_output.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.azw3_output_ui import Ui_Form font_family_model = No...
768
Python
.py
17
41
76
0.688259
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,956
bulk.py
kovidgoyal_calibre/src/calibre/gui2/convert/bulk.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' import shutil from qt.core import QDialog, QDialogButtonBox, QModelIndex from calibre.ebooks.conversion.config import get_output_formats, sort_formats_by_preference from calibre.ebooks.conversion....
5,807
Python
.py
119
39.781513
121
0.675962
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,957
page_setup.py
kovidgoyal_calibre/src/calibre/gui2/convert/page_setup.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import QAbstractListModel, QItemSelectionModel, QModelIndex, Qt from calibre.customize.ui import input_profiles, output_profiles from calibre.ebooks.conversion...
3,470
Python
.py
74
37.689189
82
0.632218
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,958
pdf_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/pdf_output.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from qt.core import QCheckBox, QDoubleSpinBox, QFormLayout, QHBoxLayout, QVBoxLayout from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2....
2,902
Python
.py
57
43
115
0.663017
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,959
rtf_input.py
kovidgoyal_calibre/src/calibre/gui2/convert/rtf_input.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.rtf_input_ui import Ui_Form class PluginWidget(Widget, Ui_Form): TITLE = _('RTF inpu...
648
Python
.py
14
42.214286
76
0.6874
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,960
gui_conversion.py
kovidgoyal_calibre/src/calibre/gui2/convert/gui_conversion.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' import os from optparse import OptionParser from calibre.customize.conversion import DummyReporter, OptionRecommendation from calibre.customize.ui import plugin_for_catalog_format from calibre.eboo...
3,026
Python
.py
63
42.095238
92
0.724898
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,961
txtz_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/txtz_output.py
__license__ = 'GPL 3' __copyright__ = '2011, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.gui2.convert.txt_output import PluginWidget as TXTPluginWidget class PluginWidget(TXTPluginWidget): TITLE = _('TXTZ output') HELP = _('Options specific to')+' TXTZ '+_('outp...
357
Python
.py
8
41.5
75
0.712209
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,962
toc.py
kovidgoyal_calibre/src/calibre/gui2/convert/toc.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2 import error_dialog from calibre.gui2.convert import Widget from calibre.gui2.convert.toc_ui import U...
1,654
Python
.py
34
41.029412
87
0.639354
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,963
font_key.py
kovidgoyal_calibre/src/calibre/gui2/convert/font_key.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from qt.core import QDialog, QDialogButtonBox from calibre.gui2.convert.font_key_ui import Ui_Dialog from calibre.utils.localization import localize_user_manual_link clas...
3,633
Python
.py
86
33.465116
93
0.630743
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,964
docx_input.py
kovidgoyal_calibre/src/calibre/gui2/convert/docx_input.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.docx_input_ui import Ui_Form class PluginWidget(Widget, Ui_Form): TITLE = _('DOCX in...
654
Python
.py
14
42.642857
76
0.690363
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,965
metadata.py
kovidgoyal_calibre/src/calibre/gui2/convert/metadata.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os import re from qt.core import QApplication, QPixmap from calibre.ebooks.conversion.config import OPTIONS from calibre.ebooks.metadata import MetaInformation, str...
11,226
Python
.py
249
34.803213
120
0.597716
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,966
rb_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/rb_output.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.rb_output_ui import Ui_Form format_model = None class PluginWidget(Widget, U...
729
Python
.py
16
41.4375
76
0.685997
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,967
heuristics.py
kovidgoyal_calibre/src/calibre/gui2/convert/heuristics.py
__license__ = 'GPL 3' __copyright__ = '2011, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from qt.core import Qt from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2 import gprefs from calibre.gui2.convert import Widget from calibre.gui2.convert.heuristics_ui import Ui...
4,118
Python
.py
85
38.741176
127
0.638057
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,968
__init__.py
kovidgoyal_calibre/src/calibre/gui2/convert/__init__.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import codecs import importlib import textwrap from functools import partial from qt.core import ( QCheckBox, QComboBox, QDoubleSpinBox, QFont, QFontCom...
11,397
Python
.py
287
29.484321
119
0.599458
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,969
search_and_replace.py
kovidgoyal_calibre/src/calibre/gui2/convert/search_and_replace.py
__license__ = 'GPL 3' __copyright__ = '2011, John Schember <john@nachtimwald.com>, 2012 Eli Algranti <idea00@hotmail.com>' __docformat__ = 'restructuredtext en' import codecs import json from qt.core import Qt, QTableWidgetItem from calibre import as_unicode from calibre.ebooks.conversion.config import OPTIONS from ...
11,518
Python
.py
251
34.430279
105
0.59836
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,970
lrf_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/lrf_output.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.lrf_output_ui import Ui_Form font_family_model = None...
920
Python
.py
20
41.15
76
0.682379
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,971
fb2_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/fb2_output.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.fb2_output_ui import Ui_Form format_model = None class PluginWidget(Widget, ...
918
Python
.py
20
40.4
76
0.662556
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,972
docx_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/docx_output.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from qt.core import QCheckBox, QComboBox, QDoubleSpinBox, QFormLayout, QLineEdit, QSizePolicy from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget paper_siz...
2,176
Python
.py
38
49.921053
133
0.660874
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,973
regex_builder.py
kovidgoyal_calibre/src/calibre/gui2/convert/regex_builder.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2009, John Schember <john@nachtimwald.com> import os from contextlib import suppress from qt.core import QBrush, QDialog, QDialogButtonBox, Qt, QTextCursor, QTextEdit, pyqtSignal from calibre.constants import iswindows from calibre.ebooks.conversion.search_replace im...
10,082
Python
.py
239
31.041841
121
0.585792
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,974
single.py
kovidgoyal_calibre/src/calibre/gui2/convert/single.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2009, Kovid Goyal <kovid at kovidgoyal.net> import shutil from qt.core import ( QAbstractListModel, QCheckBox, QComboBox, QDialog, QDialogButtonBox, QFont, QFrame, QGridLayout, QHBoxLayout, QIcon, QLabel, QListView, ...
13,624
Python
.py
299
36.959866
113
0.682923
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,975
structure_detection.py
kovidgoyal_calibre/src/calibre/gui2/convert/structure_detection.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2 import error_dialog from calibre.gui2.convert import Widget from calibre.gui2.convert.structure_detect...
1,681
Python
.py
35
40.142857
78
0.637141
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,976
debug.py
kovidgoyal_calibre/src/calibre/gui2/convert/debug.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2 import choose_dir, error_dialog from calibre.gui2.convert import Widget from calibre.gui2.c...
1,748
Python
.py
43
31.232558
97
0.587021
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,977
pdb_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/pdb_output.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.pdb_output_ui import Ui_Form format_model = None class PluginWidget(Widget, ...
829
Python
.py
18
41.055556
76
0.678705
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,978
pdf_input.py
kovidgoyal_calibre/src/calibre/gui2/convert/pdf_input.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import QDoubleSpinBox, Widget from calibre.gui2.convert.pdf_input_ui import Ui_Form class PluginWidget(Widget, Ui_For...
1,554
Python
.py
33
39.69697
80
0.666446
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,979
comic_input.py
kovidgoyal_calibre/src/calibre/gui2/convert/comic_input.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.comic_input_ui import Ui_Form class PluginWidget(Wi...
921
Python
.py
20
40.65
76
0.673012
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,980
htmlz_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/htmlz_output.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.htmlz_output_ui import Ui_Form format_model = None class PluginWidget(Widget...
965
Python
.py
20
42.75
76
0.678381
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,981
look_and_feel.py
kovidgoyal_calibre/src/calibre/gui2/convert/look_and_feel.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import json from qt.core import QDialog, Qt from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.look_and...
5,129
Python
.py
107
36.672897
123
0.584465
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,982
epub_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/epub_output.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.epub_output_ui import Ui_Form class PluginWidget(Wi...
916
Python
.py
20
40.4
76
0.667793
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,983
txt_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/txt_output.py
__license__ = 'GPL 3' __copyright__ = '2009, John Schember <john@nachtimwald.com>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.txt_output_ui import Ui_Form class PluginWidget(Widget, Ui_Form): TITLE...
1,274
Python
.py
25
43.76
111
0.663446
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,984
mobi_output.py
kovidgoyal_calibre/src/calibre/gui2/convert/mobi_output.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.ebooks.conversion.config import OPTIONS from calibre.gui2.convert import Widget from calibre.gui2.convert.mobi_output_ui import Ui_Form font_family_model = No...
834
Python
.py
18
41.833333
76
0.679503
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,985
configwidget.py
kovidgoyal_calibre/src/calibre/gui2/device_drivers/configwidget.py
__license__ = 'GPL 3' __copyright__ = '2012, Kovid Goyal <kovid at kovidgoyal.net>' __docformat__ = 'restructuredtext en' import textwrap from qt.core import QCheckBox, QComboBox, QLabel, QLineEdit, QListWidgetItem, Qt, QWidget from calibre.ebooks import BOOK_EXTENSIONS from calibre.gui2 import error_dialog, questio...
7,850
Python
.py
152
36.875
113
0.575264
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,986
mtp_config.py
kovidgoyal_calibre/src/calibre/gui2/device_drivers/mtp_config.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2012, Kovid Goyal <kovid at kovidgoyal.net>' __docformat__ = 'restructuredtext en' import weakref from qt.core import ( QApplication, QComboBox, QDialog, QDialogButtonBox, QGridLayout, QGroupBox, QHBoxLayout, QIcon, ...
19,494
Python
.py
481
30.823285
113
0.589072
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,987
tabbed_device_config.py
kovidgoyal_calibre/src/calibre/gui2/device_drivers/tabbed_device_config.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2015, Kovid Goyal <kovid at kovidgoyal.net>' __docformat__ = 'restructuredtext en' import textwrap import weakref from qt.core import ( QCheckBox, QComboBox, QDialog, QDialogButtonBox, QGridLayout, QGroupBox, QLabel, QLin...
16,402
Python
.py
340
35.767647
136
0.596136
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,988
mtp_folder_browser.py
kovidgoyal_calibre/src/calibre/gui2/device_drivers/mtp_folder_browser.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2012, Kovid Goyal <kovid at kovidgoyal.net>' __docformat__ = 'restructuredtext en' from operator import attrgetter from qt.core import QDialog, QDialogButtonBox, QIcon, QLabel, QSize, Qt, QTabWidget, QTreeWidget, QTreeWidgetItem, QVBoxLayout, pyqtSigna...
8,379
Python
.py
202
32.633663
138
0.62978
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,989
edit_authors_dialog.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/edit_authors_dialog.py
#!/usr/bin/env python __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' from contextlib import contextmanager from functools import partial from qt.core import ( QAbstractItemView, QAction, QApplication, QDialog, QDialogButton...
27,194
Python
.py
552
38.369565
121
0.618839
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,990
match_books.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/match_books.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' from qt.core import QAbstractItemView, QApplication, QCursor, QDialog, Qt, QTableWidgetItem, QTimer from calibre.gui2 import error_dialog, gprefs from calibre.gui2.dialogs.m...
8,659
Python
.py
184
36.766304
99
0.630257
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,991
password.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/password.py
__license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>' import re from qt.core import QDialog, QLineEdit, Qt from calibre.gui2 import dynamic from calibre.gui2.dialogs.password_ui import Ui_Dialog class PasswordDialog(QDialog, Ui_Dialog): def __init__(self, window, name, msg): ...
1,430
Python
.py
36
32.083333
71
0.630513
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,992
comments_dialog.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/comments_dialog.py
#!/usr/bin/env python __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' from qt.core import QDialog, QDialogButtonBox, QHBoxLayout, QLabel, QPlainTextEdit, QSize, Qt, QVBoxLayout, pyqtSignal from calibre.gui2 import Application, gprefs from calib...
3,352
Python
.py
80
34.675
129
0.666667
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,993
show_category_note.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/show_category_note.py
#!/usr/bin/env python # License: GPLv3 Copyright: 2023, Kovid Goyal <kovid at kovidgoyal.net> import os from qt.core import QApplication, QByteArray, QDialog, QDialogButtonBox, QIcon, QLabel, QMimeData, QSize, Qt, QTextDocument, QUrl, QVBoxLayout from calibre import prepare_string_for_xml from calibre.db.constants i...
6,077
Python
.py
128
38.804688
142
0.627891
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,994
confirm_merge.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/confirm_merge.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2015, Kovid Goyal <kovid at kovidgoyal.net>' from typing import NamedTuple from qt.core import QCheckBox, QDialog, QDialogButtonBox, QLabel, QSplitter, Qt, QTextBrowser, QVBoxLayout, QWidget from calibre.ebooks.metadata import authors_to_string from cal...
9,397
Python
.py
194
39.654639
159
0.621551
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,995
choose_library.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/choose_library.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import errno import os from threading import Event, Thread from qt.core import QDialog, Qt, QTimer, pyqtSignal from calibre import force_unicode, isbytestring, patheq from...
7,933
Python
.py
169
34.692308
128
0.581804
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,996
choose_format_device.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/choose_format_device.py
__license__ = 'GPL v3' __copyright__ = '2011, John Schember <john@nachtimwald.com>' from qt.core import QDialog, QIcon, QModelIndex, QTreeWidgetItem from calibre.gui2 import file_icon_provider from calibre.gui2.dialogs.choose_format_device_ui import Ui_ChooseFormatDeviceDialog class ChooseFormatDeviceDialog(QDial...
2,039
Python
.py
43
37.930233
88
0.651233
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,997
smartdevice.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/smartdevice.py
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>' from qt.core import QDialog, QLineEdit, Qt from calibre.gui2 import error_dialog from calibre.gui2.dialogs.smartdevice_ui import Ui_Dialog from calibre.utils.mdns import get_all_ips from polyglot.builtins imp...
6,304
Python
.py
116
41.482759
107
0.594186
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,998
multisort.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/multisort.py
#!/usr/bin/env python # License: GPL v3 Copyright: 2021, Kovid Goyal <kovid at kovidgoyal.net> from qt.core import QAbstractItemView, QDialogButtonBox, QInputDialog, QLabel, QListWidget, QListWidgetItem, QMenu, QSize, Qt, QVBoxLayout from calibre import prepare_string_for_xml from calibre.gui2 import error_dialog fr...
7,860
Python
.py
179
34.558659
138
0.620848
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)
26,999
check_library.py
kovidgoyal_calibre/src/calibre/gui2/dialogs/check_library.py
#!/usr/bin/env python __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' import os import weakref from threading import Thread from qt.core import ( QApplication, QCheckBox, QCursor, QDialog, QDialogButtonBox, QGridLayout, ...
23,392
Python
.py
500
35.776
139
0.605539
kovidgoyal/calibre
19,243
2,250
4
GPL-3.0
9/5/2024, 5:13:50 PM (Europe/Amsterdam)