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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35,200 | test_msr.py | chipsec_chipsec/tests/software/test_msr.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 1,404 | Python | .py | 34 | 35.411765 | 81 | 0.688235 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,201 | util.py | chipsec_chipsec/tests/software/util.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 2,673 | Python | .py | 66 | 34.409091 | 81 | 0.682852 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,202 | test_platform.py | chipsec_chipsec/tests/software/test_platform.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 984 | Python | .py | 24 | 38.916667 | 81 | 0.769392 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,203 | test_reg.py | chipsec_chipsec/tests/software/test_reg.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2017, Google
#
# 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 hope that it wi... | 1,600 | Python | .py | 36 | 39.972222 | 81 | 0.714286 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,204 | test_spi.py | chipsec_chipsec/tests/software/test_spi.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 1,765 | Python | .py | 42 | 37.333333 | 81 | 0.712033 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,205 | test_acpi.py | chipsec_chipsec/tests/software/test_acpi.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 9,757 | Python | .py | 183 | 37.191257 | 81 | 0.506982 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,206 | test_main.py | chipsec_chipsec/tests/software/test_main.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2017, Google
# Copyright (c) 2018-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 ... | 3,060 | Python | .py | 53 | 52.867925 | 820 | 0.718479 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,207 | mock_helper.py | chipsec_chipsec/tests/software/mock_helper.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 15,857 | Python | .py | 365 | 33.805479 | 92 | 0.585909 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,208 | test_cs.py | chipsec_chipsec/tests/software/test_cs.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 2,051 | Python | .py | 43 | 43.465116 | 118 | 0.737606 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,209 | cs.py | chipsec_chipsec/tests/software/cs.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 2,301 | Python | .py | 57 | 34.77193 | 93 | 0.70009 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,210 | test_tpm_eventlog.py | chipsec_chipsec/tests/software/test_tpm_eventlog.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2017, Google
#
# 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 hope that it wi... | 1,918 | Python | .py | 44 | 38.272727 | 77 | 0.698498 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,211 | test_cmos.py | chipsec_chipsec/tests/software/test_cmos.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 1,555 | Python | .py | 35 | 38.428571 | 81 | 0.689198 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,212 | run_chipsec_module.py | chipsec_chipsec/tests/modules/run_chipsec_module.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,495 | Python | .py | 50 | 45.62 | 147 | 0.726039 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,213 | test_sgx_check.py | chipsec_chipsec/tests/modules/test_sgx_check.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 the hope... | 1,548 | Python | .py | 33 | 44.515152 | 115 | 0.761431 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,214 | __init__.py | chipsec_chipsec/tests/modules/__init__.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... | 799 | Python | .py | 19 | 40.157895 | 82 | 0.769526 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,215 | test_cpu_info.py | chipsec_chipsec/tests/modules/test_cpu_info.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 the hope... | 1,546 | Python | .py | 38 | 36.947368 | 81 | 0.738 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,216 | test_tgl_modules.py | chipsec_chipsec/tests/modules/test_tgl_modules.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2ExitCode.OK23, 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 i... | 5,007 | Python | .py | 90 | 48.166667 | 126 | 0.719856 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,217 | helper_utils.py | chipsec_chipsec/tests/helpers/helper_utils.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 the hope... | 1,472 | Python | .py | 31 | 43.870968 | 106 | 0.724234 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,218 | test_recordhelper.py | chipsec_chipsec/tests/helpers/test_recordhelper.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 the hope... | 4,565 | Python | .py | 89 | 43.764045 | 81 | 0.689733 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,219 | test_replayhelper.py | chipsec_chipsec/tests/helpers/test_replayhelper.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 the hope... | 4,189 | Python | .py | 82 | 44.341463 | 92 | 0.71093 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,220 | test_linuxhelper.py | chipsec_chipsec/tests/helpers/test_linuxhelper.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 the hope... | 12,842 | Python | .py | 226 | 47.876106 | 187 | 0.667798 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,221 | test_windowshelper.py | chipsec_chipsec/tests/helpers/test_windowshelper.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 the hope... | 13,778 | Python | .py | 287 | 39.843206 | 154 | 0.661346 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,222 | test_template_cmd.py | chipsec_chipsec/tests/utilcmd/test_template_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 1,631 | Python | .py | 36 | 42.944444 | 131 | 0.755975 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,223 | run_chipsec_util.py | chipsec_chipsec/tests/utilcmd/run_chipsec_util.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 the hope... | 2,179 | Python | .py | 49 | 41.204082 | 122 | 0.734588 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,224 | test_io_cmd.py | chipsec_chipsec/tests/utilcmd/io_cmd/test_io_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 2,341 | Python | .py | 45 | 48.377778 | 122 | 0.714286 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,225 | test_txt_cmd.py | chipsec_chipsec/tests/utilcmd/txt_cmd/test_txt_cmd.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 the hope... | 1,939 | Python | .py | 40 | 45.425 | 115 | 0.730058 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,226 | test_cmos_cmd.py | chipsec_chipsec/tests/utilcmd/cmos_cmd/test_cmos_cmd.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 the hope... | 3,236 | Python | .py | 55 | 54.163636 | 126 | 0.705436 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,227 | test_config_cmd.py | chipsec_chipsec/tests/utilcmd/config_cmd/test_config_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 2,033 | Python | .py | 40 | 47.775 | 135 | 0.735783 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,228 | test_mmcfg_cmd.py | chipsec_chipsec/tests/utilcmd/mmcfg_cmd/test_mmcfg_cmd.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 the hope... | 2,798 | Python | .py | 50 | 51.84 | 136 | 0.710219 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,229 | test_chipset_cmd.py | chipsec_chipsec/tests/utilcmd/chipset_cmd/test_chipset_cmd.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 the hope... | 1,564 | Python | .py | 35 | 42.4 | 129 | 0.757874 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,230 | test_igd_cmd.py | chipsec_chipsec/tests/utilcmd/igd_cmd/test_igd_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 1,993 | Python | .py | 40 | 46.775 | 140 | 0.734977 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,231 | test_tpm_cmd.py | chipsec_chipsec/tests/utilcmd/tpm_cmd/test_tpm_cmd.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 the hope... | 2,369 | Python | .py | 52 | 41.269231 | 135 | 0.715904 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,232 | test_msr_cmd.py | chipsec_chipsec/tests/utilcmd/msr_cmd/test_msr_cmd.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 the hope... | 2,371 | Python | .py | 45 | 49.044444 | 124 | 0.716688 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,233 | test_acpi_cmd.py | chipsec_chipsec/tests/utilcmd/acpi_cmd/test_acpi_cmd.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 the hope... | 1,957 | Python | .py | 40 | 45.875 | 120 | 0.732077 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,234 | test_desc_cmd.py | chipsec_chipsec/tests/utilcmd/desc_cmd/test_desc_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 1,917 | Python | .py | 40 | 44.875 | 108 | 0.727953 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,235 | test_mmcfg_base_cmd.py | chipsec_chipsec/tests/utilcmd/mmcfg_base_cmd/test_mmcfg_base_cmd.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 the hope... | 1,562 | Python | .py | 35 | 42.342857 | 120 | 0.753614 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,236 | test_cpu_cmd.py | chipsec_chipsec/tests/utilcmd/cpu_cmd/test_cpu_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 1,978 | Python | .py | 41 | 45.146341 | 116 | 0.726567 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,237 | test_interrupts_cmd.py | chipsec_chipsec/tests/utilcmd/interrupts_cmd/test_interrupts_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 2,035 | Python | .py | 40 | 47.825 | 139 | 0.740573 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,238 | test_iommu_cmd.py | chipsec_chipsec/tests/utilcmd/iommu_cmd/test_iommu_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 3,663 | Python | .py | 60 | 56.216667 | 128 | 0.702477 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,239 | test_ec_cmd.py | chipsec_chipsec/tests/utilcmd/ec_cmd/test_ec_cmd.py | # CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2024, 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 hope... | 3,681 | Python | .py | 60 | 56.5 | 130 | 0.693352 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,240 | test_x1_carbon_ubuntu.py | chipsec_chipsec/tests/hardware/test_x1_carbon_ubuntu.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 1,488 | Python | .py | 37 | 35.72973 | 81 | 0.724758 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,241 | test_z420_ubuntu.py | chipsec_chipsec/tests/hardware/test_z420_ubuntu.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 1,495 | Python | .py | 38 | 34.947368 | 81 | 0.726584 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,242 | test_elitebook_1040_ubuntu.py | chipsec_chipsec/tests/hardware/test_elitebook_1040_ubuntu.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 1,567 | Python | .py | 39 | 35.564103 | 81 | 0.723572 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,243 | test_generic.py | chipsec_chipsec/tests/hardware/test_generic.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 2,697 | Python | .py | 63 | 35.920635 | 81 | 0.662471 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,244 | test_ubuntu.py | chipsec_chipsec/tests/hardware/test_ubuntu.py | # CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be useful,
# but WITHOUT A... | 1,708 | Python | .py | 44 | 33.431818 | 81 | 0.701511 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,245 | qemu_efi.py | chipsec_chipsec/scripts/qemu_efi.py | #!/usr/bin/env python3
# CHIPSEC: Platform Security Assessment Framework
#
# 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 hope that it will be ... | 7,179 | Python | .py | 151 | 40.417219 | 118 | 0.648942 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,246 | build_exe_win7-amd64.py | chipsec_chipsec/scripts/build_exe_win7-amd64.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... | 2,915 | Python | .py | 79 | 33.075949 | 108 | 0.693017 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,247 | build_exe_win7-x86.py | chipsec_chipsec/scripts/build_exe_win7-x86.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... | 2,903 | Python | .py | 79 | 32.924051 | 104 | 0.691705 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,248 | strip_record_json_of_pcienumeration.py | chipsec_chipsec/scripts/strip_record_json_of_pcienumeration.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... | 3,560 | Python | .py | 82 | 33.926829 | 82 | 0.593915 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,249 | code-style-python.rst | chipsec_chipsec/docs/sphinx/contribution/code-style-python.rst | .. _Code-Style-Python:
Python Version
==============
All Python code, and PEP support, must to be limited to the features supported by **Python 3.6.8**.
This is earliest version of Python utilized by CHIPSEC, the version of the EFI Shell Python.
Python Coding Style Guide
=========================
CHIPSEC mostly f... | 13,348 | Python | .pyt | 300 | 39.14 | 177 | 0.686909 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,250 | Contact.rst | chipsec_chipsec/docs/sphinx/start/Contact.rst | .. _Contact:
Contact
=======
For any questions or suggestions please contact us at: chipsec@intel.com
We also have the `issue tracker <https://github.com/chipsec/chipsec/issues>`_ in our GitHub repo. If you'd like to report a bug or make a request please open an issue.
If you'd like to make a contribution to the co... | 1,025 | Python | .tac | 19 | 51.578947 | 167 | 0.758065 | chipsec/chipsec | 2,910 | 580 | 63 | GPL-2.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,251 | setup.py | XuShaohua_bcloud/setup.py | #!/usr/bin/env python3
# Copyright (C) 2014 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in the LICENSE file.
from distutils.core import setup
from distutils.core import Command
from distutils.command.clean import clean as distutils_clean
from distutils... | 1,786 | Python | .py | 48 | 30.083333 | 79 | 0.623264 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,252 | Config.py | XuShaohua_bcloud/bcloud/Config.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import gettext
import json
import os
from gi.repository import Gdk
from gi.repository import Gtk
import bcloud
HOME_DIR = os.path.expand... | 3,676 | Python | .py | 100 | 30.93 | 76 | 0.666174 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,253 | FolderBrowserDialog.py | XuShaohua_bcloud/bcloud/FolderBrowserDialog.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
from gi.repository import GLib
from gi.repository import Gtk
from bcloud import Config
_ = Config._
from bcloud import gutil
from bcloud i... | 4,945 | Python | .py | 116 | 31.318966 | 78 | 0.583789 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,254 | PreferencesDialog.py | XuShaohua_bcloud/bcloud/PreferencesDialog.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
from gi.repository import GLib
from gi.repository import Gtk
from bcloud import Config
_ = Config._
from bcloud.FolderBrowserDialog impor... | 16,084 | Python | .py | 294 | 44.884354 | 111 | 0.647937 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,255 | net.py | XuShaohua_bcloud/bcloud/net.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import gzip
import http
import http.client
import mimetypes
import os
import traceback
import urllib.parse
import urllib.request
import zli... | 6,406 | Python | .py | 164 | 29.060976 | 80 | 0.634134 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,256 | Uploader.py | XuShaohua_bcloud/bcloud/Uploader.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
import sys
import threading
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gtk
from... | 5,641 | Python | .py | 131 | 30.10687 | 77 | 0.588933 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,257 | decoder.py | XuShaohua_bcloud/bcloud/decoder.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import base64
import traceback
from bcloud.log import logger
def decode_flashget(link):
try:
l = base64.decodestring(link[11:... | 1,642 | Python | .py | 48 | 28.208333 | 76 | 0.644388 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,258 | RequestCookie.py | XuShaohua_bcloud/bcloud/RequestCookie.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import http.cookies
class RequestCookie(http.cookies.SimpleCookie):
'''为SimpleCookie()类加入了一个新的方法, 将里面的cookie值输出为http
request head... | 1,304 | Python | .py | 33 | 27.848485 | 72 | 0.602643 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,259 | Downloader.py | XuShaohua_bcloud/bcloud/Downloader.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import json
import multiprocessing
import os
from queue import Queue
import re
import threading
import time
import traceback
from urllib i... | 11,869 | Python | .py | 288 | 27.59375 | 80 | 0.533232 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,260 | UploadPage.py | XuShaohua_bcloud/bcloud/UploadPage.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import math
import os
import sqlite3
from gi.repository import Gio
from gi.repository import GLib
from gi.repository import GObject
from g... | 28,995 | Python | .py | 652 | 32.013804 | 80 | 0.583237 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,261 | SigninDialog.py | XuShaohua_bcloud/bcloud/SigninDialog.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import json
import os
import time
from gi.repository import GLib
from gi.repository import Gtk
from bcloud import auth
from bcloud import... | 20,158 | Python | .py | 428 | 33.114486 | 80 | 0.56137 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,262 | BTBrowserDialog.py | XuShaohua_bcloud/bcloud/BTBrowserDialog.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
from gi.repository import GObject
from gi.repository import Gtk
from gi.repository import Pango
from bcloud import Config
_ = Config._
fro... | 5,357 | Python | .py | 113 | 33.929204 | 79 | 0.579269 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,263 | NewFolderDialog.py | XuShaohua_bcloud/bcloud/NewFolderDialog.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
import time
from gi.repository import GLib
from gi.repository import Gtk
from bcloud import Config
_ = Config._
from bcloud.con... | 3,310 | Python | .py | 82 | 30.902439 | 76 | 0.617326 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,264 | util.py | XuShaohua_bcloud/bcloud/util.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import base64
import datetime
import hashlib
import json
import os
import random
import re
import traceback
import urllib.parse
import time... | 6,706 | Python | .py | 182 | 26.274725 | 124 | 0.621028 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,265 | ErrorMsg.py | XuShaohua_bcloud/bcloud/ErrorMsg.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
'''
网盘错误代码对应的提示信息
'''
o = {
0: '成功',
-1: '用户名和密码验证失败',
-2: '备用',
-3: '用户未激活(调用init接口)',
-4: 'COOKIE中未找到host_key&user_k... | 5,911 | Python | .py | 131 | 22.251908 | 100 | 0.600413 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,266 | Widgets.py | XuShaohua_bcloud/bcloud/Widgets.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
from gi.repository import Gtk
class LeftLabel(Gtk.Label):
'''左对齐的标签'''
def __init__(self, label):
super().__init__(label... | 847 | Python | .py | 20 | 34 | 72 | 0.656579 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,267 | VCodeDialog.py | XuShaohua_bcloud/bcloud/VCodeDialog.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
from gi.repository import Gtk
from bcloud import Config
_ = Config._
from bcloud import gutil
from bcloud.log import logger
fro... | 1,888 | Python | .py | 45 | 32.066667 | 77 | 0.603062 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,268 | pcs.py | XuShaohua_bcloud/bcloud/pcs.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
'''
这个模块主要是网盘的文件操作接口.
'''
import json
import os
import re
from lxml import html
from lxml.cssselect import CSSSelector as CSS
from bclou... | 38,588 | Python | .py | 1,070 | 25.392523 | 80 | 0.586879 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,269 | const.py | XuShaohua_bcloud/bcloud/const.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
'''
这个模块保存着网络连接时需要共用的一些常量.
与界面相关的常量, 都位于Config.py.
'''
from bcloud import Config
_ = Config._
BAIDU_URL = 'http://www.baidu.com/'
PASSPOR... | 3,135 | Python | .py | 90 | 29.211111 | 149 | 0.686621 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,270 | auth.py | XuShaohua_bcloud/bcloud/auth.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
'''
这个模块主要是用于从百度服务器取得cookie/token授权.
'''
import json
import os
import random
import re
import traceback
import urllib.request
from urllib ... | 9,226 | Python | .py | 269 | 24.635688 | 360 | 0.598329 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,271 | Shutdown.py | XuShaohua_bcloud/bcloud/Shutdown.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
import dbus
SESSION_BUS, SYSTEM_BUS = 0, 1
class Shutdown(object):
'''Shutdown the system after the current snapshot has... | 5,430 | Python | .py | 141 | 26.134752 | 75 | 0.472796 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,272 | encoder.py | XuShaohua_bcloud/bcloud/encoder.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
'''This module contains some useful functions to handle encoding/decoding
just like escape(), encodeURLComponent()... in javascript.
'''
... | 1,952 | Python | .py | 60 | 28.45 | 73 | 0.692678 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,273 | __init__.py | XuShaohua_bcloud/bcloud/__init__.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
__version__ = '3.8.2'
| 203 | Python | .py | 4 | 49.25 | 72 | 0.736041 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,274 | gutil.py | XuShaohua_bcloud/bcloud/gutil.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import json
import os
import subprocess
import threading
import time
import traceback
import dbus
from gi.repository import GdkPixbuf
from... | 11,906 | Python | .py | 312 | 26.689103 | 85 | 0.602831 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,275 | log.py | XuShaohua_bcloud/bcloud/log.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import logging
from logging.handlers import RotatingFileHandler
import os
import sys
def _init_logger(log_level, maxBytes=5*1024*1024, bac... | 984 | Python | .py | 24 | 34.875 | 74 | 0.701883 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,276 | DownloadPage.py | XuShaohua_bcloud/bcloud/DownloadPage.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import json
import os
import sqlite3
import threading
import time
from gi.repository import Gdk
from gi.repository import Gio
from gi.repo... | 32,387 | Python | .py | 718 | 31.792479 | 80 | 0.578512 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,277 | HomePage.py | XuShaohua_bcloud/bcloud/HomePage.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import traceback
from gi.repository import Gdk
from gi.repository import Gtk
from bcloud import Config
_ = Config._
from bcloud import co... | 17,500 | Python | .py | 377 | 34.35809 | 80 | 0.595552 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,278 | PropertiesDialog.py | XuShaohua_bcloud/bcloud/PropertiesDialog.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
import time
from gi.repository import Gtk
from bcloud import Config
_ = Config._
from bcloud import util
from bcloud.Widgets im... | 4,825 | Python | .py | 110 | 33.845455 | 80 | 0.582551 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,279 | CloudPage.py | XuShaohua_bcloud/bcloud/CloudPage.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
from gi.repository import GObject
from gi.repository import Gtk
from gi.repository import Pango
from bcloud import Config
_ = C... | 18,657 | Python | .py | 386 | 34.440415 | 82 | 0.56652 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,280 | App.py | XuShaohua_bcloud/bcloud/App.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
import random
import time
import traceback
import gi
gi.require_version('Gdk', '3.0')
from gi.repository import Gdk
from gi.repo... | 19,277 | Python | .py | 439 | 33.334852 | 87 | 0.627558 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,281 | IconWindow.py | XuShaohua_bcloud/bcloud/IconWindow.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import mimetypes
import json
import os
import time
import traceback
from gi.repository import Gdk
from gi.repository import GdkPixbuf
from... | 33,350 | Python | .py | 693 | 34.336219 | 80 | 0.58384 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,282 | TrashPage.py | XuShaohua_bcloud/bcloud/TrashPage.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import time
from gi.repository import GdkPixbuf
from gi.repository import GObject
from gi.repository import Gtk
from gi.repository import ... | 10,814 | Python | .py | 227 | 36.088106 | 80 | 0.604846 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,283 | SharePage.py | XuShaohua_bcloud/bcloud/SharePage.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
import time
from gi.repository import GdkPixbuf
from gi.repository import GLib
from gi.repository import GObject
from gi.reposit... | 17,487 | Python | .py | 373 | 33.407507 | 80 | 0.565164 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,284 | MimeProvider.py | XuShaohua_bcloud/bcloud/MimeProvider.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import mimetypes
# 目前, linux系统中还不支持rmvb的MIME
mimetypes.add_type('application/vnd.rn-realmedia', '.rmvb')
from gi.repository import GdkPix... | 3,020 | Python | .py | 73 | 28.986301 | 80 | 0.602765 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,285 | CategoryPage.py | XuShaohua_bcloud/bcloud/CategoryPage.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
from gi.repository import Gtk
from bcloud import Config
_ = Config._
from bcloud import const
from bcloud.IconWindow import IconWindow
fro... | 9,074 | Python | .py | 210 | 32.419048 | 80 | 0.592471 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,286 | FileWatcher.py | XuShaohua_bcloud/bcloud/FileWatcher.py |
# Copyright (C) 2015 Alexzhang <alex8224@gmail.com>
import os
from threading import Thread, Lock
from time import time, sleep
import pyinotify
from pyinotify import ALL_EVENTS
from bcloud import gutil
from bcloud import pcs
MASK = ALL_EVENTS
class EventHandler(pyinotify.ProcessEvent):
def __init__(self, sour... | 4,270 | Python | .py | 104 | 29.721154 | 79 | 0.582202 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,287 | hasher.py | XuShaohua_bcloud/bcloud/hasher.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import hashlib
import os
import zlib
CHUNK = 2 ** 20
def crc(path):
_crc = 0
fh = open(path, 'rb')
while True:
chunk... | 2,079 | Python | .py | 84 | 18.428571 | 72 | 0.571573 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,288 | RenameDialog.py | XuShaohua_bcloud/bcloud/RenameDialog.py |
# Copyright (C) 2014-2015 LiuLang <gsushzhsosgsu@gmail.com>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import os
import time
from gi.repository import GLib
from gi.repository import Gtk
from bcloud import Config
_ = Config._
from bcloud.con... | 4,039 | Python | .py | 98 | 30.693878 | 78 | 0.599793 | XuShaohua/bcloud | 1,922 | 532 | 117 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,289 | SiCKRAGE.py | SiCKRAGE_SiCKRAGE/SiCKRAGE.py | #!/usr/bin/env python3
# ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribu... | 1,056 | Python | .py | 24 | 42.791667 | 80 | 0.621726 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,290 | setup.py | SiCKRAGE_SiCKRAGE/setup.py | import os
import shutil
import glob
from setuptools import setup, Command
from sickrage import __version__
def requirements():
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'requirements.txt')) as f:
return f.read().splitlines(keepends=False)
class CleanCommand(Command):
"""Cu... | 2,418 | Python | .py | 68 | 29.352941 | 120 | 0.632705 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,291 | checksum-validator.py | SiCKRAGE_SiCKRAGE/checksum-validator.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 1,916 | Python | .py | 45 | 38.177778 | 80 | 0.629968 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,292 | checksum-generator.py | SiCKRAGE_SiCKRAGE/checksum-generator.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 1,824 | Python | .py | 42 | 39.571429 | 93 | 0.633596 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,293 | test_web.py | SiCKRAGE_SiCKRAGE/tests/test_web.py | import json
import os
import shutil
import unittest
from tornado.httpclient import AsyncHTTPClient, HTTPRequest
from tornado.testing import AsyncTestCase, gen_test
import sickrage
from sickrage.core import Core
class TestWeb(AsyncTestCase):
def setUp(self):
super(TestWeb, self).setUp()
sickrage.... | 1,676 | Python | .py | 39 | 36.384615 | 137 | 0.682852 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,294 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/__init__.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 18,236 | Python | .py | 426 | 32.269953 | 158 | 0.575884 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,295 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/clients/__init__.py | # Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca
#
# This file is part of SiCKRAGE.
#
# SiCKRAGE 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... | 10,190 | Python | .py | 228 | 35.201754 | 151 | 0.62678 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,296 | deluged.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/deluged.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 8,318 | Python | .py | 214 | 29.425234 | 115 | 0.601966 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,297 | download_station.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/download_station.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 9,117 | Python | .py | 205 | 33.258537 | 128 | 0.563727 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,298 | rtorrent.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/rtorrent.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 5,324 | Python | .py | 137 | 29.40146 | 105 | 0.583528 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,299 | transmission.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/transmission.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 6,387 | Python | .py | 151 | 31.086093 | 97 | 0.54453 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |