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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
34,900 | conftest.py | mqtt-tools_mqttwarn/tests/services/pushsafer/conftest.py | import pytest
from tests.util import FakeResponse
@pytest.fixture
def mock_urlopen_success(mocker):
return mocker.patch("urllib.request.urlopen", return_value=FakeResponse(data=b'{"status": 1}'))
@pytest.fixture
def mock_urlopen_failure(mocker):
return mocker.patch("urllib.request.urlopen", return_value=Fa... | 355 | Python | .py | 8 | 41.75 | 99 | 0.780702 | mqtt-tools/mqttwarn | 952 | 183 | 45 | EPL-2.0 | 9/5/2024, 5:15:03 PM (Europe/Amsterdam) |
34,901 | util.py | mqtt-tools_mqttwarn/tests/services/pushsafer/util.py | import typing as t
import urllib.request
from urllib.parse import parse_qsl
TEST_TOKEN = "myToken"
def get_reference_data(**more_data):
data = {
"m": "⚽ Notification message ⚽",
"k": "myToken",
}
data.update(more_data)
return data
def assert_request(request: urllib.request.Request, ... | 904 | Python | .py | 22 | 35.863636 | 98 | 0.679267 | mqtt-tools/mqttwarn | 952 | 183 | 45 | EPL-2.0 | 9/5/2024, 5:15:03 PM (Europe/Amsterdam) |
34,902 | test_pushsafer_common.py | mqtt-tools_mqttwarn/tests/services/pushsafer/test_pushsafer_common.py | # -*- coding: utf-8 -*-
# (c) 2023 The mqttwarn developers
"""
This file contains common cases for the Pushsafer plugin, independently
of the used configuration layout variant (v1 vs. v2) within the `addrs` slot.
"""
import pytest
from mqttwarn.model import ProcessorItem as Item
from mqttwarn.services.pushsafer import... | 1,588 | Python | .py | 34 | 42.5 | 86 | 0.748211 | mqtt-tools/mqttwarn | 952 | 183 | 45 | EPL-2.0 | 9/5/2024, 5:15:03 PM (Europe/Amsterdam) |
34,903 | test_pushsafer_v1.py | mqtt-tools_mqttwarn/tests/services/pushsafer/test_pushsafer_v1.py | # -*- coding: utf-8 -*-
# (c) 2023 The mqttwarn developers
"""
This file contains test cases for the v1 configuration layout variant,
where `addrs` is a list.
"""
import dataclasses
import re
import typing as t
from operator import attrgetter
import pytest
from mqttwarn.model import ProcessorItem as Item
from mqttwar... | 5,901 | Python | .py | 117 | 45.358974 | 118 | 0.646617 | mqtt-tools/mqttwarn | 952 | 183 | 45 | EPL-2.0 | 9/5/2024, 5:15:03 PM (Europe/Amsterdam) |
34,904 | test_pushsafer_v2.py | mqtt-tools_mqttwarn/tests/services/pushsafer/test_pushsafer_v2.py | # -*- coding: utf-8 -*-
# (c) 2023 The mqttwarn developers
"""
This file contains test cases for the v2 configuration layout variant,
where `addrs` is a dictionary.
"""
import dataclasses
import re
import typing as t
from operator import attrgetter
import pytest
from mqttwarn.model import ProcessorItem as Item
from m... | 6,013 | Python | .py | 119 | 45.386555 | 120 | 0.686396 | mqtt-tools/mqttwarn | 952 | 183 | 45 | EPL-2.0 | 9/5/2024, 5:15:03 PM (Europe/Amsterdam) |
34,905 | ntfy.py | mqtt-tools_mqttwarn/tests/fixtures/ntfy.py | # -*- coding: utf-8 -*-
# Copyright (c) 2023 Andreas Motl <andreas.motl@panodata.org>
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
"""
Provide the `ntfy`_ API service as a session-scoped fixture to your test
harness.... | 2,005 | Python | .py | 60 | 28.25 | 114 | 0.668915 | mqtt-tools/mqttwarn | 952 | 183 | 45 | EPL-2.0 | 9/5/2024, 5:15:03 PM (Europe/Amsterdam) |
34,906 | amqp-puka-get.py | mqtt-tools_mqttwarn/contrib/amqp-puka-get.py | #!/usr/bin/env python
from __future__ import print_function
import sys
import puka
import json
exchange = 'mqttwarn'
routing_key = 'all'
client = puka.Client('amqp://guest:guest@localhost')
promise = client.connect()
client.wait(promise)
promise = client.exchange_declare(exchange=exchange, type='direct')
client.wai... | 799 | Python | .py | 25 | 28.72 | 89 | 0.745431 | mqtt-tools/mqttwarn | 952 | 183 | 45 | EPL-2.0 | 9/5/2024, 5:15:03 PM (Europe/Amsterdam) |
34,907 | zabbix_mqtt_agent.py | mqtt-tools_mqttwarn/contrib/zabbix_mqtt_agent.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Example "agent" for Zabbix/mqttwarn which publishes two metrics
# every few seconds.
import paho.mqtt.client as paho # pip install paho-mqtt
import ssl
import time
import sys
from random import randint
__author__ = 'Jan-Piet Mens <jpmens()gmail.com>'
__copyright__... | 1,354 | Python | .py | 36 | 34.583333 | 96 | 0.691954 | mqtt-tools/mqttwarn | 952 | 183 | 45 | EPL-2.0 | 9/5/2024, 5:15:03 PM (Europe/Amsterdam) |
34,908 | Export.py | tangqiaoboy_iOSBlogCN/Export.py | __author__ = 'wwxiang'
#coding=utf-8
import os
import re
work = os.getcwd()
resxml = work + os.path.sep + 'blogcn.opml'
workmd = work + os.path.sep + 'README.md'
def handler():
isblock = True
handlerData = []
lineNo = 0
try:
with open(workmd,'rb') as linefs:
lineCout = len(linefs... | 1,482 | Python | .py | 41 | 26.439024 | 150 | 0.524355 | tangqiaoboy/iOSBlogCN | 5,396 | 1,312 | 4 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,909 | setup.py | bleachbit_bleachbit/setup.py | #!/usr/bin/env python
# vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3... | 10,908 | Python | .py | 260 | 33.165385 | 151 | 0.599284 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,910 | bleachbit.py | bleachbit_bleachbit/bleachbit.py | #!/usr/bin/python3
# vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of... | 2,039 | Python | .py | 52 | 34.807692 | 106 | 0.715369 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,911 | copyright | bleachbit_bleachbit/debian/copyright | This package was debianized by Andrew Ziem <andrew@bleachbit.org> on
Sun, 28 Dec 2008 12:11:08 -0700.
It was downloaded from: https://www.bleachbit.org
Upstream author: Andrew Ziem <andrew@bleachbit.org>
This software is copyright (C) 2008-2024 by Andrew Ziem.
You are free to distribute this software under the term... | 562 | Python | .py | 10 | 54.7 | 68 | 0.797075 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,912 | RecognizeCleanerML.py | bleachbit_bleachbit/bleachbit/RecognizeCleanerML.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 5,989 | Python | .py | 149 | 33.033557 | 177 | 0.662823 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,913 | _platform.py | bleachbit_bleachbit/bleachbit/_platform.py | #! /usr/bin/python3.7
""" This module tries to retrieve as much platform-identifying data as
possible. It makes this information available via function APIs.
If called from the command line, it prints the platform
information concatenated as single string to stdout. The output
format is usable as part... | 11,968 | Python | .py | 255 | 40.105882 | 89 | 0.6285 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,914 | GUI.py | bleachbit_bleachbit/bleachbit/GUI.py | #!/usr/bin/python3
# vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of... | 50,401 | Python | .py | 1,086 | 35.323204 | 200 | 0.603676 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,915 | WindowsWipe.py | bleachbit_bleachbit/bleachbit/WindowsWipe.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 41,499 | Python | .py | 844 | 40.191943 | 143 | 0.636586 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,916 | Command.py | bleachbit_bleachbit/bleachbit/Command.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 10,906 | Python | .py | 271 | 28.99262 | 175 | 0.561241 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,917 | GuiChaff.py | bleachbit_bleachbit/bleachbit/GuiChaff.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 versio... | 7,433 | Python | .py | 163 | 36.748466 | 109 | 0.647465 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,918 | CLI.py | bleachbit_bleachbit/bleachbit/CLI.py | #!/usr/bin/python3
# vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of... | 11,599 | Python | .py | 261 | 36.183908 | 162 | 0.633251 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,919 | DesktopMenuOptions.py | bleachbit_bleachbit/bleachbit/DesktopMenuOptions.py | from bleachbit.Options import options
import os
from pathlib import Path
def install_kde_service_menu_file():
try:
# Honor the XDG Base Directory Specification first
# and check if $XDG_DATA_HOME has already been defined.
# The path default is $HOME/.local/share
data_home_path = P... | 1,541 | Python | .py | 39 | 33.487179 | 181 | 0.679573 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,920 | SystemInformation.py | bleachbit_bleachbit/bleachbit/SystemInformation.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 4,347 | Python | .py | 97 | 38.804124 | 122 | 0.623377 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,921 | General.py | bleachbit_bleachbit/bleachbit/General.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 5,922 | Python | .py | 156 | 32.121795 | 154 | 0.66277 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,922 | Action.py | bleachbit_bleachbit/bleachbit/Action.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 22,628 | Python | .py | 514 | 33.632296 | 110 | 0.604803 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,923 | Windows.py | bleachbit_bleachbit/bleachbit/Windows.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 31,432 | Python | .py | 721 | 35.199723 | 131 | 0.648562 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,924 | CleanerML.py | bleachbit_bleachbit/bleachbit/CleanerML.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 12,948 | Python | .py | 297 | 34.656566 | 110 | 0.634005 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,925 | GuiPreferences.py | bleachbit_bleachbit/bleachbit/GuiPreferences.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 versio... | 22,036 | Python | .py | 439 | 38.446469 | 160 | 0.60539 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,926 | Update.py | bleachbit_bleachbit/bleachbit/Update.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 7,752 | Python | .py | 201 | 31.880597 | 198 | 0.638601 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,927 | DeepScan.py | bleachbit_bleachbit/bleachbit/DeepScan.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 4,025 | Python | .py | 99 | 32.040404 | 90 | 0.628842 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,928 | FileUtilities.py | bleachbit_bleachbit/bleachbit/FileUtilities.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 35,891 | Python | .py | 916 | 29.46179 | 123 | 0.585249 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,929 | __init__.py | bleachbit_bleachbit/bleachbit/__init__.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 10,468 | Python | .py | 276 | 33.536232 | 100 | 0.698905 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,930 | Unix.py | bleachbit_bleachbit/bleachbit/Unix.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 28,320 | Python | .py | 694 | 30.404899 | 106 | 0.557149 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,931 | Chaff.py | bleachbit_bleachbit/bleachbit/Chaff.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 12,128 | Python | .py | 292 | 32.599315 | 146 | 0.627301 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,932 | Memory.py | bleachbit_bleachbit/bleachbit/Memory.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 11,072 | Python | .py | 283 | 32.007067 | 121 | 0.617253 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,933 | Options.py | bleachbit_bleachbit/bleachbit/Options.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 14,167 | Python | .py | 330 | 33.057576 | 105 | 0.601349 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,934 | Cleaner.py | bleachbit_bleachbit/bleachbit/Cleaner.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 31,030 | Python | .py | 636 | 36.059748 | 126 | 0.567251 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,935 | Worker.py | bleachbit_bleachbit/bleachbit/Worker.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 14,116 | Python | .py | 313 | 32.338658 | 133 | 0.553457 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,936 | Log.py | bleachbit_bleachbit/bleachbit/Log.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 3,422 | Python | .py | 93 | 30.870968 | 76 | 0.660417 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,937 | Winapp.py | bleachbit_bleachbit/bleachbit/Winapp.py |
# vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
#... | 17,845 | Python | .py | 399 | 34.681704 | 119 | 0.599287 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,938 | GuiBasic.py | bleachbit_bleachbit/bleachbit/GuiBasic.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 7,627 | Python | .py | 176 | 34.642045 | 251 | 0.636548 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,939 | Special.py | bleachbit_bleachbit/bleachbit/Special.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 19,578 | Python | .py | 392 | 41.290816 | 120 | 0.629372 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,940 | utils.py | bleachbit_bleachbit/bleachbit/markovify/utils.py | # markovify
# Copyright (c) 2015, Jeremy Singer-Vine
# Origin: https://github.com/jsvine/markovify
# MIT License: https://github.com/jsvine/markovify/blob/master/LICENSE.txt
from .chain import Chain
from .text import Text
def get_model_dict(thing):
if isinstance(thing, Chain):
return thing.model
if is... | 2,073 | Python | .py | 51 | 33.215686 | 102 | 0.634826 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,941 | text.py | bleachbit_bleachbit/bleachbit/markovify/text.py | # markovify
# Copyright (c) 2015, Jeremy Singer-Vine
# Origin: https://github.com/jsvine/markovify
# MIT License: https://github.com/jsvine/markovify/blob/master/LICENSE.txt
import re
import random
from .splitters import split_into_sentences
from .chain import Chain, BEGIN
# BleachBit does not use unidecode
#from unid... | 8,716 | Python | .py | 203 | 33.482759 | 177 | 0.616893 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,942 | __init__.py | bleachbit_bleachbit/bleachbit/markovify/__init__.py | # version is not needed
#from .__version__ import __version__
from .chain import Chain
from .text import Text, NewlineText
from .splitters import split_into_sentences
from .utils import combine
| 194 | Python | .py | 6 | 31.333333 | 43 | 0.797872 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,943 | splitters.py | bleachbit_bleachbit/bleachbit/markovify/splitters.py | # -*- coding: utf-8 -*-
# markovify
# Copyright (c) 2015, Jeremy Singer-Vine
# Origin: https://github.com/jsvine/markovify
# MIT License: https://github.com/jsvine/markovify/blob/master/LICENSE.txt
import re
ascii_lowercase = "abcdefghijklmnopqrstuvwxyz"
ascii_uppercase = ascii_lowercase.upper()
# States w/ with th... | 2,222 | Python | .py | 50 | 39.3 | 148 | 0.640465 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,944 | chain.py | bleachbit_bleachbit/bleachbit/markovify/chain.py | # markovify
# Copyright (c) 2015, Jeremy Singer-Vine
# Origin: https://github.com/jsvine/markovify
# MIT License: https://github.com/jsvine/markovify/blob/master/LICENSE.txt
import random
import operator
import bisect
import json
# Python3 compatibility
try: # pragma: no cover
basestring
except NameError: # pragm... | 5,159 | Python | .py | 132 | 30.590909 | 86 | 0.612665 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,945 | TestUnix.py | bleachbit_bleachbit/tests/TestUnix.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 17,185 | Python | .py | 341 | 39.929619 | 130 | 0.609001 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,946 | TestCommand.py | bleachbit_bleachbit/tests/TestCommand.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 2,232 | Python | .py | 59 | 32.254237 | 71 | 0.682723 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,947 | TestInit.py | bleachbit_bleachbit/tests/TestInit.py | # vim: ts=4:sw=4:expandtab
# coding=utf-8
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the... | 1,926 | Python | .py | 49 | 33.469388 | 71 | 0.670601 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,948 | TestDeepScan.py | bleachbit_bleachbit/tests/TestDeepScan.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 5,699 | Python | .py | 140 | 31.342857 | 92 | 0.586057 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,949 | TestOptions.py | bleachbit_bleachbit/tests/TestOptions.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 7,179 | Python | .py | 165 | 35.30303 | 82 | 0.635294 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,950 | TestAction.py | bleachbit_bleachbit/tests/TestAction.py | # vim: ts=4:sw=4:expandtab
# coding=utf-8
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the... | 19,847 | Python | .py | 422 | 36.523697 | 116 | 0.583325 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,951 | TestWipe.py | bleachbit_bleachbit/tests/TestWipe.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 6,438 | Python | .py | 186 | 28.026882 | 83 | 0.633435 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,952 | TestUpdate.py | bleachbit_bleachbit/tests/TestUpdate.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 5,995 | Python | .py | 134 | 36.037313 | 218 | 0.626415 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,953 | TestNsisUtilities.py | bleachbit_bleachbit/tests/TestNsisUtilities.py | #!/usr/bin/python3
# vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of... | 12,974 | Python | .py | 246 | 40.784553 | 120 | 0.627364 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,954 | TestGeneral.py | bleachbit_bleachbit/tests/TestGeneral.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 5,553 | Python | .py | 127 | 35.661417 | 84 | 0.613519 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,955 | TestSystemInformation.py | bleachbit_bleachbit/tests/TestSystemInformation.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 1,209 | Python | .py | 30 | 37.733333 | 71 | 0.758532 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,956 | TestExternalCommand.py | bleachbit_bleachbit/tests/TestExternalCommand.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 7,214 | Python | .py | 138 | 42.637681 | 110 | 0.665626 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,957 | TestMemory.py | bleachbit_bleachbit/tests/TestMemory.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 5,261 | Python | .py | 124 | 36.008065 | 106 | 0.59027 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,958 | TestAll.py | bleachbit_bleachbit/tests/TestAll.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 1,646 | Python | .py | 39 | 39.128205 | 94 | 0.717528 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,959 | TestCleaner.py | bleachbit_bleachbit/tests/TestCleaner.py | # vim: ts=4:sw=4:expandtab
# coding=utf-8
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the... | 11,151 | Python | .py | 240 | 35.475 | 95 | 0.594759 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,960 | TestWorker.py | bleachbit_bleachbit/tests/TestWorker.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 11,704 | Python | .py | 262 | 35.900763 | 89 | 0.648275 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,961 | TestRecognizeCleanerML.py | bleachbit_bleachbit/tests/TestRecognizeCleanerML.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 1,165 | Python | .py | 29 | 37.551724 | 71 | 0.758193 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,962 | TestMakefile.py | bleachbit_bleachbit/tests/TestMakefile.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 3,279 | Python | .py | 82 | 34.134146 | 102 | 0.679055 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,963 | TestCLI.py | bleachbit_bleachbit/tests/TestCLI.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 8,454 | Python | .py | 194 | 34.036082 | 88 | 0.605004 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,964 | TestFileUtilities.py | bleachbit_bleachbit/tests/TestFileUtilities.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 37,325 | Python | .py | 875 | 32.019429 | 118 | 0.587214 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,965 | TestChaff.py | bleachbit_bleachbit/tests/TestChaff.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 5,000 | Python | .py | 116 | 34.517241 | 106 | 0.63513 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,966 | common.py | bleachbit_bleachbit/tests/common.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 8,008 | Python | .py | 206 | 32.024272 | 127 | 0.656169 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,967 | TestSpecial.py | bleachbit_bleachbit/tests/TestSpecial.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 33,756 | Python | .py | 449 | 68.625835 | 633 | 0.720273 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,968 | TestWindows.py | bleachbit_bleachbit/tests/TestWindows.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 20,327 | Python | .py | 460 | 33.98913 | 131 | 0.614405 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,969 | TestCleanerML.py | bleachbit_bleachbit/tests/TestCleanerML.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 6,165 | Python | .py | 151 | 33.357616 | 85 | 0.653358 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,970 | TestCommon.py | bleachbit_bleachbit/tests/TestCommon.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 2,925 | Python | .py | 70 | 35.128571 | 105 | 0.651638 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,971 | TestWinapp.py | bleachbit_bleachbit/tests/TestWinapp.py | # vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of the License, or
# ... | 25,104 | Python | .py | 514 | 37.188716 | 131 | 0.569501 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,972 | TestGUI.py | bleachbit_bleachbit/tests/TestGUI.py | # vim: ts=4:sw=4:expandtab
# -*- coding: UTF-8 -*-
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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... | 10,597 | Python | .py | 248 | 33.532258 | 110 | 0.624175 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,973 | setup_py2exe.py | bleachbit_bleachbit/windows/setup_py2exe.py | """
BleachBit
Copyright (C) 2008-2024 Andrew Ziem
https://www.bleachbit.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 3 of the License, or
(at your option) any later version.
This... | 22,148 | Python | .py | 524 | 35.650763 | 348 | 0.65432 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,974 | NsisUtilities.py | bleachbit_bleachbit/windows/NsisUtilities.py | #!/usr/bin/python3
# vim: ts=4:sw=4:expandtab
# BleachBit
# Copyright (C) 2008-2024 Andrew Ziem
# https://www.bleachbit.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 3 of... | 4,903 | Python | .py | 97 | 42.876289 | 162 | 0.677035 | bleachbit/bleachbit | 2,959 | 261 | 299 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,975 | setup.py | chipsec_chipsec/setup.py | #!/usr/bin/env python3
# CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This progra... | 10,611 | Python | .py | 239 | 36.8159 | 129 | 0.635651 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,976 | chipsec_util.py | chipsec_chipsec/chipsec_util.py | #!/usr/bin/env python3
# CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This progra... | 9,108 | Python | .py | 179 | 43.715084 | 148 | 0.64668 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,977 | .pylintrc | chipsec_chipsec/.pylintrc | [MAIN]
# Analyse import fallback blocks. This can be used to support both Python 2 and
# 3 compatible code, which means that the block might have code that exists
# only in one or another interpreter, leading to false positives when analysed.
analyse-fallback-blocks=no
# Clear in-memory caches upon conclusion of lint... | 21,197 | Python | .py | 456 | 44.239035 | 166 | 0.788632 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,978 | chipsec_main.py | chipsec_chipsec/chipsec_main.py | #!/usr/bin/env python3
# CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2022, Intel Corporation
#
# 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; Version 2.
#
# This progra... | 21,429 | Python | .py | 401 | 44.062344 | 198 | 0.620367 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,979 | module.py | chipsec_chipsec/chipsec/module.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 5,775 | Python | .py | 139 | 31.510791 | 126 | 0.59943 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,980 | config.py | chipsec_chipsec/chipsec/config.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2023, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in t... | 18,768 | Python | .py | 403 | 33.856079 | 160 | 0.550517 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,981 | command.py | chipsec_chipsec/chipsec/command.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2016, Google
# Copyright (c) 2019-2021, Intel Corporation
#
# 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; Version 2.
#
# This ... | 2,485 | Python | .py | 62 | 33.951613 | 161 | 0.688778 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,982 | testcase.py | chipsec_chipsec/chipsec/testcase.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2018-2022, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 13,364 | Python | .py | 315 | 31.628571 | 130 | 0.551974 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,983 | module_common.py | chipsec_chipsec/chipsec/module_common.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2022, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 2,975 | Python | .py | 76 | 34.381579 | 88 | 0.613865 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,984 | __init__.py | chipsec_chipsec/chipsec/__init__.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2015, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 865 | Python | .py | 21 | 40.095238 | 81 | 0.792162 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,985 | parsers.py | chipsec_chipsec/chipsec/parsers.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2023, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in t... | 2,725 | Python | .py | 69 | 35.318841 | 121 | 0.708938 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,986 | chipset.py | chipsec_chipsec/chipsec/chipset.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2022, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 9,437 | Python | .py | 220 | 34.213636 | 155 | 0.598606 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,987 | uefi_search.py | chipsec_chipsec/chipsec/hal/uefi_search.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 9,303 | Python | .py | 208 | 37.456731 | 178 | 0.600264 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,988 | uefi_platform.py | chipsec_chipsec/chipsec/hal/uefi_platform.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 53,828 | Python | .py | 1,098 | 42.200364 | 202 | 0.642098 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,989 | msr.py | chipsec_chipsec/chipsec/hal/msr.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 7,409 | Python | .py | 138 | 47.905797 | 211 | 0.570797 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,990 | pcidb.py | chipsec_chipsec/chipsec/hal/pcidb.py | # -*- coding: utf-8 -*-
# CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This prog... | 1,081,119 | Python | .py | 20,783 | 39.511476 | 143 | 0.589361 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,991 | smbios.py | chipsec_chipsec/chipsec/hal/smbios.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2019-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 21,907 | Python | .py | 444 | 40.331081 | 158 | 0.612807 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,992 | pci.py | chipsec_chipsec/chipsec/hal/pci.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2022, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 21,085 | Python | .py | 450 | 38.184444 | 195 | 0.586281 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,993 | io.py | chipsec_chipsec/chipsec/hal/io.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 4,010 | Python | .py | 94 | 36.202128 | 106 | 0.618107 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,994 | uefi_common.py | chipsec_chipsec/chipsec/hal/uefi_common.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 43,656 | Python | .py | 923 | 42.626219 | 758 | 0.627769 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,995 | mmio.py | chipsec_chipsec/chipsec/hal/mmio.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 24,689 | Python | .py | 523 | 37.558317 | 137 | 0.560511 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,996 | hal_base.py | chipsec_chipsec/chipsec/hal/hal_base.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2016, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 972 | Python | .py | 27 | 34.074074 | 81 | 0.765957 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,997 | tpm_eventlog.py | chipsec_chipsec/chipsec/hal/tpm_eventlog.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2017, Google Inc
# Copyright (c) 2019-2021, Intel Corporation
#
# 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; Version 2.
#
# T... | 6,348 | Python | .py | 147 | 36.632653 | 187 | 0.657152 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,998 | cmos.py | chipsec_chipsec/chipsec/hal/cmos.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 3,239 | Python | .py | 76 | 37.907895 | 81 | 0.652588 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
34,999 | spi.py | chipsec_chipsec/chipsec/hal/spi.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2010-2021, Intel Corporation
#
# 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; Version 2.
#
# This program is distributed in the... | 36,413 | Python | .py | 688 | 43.75436 | 163 | 0.567565 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |