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
38,700
websettings.py
qutebrowser_qutebrowser/qutebrowser/config/websettings.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Bridge from QWeb(Engine)Settings to our own settings.""" import re import argparse import functools import dataclasses from typing import Any, Optional, Union from collections.abc import Cal...
9,278
Python
.py
213
35.239437
87
0.659936
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,701
configinit.py
qutebrowser_qutebrowser/qutebrowser/config/configinit.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Initialization of the configuration.""" import argparse import os.path import sys from typing import Optional from qutebrowser.qt.widgets import QMessageBox from qutebrowser.api import con...
4,730
Python
.py
103
37.23301
88
0.670949
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,702
configexc.py
qutebrowser_qutebrowser/qutebrowser/config/configexc.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Exceptions related to config parsing.""" import difflib import dataclasses from typing import Any, Optional, Union from collections.abc import Mapping, Sequence from qutebrowser.utils impor...
5,146
Python
.py
122
32.057377
78
0.571802
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,703
configtypes.py
qutebrowser_qutebrowser/qutebrowser/config/configtypes.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Types for options in qutebrowser's configuration. Those types are used in configdata.yml as type of a setting. Most of them are pretty generic, but some of them are e.g. specific String sub...
64,610
Python
.py
1,586
30.385876
99
0.579013
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,704
qtargs.py
qutebrowser_qutebrowser/qutebrowser/config/qtargs.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Get arguments to pass to Qt.""" import os import sys import argparse import pathlib # Using deprecated typing.Callable as a WORKAROUND because # collections.abc.Callable inside Optional[...]...
15,369
Python
.py
344
37.290698
143
0.662701
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,705
eventfilter.py
qutebrowser_qutebrowser/qutebrowser/keyinput/eventfilter.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Global Qt event filter which dispatches key events.""" from typing import cast, Optional from qutebrowser.qt.core import pyqtSlot, QObject, QEvent, qVersion from qutebrowser.qt.gui import Q...
4,193
Python
.py
99
32.737374
83
0.623156
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,706
modeparsers.py
qutebrowser_qutebrowser/qutebrowser/keyinput/modeparsers.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """KeyChainParser for "hint" and "normal" modes. Module attributes: STARTCHARS: Possible chars for starting a commandline input. """ import traceback import enum from typing import TYPE_CH...
12,056
Python
.py
247
36.62753
79
0.605684
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,707
keyutils.py
qutebrowser_qutebrowser/qutebrowser/keyinput/keyutils.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Our own QKeySequence-like class and related utilities. Note that Qt's type safety (or rather, lack thereof) is somewhat scary when it comes to keys/modifiers. Many places (such as QKeyEvent:...
26,066
Python
.py
604
34.900662
112
0.629977
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,708
__init__.py
qutebrowser_qutebrowser/qutebrowser/keyinput/__init__.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Modules related to keyboard input and mode handling."""
185
Python
.py
4
45
78
0.777778
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,709
modeman.py
qutebrowser_qutebrowser/qutebrowser/keyinput/modeman.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Mode manager (per window) which handles the current keyboard mode.""" import functools import dataclasses from typing import Union, cast from collections.abc import Mapping, MutableMapping, ...
17,430
Python
.py
386
33.458549
93
0.602158
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,710
basekeyparser.py
qutebrowser_qutebrowser/qutebrowser/keyinput/basekeyparser.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Base class for vim-like key sequence parser.""" import string import types import dataclasses import traceback from typing import Optional from collections.abc import Mapping, MutableMapping...
13,983
Python
.py
303
34.726073
89
0.603409
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,711
macros.py
qutebrowser_qutebrowser/qutebrowser/keyinput/macros.py
# SPDX-FileCopyrightText: Jan Verbeek (blyxxyz) <ring@openmailbox.org> # SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Keyboard macro system.""" from typing import cast, Optional from qutebrowser.commands import runners from qutebrowser....
4,049
Python
.py
87
37.528736
83
0.635025
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,712
error.py
qutebrowser_qutebrowser/qutebrowser/utils/error.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Tools related to error printing/displaying.""" from qutebrowser.qt.widgets import QMessageBox from qutebrowser.utils import log, utils def _get_name(exc: BaseException) -> str: """Get...
2,030
Python
.py
50
31.74
78
0.596144
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,713
message.py
qutebrowser_qutebrowser/qutebrowser/utils/message.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # Because every method needs to have a log_stack argument # and because we use *args a lot # pylint: disable=unused-argument,differing-param-doc """Message singleton so we don't have to define ...
9,142
Python
.py
232
31.331897
78
0.641333
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,714
resources.py
qutebrowser_qutebrowser/qutebrowser/utils/resources.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Resources related utilities.""" import os.path import sys import contextlib import posixpath import pathlib import importlib.resources from typing import Union from collections.abc import It...
3,443
Python
.py
94
31.06383
84
0.677108
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,715
urlmatch.py
qutebrowser_qutebrowser/qutebrowser/utils/urlmatch.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """A Chromium-like URL matching pattern. See: https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns https://cs.chromium.org/chromium/src/extensions/common/url_pattern.cc ...
11,028
Python
.py
250
34.388
89
0.600989
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,716
standarddir.py
qutebrowser_qutebrowser/qutebrowser/utils/standarddir.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities to get and initialize data/config paths.""" import os import os.path import sys import contextlib import enum import argparse import tempfile from typing import Optional from colle...
12,090
Python
.py
286
34.982517
109
0.669083
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,717
qtutils.py
qutebrowser_qutebrowser/qutebrowser/utils/qtutils.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Misc. utilities related to Qt. Module attributes: MAXVALS: A dictionary of C/Qt types (as string) mapped to their maximum value. MINVALS: A dictionary of C/Qt types (as ...
22,796
Python
.py
594
30.681818
91
0.622953
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,718
objreg.py
qutebrowser_qutebrowser/qutebrowser/utils/objreg.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """The global object registry and related utility functions.""" import collections import functools from typing import (TYPE_CHECKING, Any, Optional, Union) from collection...
11,885
Python
.py
288
32.895833
79
0.623926
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,719
docutils.py
qutebrowser_qutebrowser/qutebrowser/utils/docutils.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities used for the documentation and built-in help.""" import re import sys import inspect import os.path import collections import enum from typing import Any, Optional, Union from coll...
5,980
Python
.py
143
32.79021
78
0.598451
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,720
jinja.py
qutebrowser_qutebrowser/qutebrowser/utils/jinja.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities related to jinja2.""" import os import os.path import posixpath import functools import contextlib import html from typing import Any from collections.abc import Iterator, Callable...
5,048
Python
.py
129
31.829457
79
0.646204
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,721
utils.py
qutebrowser_qutebrowser/qutebrowser/utils/utils.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Other utilities which don't fit anywhere else.""" import os import os.path import io import re import sys import enum import json import fnmatch import datetime import traceback import funct...
27,342
Python
.py
688
32.447674
88
0.627292
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,722
__init__.py
qutebrowser_qutebrowser/qutebrowser/utils/__init__.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Misc utility functions."""
156
Python
.py
4
37.75
78
0.768212
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,723
log.py
qutebrowser_qutebrowser/qutebrowser/utils/log.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Loggers and utilities related to logging.""" import os import sys import html as pyhtml import logging import contextlib import collections import copy import warnings import json import ins...
20,959
Python
.py
515
32.920388
87
0.636046
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,724
javascript.py
qutebrowser_qutebrowser/qutebrowser/utils/javascript.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities related to javascript interaction.""" from typing import Union from collections.abc import Sequence _InnerJsArgType = Union[None, str, bool, int, float] _JsArgType = Union[_InnerJ...
2,641
Python
.py
60
38.183333
78
0.627482
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,725
debug.py
qutebrowser_qutebrowser/qutebrowser/utils/debug.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities used for debugging.""" import re import enum import inspect import logging import functools import datetime import types from typing import ( Any, Optional, Union) from collect...
12,420
Python
.py
307
32.570033
103
0.617232
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,726
urlutils.py
qutebrowser_qutebrowser/qutebrowser/utils/urlutils.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utils regarding URL handling.""" import re import base64 import os.path import ipaddress import posixpath import urllib.parse import mimetypes from typing import Optional, Union, cast from c...
21,956
Python
.py
558
31.921147
86
0.641771
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,727
qtlog.py
qutebrowser_qutebrowser/qutebrowser/utils/qtlog.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Loggers and utilities related to Qt logging.""" import argparse import contextlib import faulthandler import logging import sys import traceback from typing import Optional from collections....
8,240
Python
.py
187
36.347594
83
0.657777
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,728
version.py
qutebrowser_qutebrowser/qutebrowser/utils/version.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities to show various version information.""" import re import sys import glob import os.path import platform import subprocess import importlib import pathlib import configparser import...
41,127
Python
.py
950
34.8
115
0.61036
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,729
usertypes.py
qutebrowser_qutebrowser/qutebrowser/utils/usertypes.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Custom useful data types.""" import html import operator import enum import time import dataclasses import logging from typing import Optional, TypeVar, Union from collections.abc import Seq...
17,769
Python
.py
445
31.119101
87
0.604096
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,730
completionwidget.py
qutebrowser_qutebrowser/qutebrowser/completion/completionwidget.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Completion view for statusbar command section. Defines a CompletionView which uses CompletionFilterModel and CompletionModel subclasses to provide completions. """ from typing import TYPE_C...
17,430
Python
.py
413
31.401937
84
0.596977
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,731
completiondelegate.py
qutebrowser_qutebrowser/qutebrowser/completion/completiondelegate.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Completion item delegate for CompletionView. We use this to be able to highlight parts of the text. """ import re import html from qutebrowser.qt.widgets import QStyle, QStyleOptionViewIte...
12,090
Python
.py
263
35.61597
100
0.631548
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,732
completer.py
qutebrowser_qutebrowser/qutebrowser/completion/completer.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Completer attached to a CompletionView.""" import dataclasses from typing import TYPE_CHECKING from qutebrowser.qt.core import pyqtSlot, QObject from qutebrowser.config import config from ...
12,571
Python
.py
261
37.275862
83
0.611206
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,733
__init__.py
qutebrowser_qutebrowser/qutebrowser/completion/__init__.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Modules related to the command completion."""
175
Python
.py
4
42.5
78
0.776471
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,734
util.py
qutebrowser_qutebrowser/qutebrowser/completion/models/util.py
# SPDX-FileCopyrightText: Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # SPDX-License-Identifier: GPL-3.0-or-later """Utility functions for completion models.""" from collections.abc import Sequence, Callable from qutebrowser.utils import usertypes from qutebrowser.misc import objects DeleteFuncType = Callable[...
1,605
Python
.py
33
41.818182
74
0.677771
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,735
configmodel.py
qutebrowser_qutebrowser/qutebrowser/completion/models/configmodel.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Functions that return config-related completion models.""" from qutebrowser.config import configdata, configexc from qutebrowser.completion.models import completionmodel, listcategory, util ...
4,783
Python
.py
113
34.884956
78
0.664727
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,736
__init__.py
qutebrowser_qutebrowser/qutebrowser/completion/models/__init__.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Models for the command completion.""" from typing import Optional from collections.abc import Sequence from qutebrowser.completion.models.util import DeleteFuncType from qutebrowser.qt.core ...
826
Python
.py
17
45.294118
107
0.798005
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,737
miscmodels.py
qutebrowser_qutebrowser/qutebrowser/completion/models/miscmodels.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Functions that return miscellaneous completion models.""" import datetime import itertools from collections.abc import Sequence from qutebrowser.config import config, configdata from qutebr...
10,870
Python
.py
249
34.678715
83
0.631444
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,738
filepathcategory.py
qutebrowser_qutebrowser/qutebrowser/completion/models/filepathcategory.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Completion category for filesystem paths. NOTE: This module deliberately uses os.path rather than pathlib, because of how it interacts with the completion, which operates on strings. For exa...
3,657
Python
.py
84
35.154762
97
0.622716
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,739
urlmodel.py
qutebrowser_qutebrowser/qutebrowser/completion/models/urlmodel.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Function to return the url completion model for the `open` command.""" from collections.abc import Sequence from qutebrowser.completion.models import (completionmodel, filepathcategory, ...
3,071
Python
.py
66
38.5
86
0.676835
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,740
completionmodel.py
qutebrowser_qutebrowser/qutebrowser/completion/models/completionmodel.py
# SPDX-FileCopyrightText: Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # SPDX-License-Identifier: GPL-3.0-or-later """A model that proxies access to one or more completion categories.""" from typing import overload, Optional, Any, cast from collections.abc import MutableSequence from qutebrowser.qt import machine...
8,305
Python
.py
200
31.975
92
0.61653
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,741
listcategory.py
qutebrowser_qutebrowser/qutebrowser/completion/models/listcategory.py
# SPDX-FileCopyrightText: Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # SPDX-License-Identifier: GPL-3.0-or-later """Completion category that uses a list of tuples as a data source.""" import re from collections.abc import Iterable from qutebrowser.qt.core import QSortFilterProxyModel, QRegularExpression from qu...
3,550
Python
.py
80
34.3
99
0.618551
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,742
histcategory.py
qutebrowser_qutebrowser/qutebrowser/completion/models/histcategory.py
# SPDX-FileCopyrightText: Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # SPDX-License-Identifier: GPL-3.0-or-later """A completion category that queries the SQL history store.""" from typing import Optional from qutebrowser.qt.sql import QSqlQueryModel from qutebrowser.qt.widgets import QWidget from qutebrowser....
5,248
Python
.py
106
38.443396
79
0.589844
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,743
message.py
qutebrowser_qutebrowser/qutebrowser/api/message.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities to display messages above the status bar.""" # pylint: disable=unused-import from qutebrowser.utils.message import error, warning, info
276
Python
.py
6
44.666667
78
0.794776
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,744
config.py
qutebrowser_qutebrowser/qutebrowser/api/config.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Access to the qutebrowser configuration.""" from typing import cast, Any from qutebrowser.qt.core import QUrl from qutebrowser.config import config #: Simplified access to config values u...
796
Python
.py
21
36.190476
78
0.744792
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,745
hook.py
qutebrowser_qutebrowser/qutebrowser/api/hook.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=invalid-name """Hooks for extensions.""" import importlib from typing import Any from collections.abc import Callable from qutebrowser.extensions import loader def _add_m...
2,201
Python
.py
56
32.714286
78
0.671226
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,746
apitypes.py
qutebrowser_qutebrowser/qutebrowser/api/apitypes.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """A single tab.""" # pylint: disable=unused-import from qutebrowser.browser.browsertab import WebTabError, AbstractTab as Tab from qutebrowser.browser.inspector import (Position as InspectorPo...
650
Python
.py
12
46
78
0.732704
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,747
qtutils.py
qutebrowser_qutebrowser/qutebrowser/api/qtutils.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities related to Qt classes.""" # pylint: disable=unused-import from qutebrowser.utils.qtutils import ensure_valid
249
Python
.py
6
40.166667
78
0.79668
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,748
downloads.py
qutebrowser_qutebrowser/qutebrowser/api/downloads.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """APIs related to downloading files.""" import io from qutebrowser.qt.core import QObject, pyqtSignal, pyqtSlot, QUrl from qutebrowser.browser import downloads, qtnetworkdownloads from qute...
2,121
Python
.py
44
42.113636
82
0.712202
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,749
cmdutils.py
qutebrowser_qutebrowser/qutebrowser/api/cmdutils.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """qutebrowser has the concept of functions, exposed to the user as commands. Creating a new command is straightforward:: from qutebrowser.api import cmdutils @cmdutils.register(...) de...
7,966
Python
.py
176
37.204545
88
0.645725
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,750
__init__.py
qutebrowser_qutebrowser/qutebrowser/api/__init__.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """API for extensions. This API currently isn't exposed to third-party extensions yet, but will be in the future. Thus, care must be taken when adding new APIs here. Code in qutebrowser.compon...
349
Python
.py
8
42.25
78
0.786982
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,751
interceptor.py
qutebrowser_qutebrowser/qutebrowser/api/interceptor.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """APIs related to intercepting/blocking requests.""" from qutebrowser.extensions import interceptors # pylint: disable=unused-import from qutebrowser.extensions.interceptors import Request #...
931
Python
.py
21
40
78
0.765556
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,752
utilcmds.py
qutebrowser_qutebrowser/qutebrowser/misc/utilcmds.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Misc. utility commands exposed to the user.""" # QApplication and objects are imported so they're usable in :debug-pyeval import functools import os import traceback from typing import Opti...
9,146
Python
.py
224
34.080357
81
0.673923
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,753
pastebin.py
qutebrowser_qutebrowser/qutebrowser/misc/pastebin.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Client for the pastebin.""" import urllib.parse from qutebrowser.qt.core import pyqtSignal, pyqtSlot, QObject, QUrl class PastebinClient(QObject): """A client for Stikked pastebins u...
2,423
Python
.py
65
28.446154
78
0.600598
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,754
elf.py
qutebrowser_qutebrowser/qutebrowser/misc/elf.py
# SPDX-FileCopyrightText: Florian Bruhin (The-Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Simplistic ELF parser to get the QtWebEngine/Chromium versions. I know what you must be thinking when reading this: "Why on earth does qutebrowser have an ELF parser?!". For one, because wri...
10,309
Python
.py
243
36.609053
96
0.692954
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,755
sessions.py
qutebrowser_qutebrowser/qutebrowser/misc/sessions.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Management of sessions - saved tabs/windows.""" import os import os.path import itertools import urllib import shutil import pathlib from typing import Any, Optional, Union, cast from collec...
24,650
Python
.py
560
32.228571
84
0.574788
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,756
split.py
qutebrowser_qutebrowser/qutebrowser/misc/split.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Our own fork of shlex.split with some added and removed features.""" import re from qutebrowser.utils import log, utils class ShellLexer: """A lexical analyzer class for simple shell...
6,007
Python
.py
171
23.345029
78
0.518761
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,757
cmdhistory.py
qutebrowser_qutebrowser/qutebrowser/misc/cmdhistory.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Command history for the status bar.""" from collections.abc import MutableSequence from qutebrowser.qt.core import pyqtSlot, pyqtSignal, QObject from qutebrowser.utils import usertypes, lo...
3,712
Python
.py
98
29.326531
78
0.630168
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,758
debugcachestats.py
qutebrowser_qutebrowser/qutebrowser/misc/debugcachestats.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Implementation of the command debug-cache-stats. Because many modules depend on this command, this needs to have as few dependencies as possible to avoid cyclic dependencies. """ import wea...
1,109
Python
.py
25
40.8
78
0.720149
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,759
checkpyver.py
qutebrowser_qutebrowser/qutebrowser/misc/checkpyver.py
# SPDX-FileCopyrightText: Florian Bruhin (The-Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Check if qutebrowser is run with the correct python version. This should import and run fine with both python2 and python3. """ import sys try: # Python3 from tkinter import Tk, me...
1,752
Python
.py
41
36.243902
98
0.652761
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,760
lineparser.py
qutebrowser_qutebrowser/qutebrowser/misc/lineparser.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Parser for line-based files like histories.""" import os import os.path import contextlib from collections.abc import Sequence from qutebrowser.qt.core import pyqtSlot, pyqtSignal, QObject ...
6,888
Python
.py
184
27.652174
78
0.58018
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,761
pakjoy.py
qutebrowser_qutebrowser/qutebrowser/misc/pakjoy.py
# SPDX-FileCopyrightText: Florian Bruhin (The-Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Chromium .pak repacking. This entire file is a great WORKAROUND for https://bugreports.qt.io/browse/QTBUG-118157 and the fact we can't just simply disable the hangouts extension: https://bug...
10,131
Python
.py
236
35.983051
96
0.667582
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,762
ipc.py
qutebrowser_qutebrowser/qutebrowser/misc/ipc.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities for IPC with existing instances.""" import os import time import json import getpass import binascii import hashlib from typing import Optional from qutebrowser.qt.core import pyq...
19,992
Python
.py
458
33.641921
91
0.616291
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,763
nativeeventfilter.py
qutebrowser_qutebrowser/qutebrowser/misc/nativeeventfilter.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Native Qt event filter. This entire file is a giant WORKAROUND for https://bugreports.qt.io/browse/QTBUG-114334. """ from typing import Union, cast, Optional import enum import ctypes impor...
5,913
Python
.py
137
35.518248
88
0.655257
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,764
binparsing.py
qutebrowser_qutebrowser/qutebrowser/misc/binparsing.py
# SPDX-FileCopyrightText: Florian Bruhin (The-Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Utilities for parsing binary files. Used by elf.py as well as pakjoy.py. """ import struct from typing import Any, IO class ParseError(Exception): """Raised when the file can't be pa...
1,056
Python
.py
30
30.566667
78
0.678184
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,765
keyhintwidget.py
qutebrowser_qutebrowser/qutebrowser/misc/keyhintwidget.py
# SPDX-FileCopyrightText: Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # SPDX-License-Identifier: GPL-3.0-or-later """Small window that pops up to show hints for possible keystrings. When a user inputs a key that forms a partial match, this shows a small window with each possible completion of that keystring and t...
4,446
Python
.py
109
31.495413
98
0.611871
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,766
miscwidgets.py
qutebrowser_qutebrowser/qutebrowser/misc/miscwidgets.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Misc. widgets used at different places.""" from typing import Optional from qutebrowser.qt.core import pyqtSlot, pyqtSignal, Qt, QSize, QTimer from qutebrowser.qt.widgets import (QLineEdit,...
15,522
Python
.py
371
32.385445
79
0.617393
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,767
crashsignal.py
qutebrowser_qutebrowser/qutebrowser/misc/crashsignal.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Handlers for crashes and OS signals.""" import os import os.path import sys import bdb import pdb # noqa: T002 import signal import argparse import functools import threading import faultha...
17,222
Python
.py
390
33.584615
110
0.614443
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,768
quitter.py
qutebrowser_qutebrowser/qutebrowser/misc/quitter.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Helpers related to quitting qutebrowser cleanly.""" import os import os.path import sys import json import atexit import shutil import argparse import tokenize import functools import warnin...
11,191
Python
.py
262
33.137405
102
0.617244
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,769
backendproblem.py
qutebrowser_qutebrowser/qutebrowser/misc/backendproblem.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Dialogs shown when there was a problem with a backend choice.""" import os import sys import functools import html import enum import shutil import os.path import argparse import dataclasses...
17,418
Python
.py
368
35.494565
93
0.597667
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,770
earlyinit.py
qutebrowser_qutebrowser/qutebrowser/misc/earlyinit.py
# SPDX-FileCopyrightText: Florian Bruhin (The-Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Things which need to be done really early (e.g. before importing Qt). At this point we can be sure we have all python 3.9 features available. """ try: # Importing hunter to register its...
11,914
Python
.py
284
34.609155
88
0.657444
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,771
sql.py
qutebrowser_qutebrowser/qutebrowser/misc/sql.py
# SPDX-FileCopyrightText: Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # SPDX-License-Identifier: GPL-3.0-or-later """Provides access to sqlite databases.""" import enum import collections import contextlib import dataclasses import types from typing import Any, Optional, Union from collections.abc import Iterator...
20,685
Python
.py
459
36.222222
88
0.620213
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,772
__init__.py
qutebrowser_qutebrowser/qutebrowser/misc/__init__.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Misc. modules."""
147
Python
.py
4
35.5
78
0.753521
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,773
editor.py
qutebrowser_qutebrowser/qutebrowser/misc/editor.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Launcher for an external editor.""" import os import tempfile from qutebrowser.qt.core import (pyqtSignal, pyqtSlot, QObject, QProcess, QFileSystemWatcher) from q...
9,780
Python
.py
217
34.493088
87
0.607293
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,774
msgbox.py
qutebrowser_qutebrowser/qutebrowser/misc/msgbox.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Convenience functions to show message boxes.""" from qutebrowser.qt.core import Qt from qutebrowser.qt.widgets import QMessageBox from qutebrowser.misc import objects from qutebrowser.utils...
1,961
Python
.py
53
30.811321
79
0.687632
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,775
savemanager.py
qutebrowser_qutebrowser/qutebrowser/misc/savemanager.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Saving things to disk periodically.""" import os.path import collections from collections.abc import MutableMapping from qutebrowser.qt.core import pyqtSlot, QObject, QTimer from qutebrows...
7,818
Python
.py
174
33.321839
81
0.583585
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,776
crashdialog.py
qutebrowser_qutebrowser/qutebrowser/misc/crashdialog.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """The dialog which gets shown when qutebrowser crashes.""" import re import os import sys import html import getpass import fnmatch import traceback import datetime import enum from qutebrows...
25,286
Python
.py
568
34.135563
89
0.590335
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,777
objects.py
qutebrowser_qutebrowser/qutebrowser/misc/objects.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Various global objects.""" # NOTE: We need to be careful with imports here, as this is imported from # earlyinit. import argparse from typing import TYPE_CHECKING, Any, Union, cast if TYPE...
937
Python
.py
24
35.75
78
0.732816
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,778
guiprocess.py
qutebrowser_qutebrowser/qutebrowser/misc/guiprocess.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """A QProcess which shows notifications in the GUI.""" import dataclasses import locale import shlex import shutil import signal from typing import Optional from collections.abc import Mapping,...
15,814
Python
.py
358
34.796089
88
0.621725
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,779
autoupdate.py
qutebrowser_qutebrowser/qutebrowser/misc/autoupdate.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Classes related to auto-updating and getting the latest version.""" import json from qutebrowser.qt.core import pyqtSignal, pyqtSlot, QObject, QUrl from qutebrowser.misc import httpclient ...
2,182
Python
.py
56
30.357143
78
0.628083
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,780
throttle.py
qutebrowser_qutebrowser/qutebrowser/misc/throttle.py
# SPDX-FileCopyrightText: Jay Kamat <jaygkamat@gmail.com> # # SPDX-License-Identifier: GPL-3.0-or-later """A throttle for throttling function calls.""" import dataclasses import time from typing import Any, Optional from collections.abc import Mapping, Sequence, Callable from qutebrowser.qt.core import QObject from...
2,993
Python
.py
70
33.2
79
0.606061
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,781
httpclient.py
qutebrowser_qutebrowser/qutebrowser/misc/httpclient.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """An HTTP client based on QNetworkAccessManager.""" import functools import urllib.parse from collections.abc import MutableMapping from qutebrowser.qt.core import pyqtSignal, QObject, QTimer...
3,714
Python
.py
91
31.373626
82
0.630833
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,782
consolewidget.py
qutebrowser_qutebrowser/qutebrowser/misc/consolewidget.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """Debugging console.""" import sys import code from typing import Optional from collections.abc import MutableSequence from qutebrowser.qt.core import pyqtSignal, pyqtSlot, Qt from qutebrowse...
6,561
Python
.py
166
31.120482
93
0.626927
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,783
opengl.py
qutebrowser_qutebrowser/qutebrowser/qt/opengl.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-import,unused-wildcard-import """Wrapped Qt imports for Qt OpenGL. All code in qutebrowser should use this module instead of importing fro...
866
Python
.py
21
39.047619
83
0.803828
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,784
webenginewidgets.py
qutebrowser_qutebrowser/qutebrowser/qt/webenginewidgets.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import """Wrapped Qt imports for Qt WebEngine Widgets. All code in qutebrowser should use this module instead of importing from P...
1,360
Python
.py
36
34.472222
78
0.810358
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,785
webenginecore.py
qutebrowser_qutebrowser/qutebrowser/qt/webenginecore.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import,unused-import """Wrapped Qt imports for Qt WebEngine Core. All code in qutebrowser should use this module instead of impor...
1,465
Python
.py
36
36
84
0.783803
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,786
network.py
qutebrowser_qutebrowser/qutebrowser/qt/network.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import """Wrapped Qt imports for Qt Network. All code in qutebrowser should use this module instead of importing from PyQt/PySide...
840
Python
.py
21
37.809524
78
0.798765
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,787
printsupport.py
qutebrowser_qutebrowser/qutebrowser/qt/printsupport.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import """Wrapped Qt imports for Qt Print Support. All code in qutebrowser should use this module instead of importing from PyQt/...
866
Python
.py
21
39.047619
78
0.803828
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,788
_core_pyqtproperty.py
qutebrowser_qutebrowser/qutebrowser/qt/_core_pyqtproperty.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later """WORKAROUND for missing pyqtProperty typing, ported from PyQt5-stubs: FIXME:mypy PyQt6-stubs issue https://github.com/python-qt-tools/PyQt5-stubs/blob/5.15.6.0/PyQt5-stubs/QtCore.pyi#L68-L111...
2,881
Python
.py
66
34.954545
131
0.633083
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,789
dbus.py
qutebrowser_qutebrowser/qutebrowser/qt/dbus.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import """Wrapped Qt imports for Qt DBus. All code in qutebrowser should use this module instead of importing from PyQt/PySide di...
825
Python
.py
21
37.095238
78
0.794969
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,790
test.py
qutebrowser_qutebrowser/qutebrowser/qt/test.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import """Wrapped Qt imports for Qt Test. All code in qutebrowser should use this module instead of importing from PyQt/PySide di...
825
Python
.py
21
37.095238
78
0.794969
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,791
webkitwidgets.py
qutebrowser_qutebrowser/qutebrowser/qt/webkitwidgets.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=wildcard-import,no-else-raise """Wrapped Qt imports for Qt WebKit Widgets. All code in qutebrowser should use this module instead of importing from PyQt/PySide directly. This...
1,293
Python
.py
28
43.535714
84
0.787251
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,792
gui.py
qutebrowser_qutebrowser/qutebrowser/qt/gui.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import,unused-import """Wrapped Qt imports for Qt Gui. All code in qutebrowser should use this module instead of importing from P...
942
Python
.py
23
38.521739
83
0.794505
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,793
sip.py
qutebrowser_qutebrowser/qutebrowser/qt/sip.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=wildcard-import,unused-wildcard-import """Wrapped Qt imports for PyQt5.sip/PyQt6.sip. All code in qutebrowser should use this module instead of importing from PyQt/sip direct...
1,342
Python
.py
31
39.419355
79
0.754224
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,794
webkit.py
qutebrowser_qutebrowser/qutebrowser/qt/webkit.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=wildcard-import """Wrapped Qt imports for Qt WebKit. All code in qutebrowser should use this module instead of importing from PyQt/PySide directly. This allows supporting bot...
1,289
Python
.py
28
43.428571
84
0.782748
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,795
sql.py
qutebrowser_qutebrowser/qutebrowser/qt/sql.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import """Wrapped Qt imports for Qt SQL. All code in qutebrowser should use this module instead of importing from PyQt/PySide dir...
820
Python
.py
21
36.857143
78
0.793671
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,796
machinery.py
qutebrowser_qutebrowser/qutebrowser/qt/machinery.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pyright: reportConstantRedefinition=false """Qt wrapper selection. Contains selection logic and globals for Qt wrapper selection. All other files in this package are intended to be simple w...
10,070
Python
.py
221
40.063348
100
0.702213
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,797
__init__.py
qutebrowser_qutebrowser/qutebrowser/qt/__init__.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later
125
Python
.py
3
40.666667
78
0.786885
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,798
core.py
qutebrowser_qutebrowser/qutebrowser/qt/core.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import """Wrapped Qt imports for Qt Core. All code in qutebrowser should use this module instead of importing from PyQt/PySide di...
948
Python
.py
24
36.916667
78
0.793217
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
38,799
widgets.py
qutebrowser_qutebrowser/qutebrowser/qt/widgets.py
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # SPDX-License-Identifier: GPL-3.0-or-later # pylint: disable=import-error,wildcard-import,unused-wildcard-import """Wrapped Qt imports for Qt Widgets. All code in qutebrowser should use this module instead of importing from PyQt/PySide...
954
Python
.py
24
37.333333
78
0.792391
qutebrowser/qutebrowser
9,586
1,006
1,208
GPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)