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
18,800
buildwebhelp.py
GNOME_meld/help/C/buildwebhelp.py
#! /usr/bin/python3 import glob import os import subprocess import sys from bs4 import BeautifulSoup JEKYLL_HEADER = """--- layout: help title: Meld - Help --- """ SCSS_HEADER = """ #help-content { border-left: solid 1px #e0e0df; border-right: solid 1px #e0e0df; background-color: #ffffff; } #help-content div...
2,577
Python
.py
92
23.48913
77
0.647227
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,801
filters.py
GNOME_meld/meld/filters.py
# Copyright (C) 2011-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # ...
4,831
Python
.py
131
27.335878
78
0.553087
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,802
undo.py
GNOME_meld/meld/undo.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010-2011 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
9,330
Python
.py
246
28.780488
79
0.59562
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,803
meldwindow.py
GNOME_meld/meld/meldwindow.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
19,232
Python
.py
432
34.881944
83
0.630654
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,804
treehelpers.py
GNOME_meld/meld/treehelpers.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2011-2016 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
4,035
Python
.py
109
26.522936
71
0.565206
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,805
newdifftab.py
GNOME_meld/meld/newdifftab.py
# Copyright (C) 2011-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # ...
6,827
Python
.py
156
35.75
78
0.656019
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,806
meldapp.py
GNOME_meld/meld/meldapp.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
16,257
Python
.py
360
33.394444
79
0.576123
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,807
linkmap.py
GNOME_meld/meld/linkmap.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
5,430
Python
.py
110
38.145455
78
0.582042
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,808
tree.py
GNOME_meld/meld/tree.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2011-2015 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
10,934
Python
.py
253
34.118577
79
0.603593
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,809
diffgrid.py
GNOME_meld/meld/diffgrid.py
# Copyright (C) 2014 Marco Brito <bcaza@null.net> # # 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 2 of the License, or (at # your option) any later version. # # This program is ...
12,994
Python
.py
300
31.926667
78
0.572005
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,810
patchdialog.py
GNOME_meld/meld/patchdialog.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009-2010, 2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 vers...
5,845
Python
.py
134
34.716418
74
0.628476
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,811
recent.py
GNOME_meld/meld/recent.py
# Copyright (C) 2012-2013, 2017-2018 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later ve...
9,755
Python
.py
207
37.169082
78
0.624461
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,812
settings.py
GNOME_meld/meld/settings.py
# Copyright (C) 2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # This ...
5,519
Python
.py
120
38.583333
78
0.676909
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,813
imagediff.py
GNOME_meld/meld/imagediff.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009-2019 Kai Willadsen <kai.willadsen@gmail.com> # Copyright (C) 2023 Martin van Zijl <martin.vanzijl@gmail.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License a...
10,551
Python
.py
256
33.199219
78
0.643339
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,814
chunkmap.py
GNOME_meld/meld/chunkmap.py
# Copyright (C) 2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # This ...
15,200
Python
.py
369
31.775068
81
0.615285
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,815
style.py
GNOME_meld/meld/style.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009 Vincent Legoll <vincent.legoll@gmail.com> # Copyright (C) 2012-2019 Kai Willadsen <kai.willadsen@gmail.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as...
4,706
Python
.py
104
39.278846
79
0.691938
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,816
iohelpers.py
GNOME_meld/meld/iohelpers.py
import pathlib from typing import Optional, Sequence from gi.repository import Gio, GLib, Gtk from meld.conf import _ from meld.misc import get_modal_parent, modal_dialog def trash_or_confirm(gfile: Gio.File) -> bool: """Trash or delete the given Gio.File Files and folders will be moved to the system Tras...
9,442
Python
.py
223
34.811659
79
0.637526
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,817
actiongutter.py
GNOME_meld/meld/actiongutter.py
# Copyright (C) 2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # This ...
14,789
Python
.py
337
34.047478
82
0.621016
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,818
meldbuffer.py
GNOME_meld/meld/meldbuffer.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
11,517
Python
.py
278
32.830935
79
0.626768
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,819
accelerators.py
GNOME_meld/meld/accelerators.py
from typing import Dict, Sequence, Union from gi.repository import Gtk VIEW_ACCELERATORS: Dict[str, Union[str, Sequence[str]]] = { 'app.quit': '<Primary>Q', 'app.help': 'F1', 'app.preferences': '<Primary>comma', 'view.find': '<Primary>F', 'view.find-next': ('<Primary>G', 'F3'), 'view.find-pre...
2,443
Python
.py
61
35.163934
68
0.620109
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,820
windowstate.py
GNOME_meld/meld/windowstate.py
# Copyright (C) 2016 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # This ...
3,156
Python
.py
62
43.806452
77
0.691234
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,821
const.py
GNOME_meld/meld/const.py
import enum from gi.repository import GtkSource from meld.conf import _ class ActionMode(enum.IntEnum): """Action mode for chunk change actions""" Replace = 0 Delete = 1 Insert = 2 class ChunkAction(enum.Enum): delete = 'delete' replace = 'replace' copy_down = 'copy_down' copy_up...
875
Python
.py
27
28.740741
68
0.688702
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,822
build_helpers.py
GNOME_meld/meld/build_helpers.py
# 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 2 of the License, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but ...
17,731
Python
.py
397
33.11335
79
0.57491
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,823
conf.py.in
GNOME_meld/meld/conf.py.in
import os import sys from pathlib import Path __package__ = "meld" __version__ = "3.23.0" APPLICATION_NAME = 'Meld' APPLICATION_ID = 'org.gnome.Meld' SETTINGS_SCHEMA_ID = 'org.gnome.meld' RESOURCE_BASE = '/org/gnome/meld' # START; these paths are clobbered on install by meld.build_helpers DATADIR = Path(sys.prefix)...
1,582
Python
.py
44
32.863636
79
0.715415
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,824
sourceview.py
GNOME_meld/meld/sourceview.py
# Copyright (C) 2009 Vincent Legoll <vincent.legoll@gmail.com> # Copyright (C) 2010-2011, 2013-2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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, eith...
19,001
Python
.py
416
35.59375
79
0.619805
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,825
vcview.py
GNOME_meld/meld/vcview.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010-2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
37,204
Python
.py
800
35.24
84
0.594891
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,826
task.py
GNOME_meld/meld/task.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2012-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
4,646
Python
.py
136
26.102941
71
0.61054
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,827
dirdiff.py
GNOME_meld/meld/dirdiff.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009-2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
77,169
Python
.py
1,703
33.394598
84
0.58287
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,828
preferences.py
GNOME_meld/meld/preferences.py
# Copyright (C) 2002-2009 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
14,554
Python
.py
303
39.656766
111
0.652886
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,829
melddoc.py
GNOME_meld/meld/melddoc.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2011-2021 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
5,548
Python
.py
130
35.692308
76
0.67026
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,830
misc.py
GNOME_meld/meld/misc.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009 Vincent Legoll <vincent.legoll@gmail.com> # Copyright (C) 2012-2013 Kai Willadsen <kai.willadsen@gmail.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as...
14,743
Python
.py
377
30.790451
79
0.62289
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,831
filediff.py
GNOME_meld/meld/filediff.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009-2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
114,491
Python
.py
2,402
36.068693
91
0.59663
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,832
menuhelpers.py
GNOME_meld/meld/menuhelpers.py
from gi.repository import Gio def replace_menu_section(menu: Gio.Menu, section: Gio.MenuItem): """Replaces an existing section in GMenu `menu` with `section` The sections are compared by their `id` attributes, with the matching section in `menu` being replaced by the passed `section`. If there is n...
809
Python
.py
18
38.777778
71
0.678117
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,833
gutterrendererchunk.py
GNOME_meld/meld/gutterrendererchunk.py
# Copyright (C) 2013-2014 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # ...
7,826
Python
.py
173
36.786127
82
0.64753
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,834
externalhelpers.py
GNOME_meld/meld/externalhelpers.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2011-2014, 2018-2019, 2024 Kai Willadsen <kai.willadsen@gmail.com> # # 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, ...
4,835
Python
.py
124
30.33871
87
0.61504
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,835
myers.py
GNOME_meld/meld/matchers/myers.py
# Copyright (C) 2009-2013 Piotr Piastucki <the_leech@users.berlios.de> # Copyright (C) 2012-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 ...
16,835
Python
.py
402
28.154229
79
0.498353
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,836
merge.py
GNOME_meld/meld/matchers/merge.py
# Copyright (C) 2009-2010 Piotr Piastucki <the_leech@users.berlios.de> # # 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 2 of the License, or (at # your option) any later version....
13,035
Python
.py
281
27.163701
79
0.417576
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,837
diffutil.py
GNOME_meld/meld/matchers/diffutil.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2009, 2012-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 vers...
20,493
Python
.py
462
32.649351
79
0.54356
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,838
helpers.py
GNOME_meld/meld/matchers/helpers.py
import logging import multiprocessing import queue import time from gi.repository import GLib from meld.matchers import myers log = logging.getLogger(__name__) class MatcherWorker(multiprocessing.Process): END_TASK = -1 matcher_class = myers.InlineMyersSequenceMatcher def __init__(self, tasks, resu...
3,740
Python
.py
93
31.129032
78
0.618272
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,839
filebutton.py
GNOME_meld/meld/ui/filebutton.py
from typing import Optional from gi.repository import Gio, GObject, Gtk class MeldFileButton(Gtk.Button): __gtype_name__ = "MeldFileButton" file: Optional[Gio.File] = GObject.Property( type=Gio.File, nick="Most recently selected file", ) pane: int = GObject.Property( type=i...
2,410
Python
.py
70
25.628571
78
0.615418
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,840
emblemcellrenderer.py
GNOME_meld/meld/ui/emblemcellrenderer.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010, 2012-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 vers...
4,680
Python
.py
106
34.122642
79
0.600044
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,841
util.py
GNOME_meld/meld/ui/util.py
# Copyright (C) 2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # This ...
3,400
Python
.py
77
37.38961
78
0.672116
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,842
pathlabel.py
GNOME_meld/meld/ui/pathlabel.py
# Copyright (C) 2019-2021 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # ...
7,863
Python
.py
200
30.44
76
0.619617
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,843
msgarea.py
GNOME_meld/meld/ui/msgarea.py
# This file is part of the Hotwire Shell user interface. # # Copyright (C) 2007,2008 Colin Walters <walters@verbum.org> # # 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 2 of the ...
4,507
Python
.py
116
31.413793
79
0.647342
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,844
notebooklabel.py
GNOME_meld/meld/ui/notebooklabel.py
# Copyright (C) 2002-2009 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2008-2009, 2013, 2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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, eithe...
2,020
Python
.py
48
36.354167
77
0.686894
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,845
notebook.py
GNOME_meld/meld/ui/notebook.py
# Copyright (C) 2015-2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # ...
6,029
Python
.py
139
34.906475
78
0.616513
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,846
cellrenderers.py
GNOME_meld/meld/ui/cellrenderers.py
# Copyright (C) 2016 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # This ...
3,919
Python
.py
102
30.186275
74
0.605117
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,847
historyentry.py
GNOME_meld/meld/ui/historyentry.py
# Copyright (C) 2008-2011, 2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version...
4,959
Python
.py
123
32.552846
79
0.642946
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,848
statusbar.py
GNOME_meld/meld/ui/statusbar.py
# Copyright (C) 2012-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # ...
9,885
Python
.py
238
32.546218
77
0.633605
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,849
bufferselectors.py
GNOME_meld/meld/ui/bufferselectors.py
from gi.repository import GObject, Gtk, GtkSource from meld.conf import _ # TODO: Current pygobject support for templates excludes subclassing of # templated classes, which is why we have two near-identical UI files # here, and why we can't subclass Gtk.Grid directly in # FilteredListSelector. class FilteredListSe...
5,050
Python
.py
111
38.027027
73
0.675372
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,850
recentselector.py
GNOME_meld/meld/ui/recentselector.py
# Copyright (C) 2019 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # This ...
3,084
Python
.py
73
35.09589
71
0.674916
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,851
vcdialogs.py
GNOME_meld/meld/ui/vcdialogs.py
# Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010-2013 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
4,835
Python
.py
103
38.281553
79
0.643798
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,852
listwidget.py
GNOME_meld/meld/ui/listwidget.py
# Copyright (C) 2002-2009 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010-2011, 2013, 2018 Kai Willadsen <kai.willadsen@gmail.com> # # 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, eithe...
2,558
Python
.py
57
38.403509
77
0.679791
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,853
gladesupport.py
GNOME_meld/meld/ui/gladesupport.py
import meld.actiongutter # noqa: F401 import meld.chunkmap # noqa: F401 import meld.diffgrid # noqa: F401 import meld.linkmap # noqa: F401 import meld.preferences # noqa: F401 import meld.sourceview # noqa: F401 import meld.ui.emblemcellrenderer # noqa: F401 import meld.ui.filebutton # noqa: F401 import meld.ui...
545
Python
.py
14
37.928571
47
0.774011
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,854
gtkcompat.py
GNOME_meld/meld/ui/gtkcompat.py
# The original C implementation is part of the GTK+ project, under # gtk+/demos/gtk-demo/foreigndrawing.c # # This Python port of portions of the original source code is copyright # (C) 2009-2015 Kai Willadsen <kai.willadsen@gmail.com>, and is released # under the same LGPL version 2 (or later) license. # # This lib...
5,143
Python
.py
120
36.083333
78
0.642257
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,855
findbar.py
GNOME_meld/meld/ui/findbar.py
# Copyright (C) 2002-2009 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2012-2014 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 ...
7,384
Python
.py
166
36.018072
79
0.648532
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,856
gtkutil.py
GNOME_meld/meld/ui/gtkutil.py
# Copyright (C) 2023 Kai Willadsen <kai.willadsen@gmail.com> # # 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 2 of the License, or (at # your option) any later version. # # This ...
938
Python
.py
22
40.409091
83
0.751369
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,857
_vc.py
GNOME_meld/meld/vc/_vc.py
# Copyright (C) 2002-2005 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2010, 2012-2015 Kai Willadsen <kai.willadsen@gmail.com> # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code...
17,376
Python
.py
376
38.194149
79
0.650934
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,858
cvs.py
GNOME_meld/meld/vc/cvs.py
# Copyright (C) 2002-2005 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2015 Kai Willadsen <kai.willadsen@gmail.com> # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retai...
6,697
Python
.py
139
38.381295
79
0.601133
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,859
git.py
GNOME_meld/meld/vc/git.py
# Copyright (C) 2002-2005 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2005 Aaron Bentley <aaron.bentley@utoronto.ca> # Copyright (C) 2007 José Fonseca <j_r_fonseca@yahoo.co.uk> # Copyright (C) 2010-2015 Kai Willadsen <kai.willadsen@gmail.com> # Redistribution and use in source and binary forms, with or without...
15,007
Python
.py
311
37.263666
97
0.591105
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,860
darcs.py
GNOME_meld/meld/vc/darcs.py
# Copyright (C) 2010-2015 Kai Willadsen <kai.willadsen@gmail.com> # Copyright (C) 2016 Guillaume Hoffmann <guillaumh@gmail.com> # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code ...
7,031
Python
.py
146
38.438356
78
0.603617
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,861
__init__.py
GNOME_meld/meld/vc/__init__.py
# Copyright (C) 2002-2005 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2012 Kai Willadsen <kai.willadsen@gmail.com> # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retai...
2,191
Python
.py
41
49.95122
75
0.75432
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,862
svn.py
GNOME_meld/meld/vc/svn.py
# Copyright (C) 2002-2005 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2011-2013, 2015 Kai Willadsen <kai.willadsen@gmail.com> # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code...
7,923
Python
.py
172
36.098837
79
0.603265
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,863
mercurial.py
GNOME_meld/meld/vc/mercurial.py
# Copyright (C) 2002-2005 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2015 Kai Willadsen <kai.willadsen@gmail.com> # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retai...
4,685
Python
.py
96
40.166667
78
0.632742
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,864
_null.py
GNOME_meld/meld/vc/_null.py
# Copyright (C) 2002-2005 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2012-2015 Kai Willadsen <kai.willadsen@gmail.com> # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must ...
2,034
Python
.py
41
45.853659
75
0.745464
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,865
bzr.py
GNOME_meld/meld/vc/bzr.py
# Copyright (C) 2002-2005 Stephen Kennedy <stevek@gnome.org> # Copyright (C) 2005 Aaron Bentley <aaron.bentley@utoronto.ca> # Copyright (C) 2015 Kai Willadsen <kai.willadsen@gmail.com> # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditi...
9,448
Python
.py
200
37.12
79
0.580193
GNOME/meld
1,057
264
0
GPL-2.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,866
screen.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/screen.py
"""This implements a virtual screen. This is used to support ANSI terminal emulation. The screen representation and state is implemented in this class. Most of the methods are inspired by ANSI screen control codes. The ANSI class extends this class to add parsing of ANSI escape codes. $Id: screen.py 486 2007-07-13 01:...
10,402
Python
.py
252
33.242063
101
0.576662
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,867
setup.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/setup.py
''' $Revision: 485 $ $Date: 2007-07-12 15:23:15 -0700 (Thu, 12 Jul 2007) $ ''' from distutils.core import setup setup (name='pexpect', version='2.3', py_modules=['pexpect', 'pxssh', 'fdpexpect', 'FSM', 'screen', 'ANSI'], description='Pexpect is a pure Python Expect. It allows easy control of other applicati...
1,452
Python
.py
35
39.457143
97
0.619958
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,868
pexpect.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/pexpect.py
"""Pexpect is a Python module for spawning child applications and controlling them automatically. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can be u...
75,937
Python
.py
1,500
40.182667
205
0.617702
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,869
pxssh.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/pxssh.py
"""This class extends pexpect.spawn to specialize setting up SSH connections. This adds methods for login, logout, and expecting the shell prompt. $Id: pxssh.py 487 2007-08-29 22:33:29Z noah $ """ from pexpect import * import pexpect import time __all__ = ['ExceptionPxssh', 'pxssh'] # Exception classes used by this...
14,565
Python
.py
266
44.680451
255
0.638127
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,870
fdpexpect.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/fdpexpect.py
"""This is like pexpect, but will work on any file descriptor that you pass it. So you are reponsible for opening and close the file descriptor. $Id: fdpexpect.py 505 2007-12-26 21:33:50Z noah $ """ from pexpect import * import os __all__ = ['fdspawn'] class fdspawn (spawn): """This is like pexpect.spawn but a...
2,488
Python
.py
58
34.241379
139
0.618869
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,871
FSM.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/FSM.py
#!/usr/bin/env python """This module implements a Finite State Machine (FSM). In addition to state this FSM also maintains a user defined "memory". So this FSM can be used as a Push-down Automata (PDA) since a PDA is a FSM + memory. The following describes how the FSM works, but you will probably also need to see the...
13,318
Python
.py
253
46.16996
163
0.675445
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,872
ANSI.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/ANSI.py
"""This implements an ANSI terminal emulator as a subclass of screen. $Id: ANSI.py 491 2007-12-16 20:04:57Z noah $ """ # references: # http://www.retards.org/terminals/vt102.html # http://vt100.net/docs/vt102-ug/contents.html # http://vt100.net/docs/vt220-rm/ # http://www.termsys.demon.co.uk/vtansi.htm...
10,842
Python
.py
262
35.164122
99
0.596381
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,873
chess.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/chess.py
#!/usr/bin/env python '''This demonstrates controlling a screen oriented application (curses). It starts two instances of gnuchess and then pits them against each other. ''' import pexpect import string import ANSI REGEX_MOVE = '(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)' REGEX_MOVE_PART = ...
3,417
Python
.py
103
28.893204
83
0.665341
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,874
python.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/python.py
#!/usr/bin/env python """This starts the python interpreter; captures the startup message; then gives the user interactive control over the session. Why? For fun... """ # Don't do this unless you like being John Malkovich # c = pexpect.spawn ('/usr/bin/env python ./python.py') import pexpect c = pexpect.spawn ('/usr...
660
Python
.py
18
35.444444
79
0.719436
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,875
uptime.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/uptime.py
#!/usr/bin/env python """This displays uptime information using uptime. This is redundant, but it demonstrates expecting for a regular expression that uses subgroups. $Id: uptime.py 489 2007-11-28 23:40:34Z noah $ """ import pexpect import re # There are many different styles of uptime results. I try to parse them ...
2,413
Python
.py
49
47.510204
131
0.660017
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,876
bd_client.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/bd_client.py
#!/usr/bin/env python """This is a very simple client for the backdoor daemon. This is intended more for testing rather than normal use. See bd_serv.py """ import socket import sys, time, select def recv_wrapper(s): r,w,e = select.select([s.fileno()],[],[], 2) if not r: return '' #cols = int(s.re...
957
Python
.py
33
26.636364
78
0.647443
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,877
fix_cvs_files.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/fix_cvs_files.py
#!/usr/bin/env python """This is for cleaning up binary files improperly added to CVS. This script scans the given path to find binary files; checks with CVS to see if the sticky options are set to -kb; finally if sticky options are not -kb then uses 'cvs admin' to set the -kb option. This script ignores CVS director...
2,649
Python
.py
73
33.493151
79
0.709362
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,878
bd_serv.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/bd_serv.py
#!/usr/bin/env python """Back door shell server This exposes an shell terminal on a socket. --hostname : sets the remote host name to open an ssh connection to. --username : sets the user name to login with --password : (optional) sets the password to login with --port : set the local port for th...
10,268
Python
.py
262
31.641221
133
0.599396
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,879
rippy.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/rippy.py
#!/usr/bin/env python """Rippy! This script helps to convert video from one format to another. This is useful for ripping DVD to mpeg4 video (XviD, DivX). Features: * automatic crop detection * mp3 audio compression with resampling options * automatic bitrate calculation based on desired target size ...
49,801
Python
.py
903
49.179402
478
0.653153
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,880
hive.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/hive.py
#!/usr/bin/env python """hive -- Hive Shell This lets you ssh to a group of servers and control them as if they were one. Each command you enter is sent to each host in parallel. The response of each host is collected and printed. In normal synchronous mode Hive will wait for each host to return the shell command lin...
18,065
Python
.py
373
38.302949
191
0.525169
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,881
sshls.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/sshls.py
#!/usr/bin/env python """This runs 'ls -l' on a remote host using SSH. At the prompts enter hostname, user, and password. $Id: sshls.py 489 2007-11-28 23:40:34Z noah $ """ import pexpect import getpass, os def ssh_command (user, host, password, command): """This runs a command on the remote host. This could al...
1,796
Python
.py
46
33.152174
79
0.646552
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,882
passmass.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/passmass.py
#!/usr/bin/env python """Change passwords on the named machines. passmass host1 host2 host3 . . . Note that login shell prompt on remote machine must end in # or $. """ import pexpect import sys, getpass USAGE = '''passmass host1 host2 host3 . . .''' COMMAND_PROMPT = '[$#] ' TERMINAL_PROMPT = r'Terminal type\?' TERM...
2,960
Python
.py
76
32.894737
88
0.638328
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,883
chess3.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/chess3.py
#!/usr/bin/env python '''This demonstrates controlling a screen oriented application (curses). It starts two instances of gnuchess and then pits them against each other. ''' import pexpect import string import ANSI REGEX_MOVE = '(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)' REGEX_MOVE_PART = ...
3,777
Python
.py
112
28.419643
83
0.615958
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,884
monitor.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/monitor.py
#!/usr/bin/env python """ This runs a sequence of commands on a remote host using SSH. It runs a simple system checks such as uptime and free to monitor the state of the remote host. ./monitor.py [-s server_hostname] [-u username] [-p password] -s : hostname of the remote server to login to. -u : username to ...
6,478
Python
.py
181
29.955801
139
0.588733
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,885
chess2.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/chess2.py
#!/usr/bin/env python '''This demonstrates controlling a screen oriented application (curses). It starts two instances of gnuchess and then pits them against each other. ''' import pexpect import string import ANSI import sys, os, time class Chess: def __init__(self, engine = "/usr/local/bin/gnuchess -a -h ...
4,026
Python
.py
108
25.027778
90
0.494457
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,886
ftp.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/ftp.py
#!/usr/bin/env python """This demonstrates an FTP "bookmark". This connects to an ftp site; does a few ftp stuff; and then gives the user interactive control over the session. In this case the "bookmark" is to a directory on the OpenBSD ftp server. It puts you in the i386 packages directory. You can easily modify this...
1,604
Python
.py
41
37.585366
83
0.756583
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,887
script.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/script.py
#!/usr/bin/env python """This spawns a sub-shell (bash) and gives the user interactive control. The entire shell session is logged to a file called script.log. This behaves much like the classic BSD command 'script'. ./script.py [-a] [-c command] {logfilename} logfilename : This is the name of the log file. Defa...
3,028
Python
.py
81
31.716049
89
0.576038
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,888
ssh_session.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/ssh_session.py
# # Eric S. Raymond # # Greatly modified by Nigel W. Moriarty # April 2003 # from pexpect import * import os, sys import getpass import time class ssh_session: "Session with extra state including the password to be used." def __init__(self, user, host, password=None, verbose=0): self.user = user...
2,817
Python
.py
78
24.769231
86
0.50389
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,889
df.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/df.py
#!/usr/bin/env python """This collects filesystem capacity info using the 'df' command. Tuples of filesystem name and percentage are stored in a list. A simple report is printed. Filesystems over 95% capacity are highlighted. Note that this does not parse filesystem names after the first space, so names with spaces in...
959
Python
.py
28
30.75
79
0.678919
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,890
ssh_tunnel.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/ssh_tunnel.py
#!/usr/bin/env python """This starts an SSH tunnel to a given host. If the SSH process ever dies then this script will detect that and restart it. I use this under Cygwin to keep open encrypted tunnels to port 25 (SMTP), port 143 (IMAP4), and port 110 (POP3). I set my mail client to talk to localhost and I keep this s...
2,390
Python
.py
59
35.067797
108
0.655306
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,891
topip.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/topip.py
#!/usr/bin/env python """ This runs netstat on a local or remote server. It calculates some simple statistical information on the number of external inet connections. It groups by IP address. This can be used to detect if one IP address is taking up an excessive number of connections. It can also send an email alert i...
9,640
Python
.py
228
35.175439
117
0.596821
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,892
astat.py
pwnieexpress_raspberry_pwn/src/pexpect-2.3/examples/astat.py
#!/usr/bin/env python """This runs Apache Status on the remote host and returns the number of requests per second. ./astat.py [-s server_hostname] [-u username] [-p password] -s : hostname of the remote server to login to. -u : username to user for login. -p : Password to user for login. Example: Thi...
1,930
Python
.py
60
26.533333
92
0.548491
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,893
replay.py
pwnieexpress_raspberry_pwn/src/aircrack-ng-1.2-rc1/test/replay.py
#!/usr/bin/env python import sys from scapy import * import pcapy from impacket.ImpactDecoder import * try: conf.verb=0 except NameError: # Scapy v2 from scapy.all import * conf.verb=0 if len(sys.argv) != 2: print "Usage: ./replay.py <iface>" sys.exit(1) interface=sys.argv[1] max_bytes = 20...
1,136
Python
.py
41
23.243902
69
0.679926
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,894
dcrack.py
pwnieexpress_raspberry_pwn/src/aircrack-ng-1.2-rc1/scripts/dcrack.py
#!/usr/bin/python import sys import os import subprocess import random import time import sqlite3 import threading import hashlib import gzip import json import datetime import re if sys.version_info[0] >= 3: from socketserver import ThreadingTCPServer from urllib.request import urlopen, URLError from urllib.parse...
17,795
Python
.py
723
21.419087
73
0.618477
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,895
setup.py
pwnieexpress_raspberry_pwn/src/aircrack-ng-1.2-rc1/scripts/airdrop-ng/setup.py
#!/usr/bin/env python # This file is Copyright David Francos Cuartero, licensed under the GPL2 license. from distutils.core import setup import os setup(name='airdrop-ng', version='1.1', description='Rule based Deauth Tool', author='TheX1le', console = [{"script": "airdrop-ng" }], url='h...
488
Python
.py
15
27.466667
81
0.645435
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,896
libDumpParse.py
pwnieexpress_raspberry_pwn/src/aircrack-ng-1.2-rc1/scripts/airdrop-ng/airdrop/libDumpParse.py
#!/usr/bin/python #airodump parsing lib #returns in an array of client and Ap information #part of the airdrop-ng project from sys import exit as Exit class airDumpParse: def parser(self,file): """ One Function to call to parse a file and return the information """ fileOpenResults = self.airDumpOpen(file) pa...
5,413
Python
.py
137
35.408759
177
0.687833
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,897
__init__.py
pwnieexpress_raspberry_pwn/src/aircrack-ng-1.2-rc1/scripts/airdrop-ng/airdrop/__init__.py
import os, sys class bcolors: """ class for using colored text """ HEADER = '\033[95m' #pink OKBLUE = '\033[94m' #blue OKGREEN = '\033[92m' #green WARNING = '\033[93m' #yellow FAIL = '\033[91m' #red ENDC = '\033[0m' #white def disable(self): """ ...
803
Python
.py
29
21.965517
85
0.582361
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,898
libOuiParse.py
pwnieexpress_raspberry_pwn/src/aircrack-ng-1.2-rc1/scripts/airdrop-ng/airdrop/libOuiParse.py
#!/usr/bin/env python __author__ = 'Ben "TheX1le" Smith, Marfi' __email__ = 'thex1le@gmail.com' __website__= '' __date__ = '09/19/09' __version__ = '2009.11.23' __file__ = 'ouiParse.py' __data__ = 'a class for dealing with the oui txt file' """ ######################################## # # This program and its support ...
5,665
Python
.py
150
28.153333
104
0.569508
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)
18,899
uninstall.py
pwnieexpress_raspberry_pwn/src/aircrack-ng-1.2-rc1/scripts/airdrop-ng/old-installers/uninstall.py
#!/usr/bin/env python __author__ = "Marfi" __version__ = "?" from os import system, geteuid from sys import exit if geteuid() != 0: print "airdrop-ng must be root. Please \n'su' or 'sudo -i' and run again. \nExiting..." exit(1) yno = raw_input ("You shouldn't need this. Remove? (y/n): ") if yno == "y": print "Rem...
525
Python
.py
17
29.294118
88
0.667984
pwnieexpress/raspberry_pwn
1,024
184
8
GPL-3.0
9/5/2024, 5:12:22 PM (Europe/Amsterdam)