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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33,900 | popupmenu.py | autokey_autokey/lib/autokey/qtui/popupmenu.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
#... | 6,494 | Python | .py | 147 | 33.421769 | 131 | 0.617793 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,901 | dbus_service.py | autokey_autokey/lib/autokey/qtui/dbus_service.py | # Copyright (C) 2018 Thomas Hess
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in th... | 2,185 | Python | .py | 53 | 35.490566 | 71 | 0.657709 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,902 | __main__.py | autokey_autokey/lib/autokey/qtui/__main__.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
#... | 1,389 | Python | .py | 31 | 42.83871 | 108 | 0.772929 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,903 | scriptpage.py | autokey_autokey/lib/autokey/qtui/scriptpage.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 5,907 | Python | .py | 122 | 41.04918 | 124 | 0.702994 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,904 | autokey_treewidget.py | autokey_autokey/lib/autokey/qtui/autokey_treewidget.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 7,517 | Python | .py | 159 | 38.704403 | 115 | 0.67446 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,905 | folderpage.py | autokey_autokey/lib/autokey/qtui/folderpage.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 3,133 | Python | .py | 67 | 40.373134 | 90 | 0.702401 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,906 | settingswidget.py | autokey_autokey/lib/autokey/qtui/settingswidget.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 9,992 | Python | .py | 194 | 40.242268 | 118 | 0.644738 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,907 | notifier.py | autokey_autokey/lib/autokey/qtui/notifier.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
#... | 9,299 | Python | .py | 178 | 43.921348 | 114 | 0.685617 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,908 | centralwidget.py | autokey_autokey/lib/autokey/qtui/centralwidget.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018, 2020 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 25,142 | Python | .py | 513 | 37.966862 | 120 | 0.631847 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,909 | phrasepage.py | autokey_autokey/lib/autokey/qtui/phrasepage.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018, 2019 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 5,234 | Python | .py | 108 | 40.898148 | 113 | 0.694745 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,910 | common.py | autokey_autokey/lib/autokey/qtui/common.py | # Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 6,132 | Python | .py | 135 | 40.303704 | 120 | 0.705143 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,911 | configwindow.py | autokey_autokey/lib/autokey/qtui/configwindow.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 14,851 | Python | .py | 259 | 48.227799 | 119 | 0.706099 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,912 | compiled_resources.pyi | autokey_autokey/lib/autokey/qtui/compiled_resources.pyi | # Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 965 | Python | .py | 19 | 49.473684 | 70 | 0.741489 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,913 | general.py | autokey_autokey/lib/autokey/qtui/settings/general.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 7,551 | Python | .py | 122 | 53.245902 | 116 | 0.707067 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,914 | specialhotkeys.py | autokey_autokey/lib/autokey/qtui/settings/specialhotkeys.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 5,077 | Python | .py | 97 | 43.608247 | 116 | 0.690135 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,915 | __init__.py | autokey_autokey/lib/autokey/qtui/settings/__init__.py | # Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This progra... | 925 | Python | .py | 19 | 47.578947 | 102 | 0.790929 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,916 | engine.py | autokey_autokey/lib/autokey/qtui/settings/engine.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 4,024 | Python | .py | 71 | 48.690141 | 119 | 0.697739 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,917 | settingsdialog.py | autokey_autokey/lib/autokey/qtui/settings/settingsdialog.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) ... | 2,618 | Python | .py | 50 | 47.28 | 98 | 0.736677 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,918 | hotkeysettings.py | autokey_autokey/lib/autokey/qtui/dialogs/hotkeysettings.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 5,930 | Python | .py | 125 | 40.168 | 117 | 0.686645 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,919 | detectdialog.py | autokey_autokey/lib/autokey/qtui/dialogs/detectdialog.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 2,164 | Python | .py | 42 | 45.785714 | 118 | 0.714353 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,920 | about_autokey_dialog.py | autokey_autokey/lib/autokey/qtui/dialogs/about_autokey_dialog.py | # Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 1,379 | Python | .py | 25 | 51.44 | 93 | 0.757058 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,921 | abbrsettings.py | autokey_autokey/lib/autokey/qtui/dialogs/abbrsettings.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 9,045 | Python | .py | 186 | 39.510753 | 117 | 0.680585 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,922 | windowfiltersettings.py | autokey_autokey/lib/autokey/qtui/dialogs/windowfiltersettings.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 3,277 | Python | .py | 69 | 41.086957 | 112 | 0.71469 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,923 | __init__.py | autokey_autokey/lib/autokey/qtui/dialogs/__init__.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) ... | 1,493 | Python | .py | 37 | 38.243243 | 75 | 0.796692 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,924 | recorddialog.py | autokey_autokey/lib/autokey/qtui/dialogs/recorddialog.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) a... | 2,011 | Python | .py | 37 | 48.675676 | 114 | 0.697603 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,925 | show_recent_script_errors.py | autokey_autokey/lib/autokey/qtui/dialogs/show_recent_script_errors.py | # Copyright (C) 2020 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 9,399 | Python | .py | 169 | 47.431953 | 118 | 0.692015 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,926 | modelTypes.py | autokey_autokey/lib/autokey/model/modelTypes.py | # This almost always causes a circular import if used.
import typing
from .folder import Folder
from .phrase import Phrase
from .script import Script
Item = typing.Union[Folder, Phrase, Script]
| 196 | Python | .py | 6 | 31.333333 | 54 | 0.819149 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,927 | button.py | autokey_autokey/lib/autokey/model/button.py | # Key codes enumeration
import enum
@enum.unique
class Button(int, enum.Enum):
LEFT = 1
MIDDLE = 2
RIGHT = 3
SCROLL_UP = 4
SCROLL_DOWN = 5
SCROLL_LEFT = 6
SCROLL_RIGHT = 7
BACKWARD = 8
FORWARD = 9
BUTTON10 = 10
| 253 | Python | .py | 14 | 14.071429 | 29 | 0.628692 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,928 | key.py | autokey_autokey/lib/autokey/model/key.py | # Key codes enumeration
import enum
import re
# Matches the special <code[number]> syntax, like <code86> for non-printable or unknown keys.
_code_point_re = re.compile(r"<code(0|[1-9][0-9]*)>", re.UNICODE)
@enum.unique
class Key(str, enum.Enum):
LEFT = "<left>"
RIGHT = "<right>"
UP = "<up>"
DOWN = "... | 3,367 | Python | .py | 113 | 24.699115 | 119 | 0.563293 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,929 | folder.py | autokey_autokey/lib/autokey/model/folder.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2019-2020 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 9,450 | Python | .py | 220 | 33.268182 | 119 | 0.622999 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,930 | abstract_abbreviation.py | autokey_autokey/lib/autokey/model/abstract_abbreviation.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2019-2020 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 7,852 | Python | .py | 161 | 38.310559 | 117 | 0.634003 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,931 | phrase.py | autokey_autokey/lib/autokey/model/phrase.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2019-2020 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 12,881 | Python | .py | 278 | 36.715827 | 119 | 0.635052 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,932 | script.py | autokey_autokey/lib/autokey/model/script.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2019-2020 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 10,029 | Python | .py | 219 | 36.406393 | 119 | 0.640671 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,933 | abstract_window_filter.py | autokey_autokey/lib/autokey/model/abstract_window_filter.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2019-2020 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 4,010 | Python | .py | 96 | 33.0625 | 93 | 0.651515 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,934 | abstract_hotkey.py | autokey_autokey/lib/autokey/model/abstract_hotkey.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2019-2020 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 2,644 | Python | .py | 65 | 33.384615 | 86 | 0.661983 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,935 | store.py | autokey_autokey/lib/autokey/model/store.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2019-2020 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 2,041 | Python | .py | 62 | 26.435484 | 75 | 0.630667 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,936 | helpers.py | autokey_autokey/lib/autokey/model/helpers.py | # Copyright (C) 2011 Chris Dekter
# Copyright (C) 2019-2020 Thomas Hess <thomas.hess@udo.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opt... | 2,024 | Python | .py | 53 | 34.207547 | 84 | 0.67348 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,937 | test_phrase_runner.py | autokey_autokey/tests/test_phrase_runner.py | # Copyright (C) 2019 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 3,032 | Python | .py | 74 | 36.256757 | 96 | 0.714237 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,938 | engine_helpers.py | autokey_autokey/tests/engine_helpers.py | # Copyright (C) 2020 BlueDrink9
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the h... | 3,245 | Python | .py | 70 | 40.714286 | 116 | 0.724422 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,939 | test_iomediator.py | autokey_autokey/tests/test_iomediator.py | # Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 1,641 | Python | .py | 31 | 49.806452 | 91 | 0.691875 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,940 | test_macro.py | autokey_autokey/tests/test_macro.py | # Copyright (C) 2019 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 10,744 | Python | .py | 197 | 49.121827 | 162 | 0.678 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,941 | test_common.py | autokey_autokey/tests/test_common.py | # Copyright (C) 2020 BlueDrink9
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the h... | 1,606 | Python | .py | 31 | 48.612903 | 97 | 0.733716 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,942 | test_configmanager.py | autokey_autokey/tests/test_configmanager.py | # Copyright (C) 2020 BlueDrink9
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the h... | 3,185 | Python | .py | 67 | 43.597015 | 95 | 0.748227 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,943 | create_single_phrase.py | autokey_autokey/tests/create_single_phrase.py | # flake8: noqa: F821
# This script is used to test script macros only.
print("running")
args = engine.get_macro_arguments()
folder = engine.get_folder("Test folder")
phrase = engine.create_phrase(folder, args[0], args[1], temporary=True)
| 238 | Python | .py | 6 | 38.666667 | 71 | 0.75431 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,944 | __init__.py | autokey_autokey/tests/__init__.py | # Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 942 | Python | .py | 17 | 54.058824 | 109 | 0.78346 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,945 | test_phrase.py | autokey_autokey/tests/test_phrase.py | # Copyright (C) 2018 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 26,035 | Python | .py | 464 | 49.549569 | 123 | 0.668996 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,946 | test_system.py | autokey_autokey/tests/scripting_api/test_system.py | # Copyright (C) 2019 BlueDrink9 <https://github.com/BlueDrink9>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This... | 1,314 | Python | .py | 23 | 54.956522 | 86 | 0.752336 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,947 | test_engine.py | autokey_autokey/tests/scripting_api/test_engine.py | # Copyright (C) 2019 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 19,822 | Python | .py | 391 | 43.306905 | 162 | 0.663277 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,948 | test_keyboard.py | autokey_autokey/tests/scripting_api/test_keyboard.py | # Copyright (C) 2019 Thomas Hess <thomas.hess@udo.edu>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program ... | 6,584 | Python | .py | 125 | 46.352 | 119 | 0.71826 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,949 | epydoc.js | autokey_autokey/doc/scripting/epydoc.js | function toggle_private() {
// Search for any private/public links on this page. Store
// their old text in "cmd," so we will know what action to
// take; and change their text to the opposite action.
var cmd = "?";
var elts = document.getElementsByTagName("a");
for(var ... | 10,581 | Python | .py | 276 | 30.771739 | 86 | 0.570942 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,950 | epydoc.css | autokey_autokey/doc/scripting/epydoc.css |
/* Epydoc CSS Stylesheet
*
* This stylesheet can be used to customize the appearance of epydoc's
* HTML output.
*
*/
/* Default Colors & Styles
* - Set the default foreground & background color with 'body'; and
* link colors with 'a:link' and 'a:visited'.
* - Use bold for decision list terms.
* -... | 16,023 | Python | .py | 302 | 46.321192 | 82 | 0.556497 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,951 | lib.scripting-pysrc.html | autokey_autokey/doc/scripting/lib.scripting-pysrc.html | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>lib.scripting</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script... | 304,698 | Python | .py | 1,379 | 219.684554 | 1,187 | 0.609543 | autokey/autokey | 3,322 | 186 | 267 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,952 | firefox_decrypt.py | unode_firefox_decrypt/firefox_decrypt.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distr... | 39,322 | Python | .py | 993 | 29.780463 | 100 | 0.591007 | unode/firefox_decrypt | 1,968 | 303 | 2 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,953 | fdecrypt.py | unode_firefox_decrypt/tests/simpletap/fdecrypt.py | # -*- coding: utf-8 -*-
import os
import sys
import re
import datetime
import tempfile
import platform
from subprocess import run, CalledProcessError, PIPE, STDOUT
class Test:
def __init__(self):
self.testdir = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
self.platform = platform.... | 3,995 | Python | .py | 93 | 32.225806 | 114 | 0.568293 | unode/firefox_decrypt | 1,968 | 303 | 2 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,954 | result.py | unode_firefox_decrypt/tests/simpletap/result.py | # simpletap - "Simple" TAP output with unittest
#
# Copyright (c) 2014-2021 Renato Alves
#
# This code is released under the MIT license.
# Refer to LICENSE for further details.
import os
import sys
import unittest
import traceback
import inspect
def _color(text, c):
"""
Add color on the keyword that identif... | 6,553 | Python | .py | 162 | 29.777778 | 78 | 0.562618 | unode/firefox_decrypt | 1,968 | 303 | 2 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,955 | __main__.py | unode_firefox_decrypt/tests/simpletap/__main__.py | """Main entry point"""
import sys
from unittest.main import main, TestProgram, USAGE_AS_MAIN
from .runner import TAPTestRunner
if sys.argv[0].endswith("__main__.py"):
sys.argv[0] = "python3 -m simpletap"
__unittest = True
TestProgram.USAGE = USAGE_AS_MAIN
main(module=None, testRunner=TAPTestRunner())
| 313 | Python | .py | 9 | 32.555556 | 58 | 0.757576 | unode/firefox_decrypt | 1,968 | 303 | 2 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,956 | runner.py | unode_firefox_decrypt/tests/simpletap/runner.py | # simpletap - "Simple" TAP output with unittest
#
# Copyright (c) 2014-2016 Renato Alves
#
# This code is released under the MIT license.
# Refer to LICENSE for further details.
import unittest
import warnings
from unittest.signals import registerResult
from .result import TAPTestResult
class TAPTestRunner(unittest... | 1,956 | Python | .py | 46 | 31.521739 | 76 | 0.612513 | unode/firefox_decrypt | 1,968 | 303 | 2 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,957 | __init__.py | unode_firefox_decrypt/tests/simpletap/__init__.py | """
Test Anything Protocol extension to Python's unit testing framework
This module contains TAPTestRunner and TAPTestResult which are used to produce
a test report in a TAP compatible format. All remaining functionality comes
from Python's own unittest module.
The core of the tests does not need any change and is pu... | 3,764 | Python | .py | 77 | 43.25974 | 107 | 0.708664 | unode/firefox_decrypt | 1,968 | 303 | 2 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,958 | version.py | unode_firefox_decrypt/tests/simpletap/version.py | # Autogenerated from git tags using update-version.sh
__version__ = "1.0.1"
| 76 | Python | .py | 2 | 37 | 53 | 0.72973 | unode/firefox_decrypt | 1,968 | 303 | 2 | GPL-3.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,959 | setup.py | mbusb_multibootusb/setup.py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# Name: setup.py
# Purpose: Module to create packages or install multibootusb package from source
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or ab... | 4,279 | Python | .py | 78 | 45.141026 | 126 | 0.634712 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,960 | uninstall.py | mbusb_multibootusb/uninstall.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: uninstall.py
# Purpose: Script to uninstall multibootusb from source, previously installed by install.py
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public Licen... | 1,267 | Python | .py | 30 | 35.8 | 99 | 0.63128 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,961 | install.py | mbusb_multibootusb/install.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: install.py
# Purpose: Script to install multibootusb from source on different linux distros. This also pulls in dependencies.
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU... | 5,067 | Python | .py | 95 | 41.863158 | 165 | 0.614888 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,962 | test-distro.py | mbusb_multibootusb/tests/test-distro.py | import sys
import unittest
from unittest.mock import MagicMock as MM, patch, mock_open
sys.path = ['..'] + sys.path
from scripts import distro
from scripts import gen
class DistoDetection(unittest.TestCase):
def distro(self, isobin_exists, filelist_in_iso, input_text):
mock_isobin_exists = MM(return_valu... | 6,766 | Python | .py | 133 | 38.849624 | 76 | 0.484281 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,963 | test-grub.py | mbusb_multibootusb/tests/test-grub.py | from functools import reduce
import os
import sys
from unittest.mock import MagicMock, patch, sentinel
sys.path = ['..'] + sys.path
from scripts import config
from scripts import gen
from scripts import grub
from scripts import iso
class OpenMock:
def __init__(self, *args, **kw):
self.writes = []
def... | 2,533 | Python | .py | 72 | 30.416667 | 140 | 0.663395 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,964 | win32.py | mbusb_multibootusb/scripts/win32.py | import collections
import ctypes
import io
import pywintypes
import struct
import sys
import time
import win32api
import win32con
import win32file
import winerror
import winioctlcon
import wmi
from ctypes import wintypes
from functools import reduce
kernel32 = ctypes.WinDLL('kernel32') # , use_last_error=True)
kerne... | 10,014 | Python | .py | 227 | 34.268722 | 80 | 0.613776 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,965 | syslinux.py | mbusb_multibootusb/scripts/syslinux.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Name: syslinux.py
# Purpose: Module to install syslinux and extlinux on selected USB disk.
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above
imp... | 18,517 | Python | .py | 364 | 39.282967 | 126 | 0.570135 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,966 | config.py | mbusb_multibootusb/scripts/config.py | #!/usr/bin/env python3
# Name: config.py
# Purpose: Module to share important variables between various modules. Mainly included so as not to call many
# functions again and again
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the ter... | 2,054 | Python | .py | 62 | 31.548387 | 111 | 0.715152 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,967 | update_cfg_file.py | mbusb_multibootusb/scripts/update_cfg_file.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: update_cfg_file.py
# Purpose: Module to manipulate distro specific and main config files.
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or abov... | 64,603 | Python | .py | 1,172 | 42.892491 | 362 | 0.586453 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,968 | iso.py | mbusb_multibootusb/scripts/iso.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*
# Name: iso.py
# Purpose: Module to manupulate ISO file
# Authors: Sundar
# Depends: isodump3.py (Authored by Johni Lee for MultiBootUSB)
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Publi... | 6,784 | Python | .py | 189 | 29.751323 | 145 | 0.627385 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,969 | uninstall_distro.py | mbusb_multibootusb/scripts/uninstall_distro.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: uninstall_distro.py
# Purpose: Module to uninstall distros installed by multibootusb
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above
im... | 11,873 | Python | .py | 255 | 37.517647 | 115 | 0.620183 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,970 | usb.py | mbusb_multibootusb/scripts/usb.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: usb.py
# Purpose: Module to list USB devices and get details under Linux and Windows
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above
im... | 20,031 | Python | .py | 458 | 33.497817 | 131 | 0.576424 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,971 | grub.py | mbusb_multibootusb/scripts/grub.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*
# Name: grub.py
# Purpose: This module contain many functions used for updating grub.cfg file to provide support for EFI/UEFI booting
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU ... | 20,682 | Python | .py | 399 | 38.368421 | 140 | 0.539424 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,972 | mbusb_gui.py | mbusb_multibootusb/scripts/mbusb_gui.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: mbusb_gui.py
# Purpose: Module to handle multibootusb through gui
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above
from functools ... | 46,114 | Python | .py | 938 | 34.668443 | 150 | 0.559557 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,973 | isodump3.py | mbusb_multibootusb/scripts/isodump3.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*
# Name: isodump3.py
# Purpose: Module to list and extract iso files.
# Authors: LiQiong Lee (written exclusively for multibootusb)
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public Licens... | 29,251 | Python | .py | 713 | 29.253857 | 135 | 0.507893 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,974 | imager.py | mbusb_multibootusb/scripts/imager.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: imager.py
# Purpose: Module to write ISO image to selected USB disk. Uses dd as backend.
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above... | 6,840 | Python | .py | 169 | 30.278107 | 108 | 0.573383 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,975 | __init__.py | mbusb_multibootusb/scripts/__init__.py | # Author(s) information
__authors__ = ['Sundar']
__author__ = ','.join(__authors__)
__credits__ = ['Ian Bruce', 'Lee']
__copyright__ = 'Copyright (c) 2014'
__license__ = 'GPL'
# Maintanence information
__maintainer__ = 'Sundar'
__email__ = 'feedback.multibootusb@gmail.com'
| 301 | Python | .py | 9 | 32.333333 | 51 | 0.584192 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,976 | admin.py | mbusb_multibootusb/scripts/admin.py | #!/usr/bin/env python3
# -*- coding: utf-8; mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vim: fileencoding=utf-8 tabstop=4 expandtab shiftwidth=4
# Name: admin.py
# Purpose: Module to ask for admin rights under Linux and Windows
# Authors: Originally developed by Preston Landers (for window... | 6,707 | Python | .py | 144 | 37.284722 | 116 | 0.619831 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,977 | persistence.py | mbusb_multibootusb/scripts/persistence.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: persistence.py
# Purpose: Module to deal with persistence of a selected distro.
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above
from fu... | 8,818 | Python | .py | 203 | 35.231527 | 93 | 0.614507 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,978 | debug.py | mbusb_multibootusb/scripts/debug.py | import os
import inspect
from . import config
try:
from colorama import init as colorama_init, Fore, Back, Style
except:
try:
from .colorama import init as colorama_init, Fore, Back, Style
except Exception as e:
raise e
finally:
try:
colorama_init(autoreset=True)
class c... | 1,378 | Python | .py | 46 | 21.565217 | 96 | 0.537651 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,979 | udisks.py | mbusb_multibootusb/scripts/udisks.py | #!/usr/bin/env python3
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
# Name: udisks.py
# Purpose: Module to mount unmount and eject using dbus and udisk
# Authors: Original author is Kovid Goyal <kovid@kovidgoyal.net> and python3
# supporte by Sundar for multibootusb project
# Licence: 'GPL v3' as per origi... | 7,113 | Python | .py | 183 | 30.038251 | 99 | 0.596777 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,980 | menus.py | mbusb_multibootusb/scripts/menus.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: menus.py
# Purpose: Module contain custom menu entries for fewer distros
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above
from . import ... | 4,207 | Python | .py | 88 | 41.534091 | 157 | 0.645224 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,981 | _7zip.py | mbusb_multibootusb/scripts/_7zip.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: 7zip.py
# Purpose: Wrapper module to list and extract ISO files using 7zip
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above
import os
im... | 5,348 | Python | .py | 137 | 31.664234 | 102 | 0.594183 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,982 | gen.py | mbusb_multibootusb/scripts/gen.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*
# Name: gen.py
# Purpose: This 'general' module contain many functions required to be called at many places
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.... | 15,404 | Python | .py | 355 | 35.087324 | 130 | 0.612684 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,983 | osdriver.py | mbusb_multibootusb/scripts/osdriver.py | import collections
import logging
import logging.handlers
import os
import platform
import queue
import shutil
import signal
import subprocess
import sys
import tempfile
import time
if platform.system() == 'Windows':
import wmi
from scripts import win32
else:
try:
from . import udisks
except Im... | 15,606 | Python | .py | 396 | 30.856061 | 95 | 0.595523 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,984 | param_rewrite.py | mbusb_multibootusb/scripts/param_rewrite.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: param_rewrite.py
# Purpose: Provide functions to assist boot param rewriting with.
# Authors: shinji-s
# Licence: This file is a part of multibootusb package. You can redistribute
# it or modify under the terms of GNU General Public License, v.2 or above
fr... | 9,073 | Python | .py | 180 | 40.677778 | 78 | 0.612783 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,985 | install.py | mbusb_multibootusb/scripts/install.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: install.py
# Purpose: This module contain functions to install ISO files to USB disk non destructively.
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public Licens... | 11,305 | Python | .py | 246 | 37.146341 | 124 | 0.621555 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,986 | qemu.py | mbusb_multibootusb/scripts/qemu.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: qemu.py
# Purpose: Module to boot ISO and USB disks using QEMU.
# Depends: QEMU must be installed under Linux for availing this feature. For windows, QEMU package is shipped
# along with executable file
# Authors: Sundar
# Licence: This file is a ... | 5,746 | Python | .py | 150 | 27.653333 | 110 | 0.54767 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,987 | mbusb_cli.py | mbusb_multibootusb/scripts/mbusb_cli.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: mbusb_cli.py
# Purpose: Module to handle command line options of multibootusb
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public License, v.2 or above
import os... | 8,275 | Python | .py | 188 | 34.420213 | 119 | 0.600248 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,988 | distro.py | mbusb_multibootusb/scripts/distro.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Name: distro.py
# Purpose: Module to detect if distro types supported by multibootusb (by extracting specific files)
# Authors: Sundar
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
# under the terms of GNU General Public... | 11,470 | Python | .py | 238 | 38.012605 | 111 | 0.57681 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,989 | resources.py | mbusb_multibootusb/scripts/gui/resources.py | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.5.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x10\x06\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x55\x0... | 36,942 | Python | .py | 578 | 62.885813 | 105 | 0.738558 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,990 | ui_multibootusb.py | mbusb_multibootusb/scripts/gui/ui_multibootusb.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'scripts/gui/multibootusb.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
... | 38,992 | Python | .py | 538 | 63.895911 | 515 | 0.714315 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,991 | ui_about.py | mbusb_multibootusb/scripts/gui/ui_about.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'about.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_About(object):
def setupUi(self, About):
About.setObjectName("Ab... | 3,939 | Python | .py | 55 | 64.454545 | 1,107 | 0.712149 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,992 | __init__.py | mbusb_multibootusb/scripts/progressbar/__init__.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# progressbar - Text progress bar library for Python.
# Copyright (c) 2005 Nilton Volpato
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; ei... | 1,920 | Python | .py | 41 | 45.414634 | 78 | 0.778193 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,993 | compat.py | mbusb_multibootusb/scripts/progressbar/compat.py | # -*- coding: utf-8 -*-
#
# progressbar - Text progress bar library for Python.
# Copyright (c) 2005 Nilton Volpato
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1... | 1,442 | Python | .py | 39 | 33.384615 | 76 | 0.722461 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,994 | widgets.py | mbusb_multibootusb/scripts/progressbar/widgets.py | # -*- coding: utf-8 -*-
#
# progressbar - Text progress bar library for Python.
# Copyright (c) 2005 Nilton Volpato
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1... | 11,169 | Python | .py | 259 | 35.177606 | 78 | 0.624803 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,995 | progressbar.py | mbusb_multibootusb/scripts/progressbar/progressbar.py | # -*- coding: utf-8 -*-
#
# progressbar - Text progress bar library for Python.
# Copyright (c) 2005 Nilton Volpato
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1... | 9,475 | Python | .py | 229 | 32.689956 | 79 | 0.620678 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,996 | ansi.py | mbusb_multibootusb/scripts/colorama/ansi.py | # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
'''
This module generates ANSI character codes to printing colors to terminals.
See: http://en.wikipedia.org/wiki/ANSI_escape_code
'''
CSI = '\033['
OSC = '\033]'
BEL = '\007'
def code_to_chars(code):
return CSI + str(code) + 'm'
def set... | 2,524 | Python | .py | 83 | 25.373494 | 78 | 0.563171 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,997 | win32.py | mbusb_multibootusb/scripts/colorama/win32.py | # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
# from winbase.h
STDOUT = -11
STDERR = -12
try:
import ctypes
from ctypes import LibraryLoader
windll = LibraryLoader(ctypes.WinDLL)
from ctypes import wintypes
except (AttributeError, ImportError):
windll = None
SetCon... | 5,426 | Python | .py | 136 | 31.808824 | 111 | 0.663947 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,998 | ansitowin32.py | mbusb_multibootusb/scripts/colorama/ansitowin32.py | # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
import re
import sys
import os
from .ansi import AnsiFore, AnsiBack, AnsiStyle, Style
from .winterm import WinTerm, WinColor, WinStyle
from .win32 import windll, winapi_test
winterm = None
if windll is not None:
winterm = WinTerm()
def ... | 9,711 | Python | .py | 199 | 37.58794 | 103 | 0.599134 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |
33,999 | __init__.py | mbusb_multibootusb/scripts/colorama/__init__.py | # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
from .initialise import init, deinit, reinit, colorama_text
from .ansi import Fore, Back, Style, Cursor
from .ansitowin32 import AnsiToWin32
__version__ = '0.3.8'
| 240 | Python | .py | 5 | 46.6 | 74 | 0.781116 | mbusb/multibootusb | 1,384 | 199 | 203 | GPL-2.0 | 9/5/2024, 5:14:54 PM (Europe/Amsterdam) |