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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31,400 | qemu_preferences_page.py | GNS3_gns3-gui/gns3/modules/qemu/pages/qemu_preferences_page.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 2,896 | Python | .py | 68 | 36.205882 | 112 | 0.719217 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,401 | qemu_vm_wizard.py | GNS3_gns3-gui/gns3/modules/qemu/dialogs/qemu_vm_wizard.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 9,363 | Python | .py | 163 | 47.226994 | 309 | 0.671503 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,402 | qemu_image_wizard.py | GNS3_gns3-gui/gns3/modules/qemu/dialogs/qemu_image_wizard.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 9,942 | Python | .py | 192 | 40.364583 | 121 | 0.636701 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,403 | qimage_svg_renderer.py | GNS3_gns3-gui/gns3/qt/qimage_svg_renderer.py | #!/usr/bin/env python
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# 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.
#
... | 5,143 | Python | .py | 115 | 35.191304 | 149 | 0.584333 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,404 | __init__.py | GNS3_gns3-gui/gns3/qt/__init__.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 8,042 | Python | .py | 195 | 34.651282 | 127 | 0.675426 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,405 | appliance.py | GNS3_gns3-gui/gns3/registry/appliance.py | #!/usr/bin/env python
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
... | 9,944 | Python | .py | 211 | 34.649289 | 148 | 0.580469 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,406 | config.py | GNS3_gns3-gui/gns3/registry/config.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# 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 optio... | 2,833 | Python | .py | 77 | 30.519481 | 108 | 0.659606 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,407 | registry.py | GNS3_gns3-gui/gns3/registry/registry.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# 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 optio... | 4,697 | Python | .py | 95 | 37.063158 | 153 | 0.585823 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,408 | appliance_to_template.py | GNS3_gns3-gui/gns3/registry/appliance_to_template.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# 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 optio... | 13,615 | Python | .py | 248 | 43.016129 | 152 | 0.617528 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,409 | image.py | GNS3_gns3-gui/gns3/registry/image.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# 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.
... | 4,151 | Python | .py | 132 | 22.340909 | 76 | 0.557418 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,410 | port_name_factory.py | GNS3_gns3-gui/gns3/ports/port_name_factory.py | #!/usr/bin/env python
#
# Copyright (C) 2018 GNS3 Technologies Inc.
#
# 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.
#
... | 2,335 | Python | .py | 54 | 32.777778 | 114 | 0.601583 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,411 | port.py | GNS3_gns3-gui/gns3/ports/port.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 8,108 | Python | .py | 255 | 23.262745 | 98 | 0.580936 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,412 | serial_port.py | GNS3_gns3-gui/gns3/ports/serial_port.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 887 | Python | .py | 26 | 32 | 71 | 0.741822 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,413 | ethernet_port.py | GNS3_gns3-gui/gns3/ports/ethernet_port.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 857 | Python | .py | 25 | 32.4 | 71 | 0.750605 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,414 | setup_wizard.py | GNS3_gns3-gui/gns3/dialogs/setup_wizard.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 21,010 | Python | .py | 367 | 45.861035 | 539 | 0.657819 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,415 | about_dialog.py | GNS3_gns3-gui/gns3/dialogs/about_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 1,197 | Python | .py | 30 | 36.533333 | 71 | 0.724138 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,416 | project_dialog.py | GNS3_gns3-gui/gns3/dialogs/project_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 14,167 | Python | .py | 259 | 40.181467 | 175 | 0.602065 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,417 | node_properties_dialog.py | GNS3_gns3-gui/gns3/dialogs/node_properties_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 11,399 | Python | .py | 248 | 35.71371 | 115 | 0.636716 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,418 | preferences_dialog.py | GNS3_gns3-gui/gns3/dialogs/preferences_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 9,023 | Python | .py | 199 | 35.060302 | 136 | 0.641776 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,419 | vm_wizard.py | GNS3_gns3-gui/gns3/dialogs/vm_wizard.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 6,493 | Python | .py | 133 | 38.142857 | 155 | 0.650561 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,420 | configuration_dialog.py | GNS3_gns3-gui/gns3/dialogs/configuration_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 2,339 | Python | .py | 56 | 35.964286 | 80 | 0.720264 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,421 | appliance_wizard.py | GNS3_gns3-gui/gns3/dialogs/appliance_wizard.py | #!/usr/bin/env python
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# 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.
#
... | 38,493 | Python | .py | 701 | 41.703281 | 283 | 0.609434 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,422 | project_welcome_dialog.py | GNS3_gns3-gui/gns3/dialogs/project_welcome_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2018 GNS3 Technologies Inc.
#
# 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.
... | 3,418 | Python | .py | 71 | 38.859155 | 120 | 0.644851 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,423 | node_info_dialog.py | GNS3_gns3-gui/gns3/dialogs/node_info_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2018 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 1,879 | Python | .py | 45 | 36.6 | 101 | 0.706528 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,424 | idlepc_dialog.py | GNS3_gns3-gui/gns3/dialogs/idlepc_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 3,579 | Python | .py | 74 | 40.986486 | 259 | 0.671736 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,425 | vm_with_images_wizard.py | GNS3_gns3-gui/gns3/dialogs/vm_with_images_wizard.py | #!/usr/bin/env python
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# 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.
#
... | 7,168 | Python | .py | 153 | 37.228758 | 155 | 0.647994 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,426 | style_editor_dialog_link.py | GNS3_gns3-gui/gns3/dialogs/style_editor_dialog_link.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2019 Pekka Helenius
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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
# ... | 4,838 | Python | .py | 94 | 38.276596 | 134 | 0.600637 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,427 | capture_dialog.py | GNS3_gns3-gui/gns3/dialogs/capture_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2016 GNS3 Technologies Inc.
#
# 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.
... | 2,661 | Python | .py | 61 | 37.868852 | 120 | 0.709977 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,428 | notif_dialog.py | GNS3_gns3-gui/gns3/dialogs/notif_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2016 GNS3 Technologies Inc.
#
# 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.
... | 5,905 | Python | .py | 157 | 27.382166 | 134 | 0.567804 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,429 | console_command_dialog.py | GNS3_gns3-gui/gns3/dialogs/console_command_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2016 GNS3 Technologies Inc.
#
# 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.
... | 5,661 | Python | .py | 117 | 40.641026 | 147 | 0.687851 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,430 | profile_select.py | GNS3_gns3-gui/gns3/dialogs/profile_select.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2016 GNS3 Technologies Inc.
#
# 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.
... | 3,788 | Python | .py | 87 | 36.022989 | 107 | 0.671374 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,431 | snapshots_dialog.py | GNS3_gns3-gui/gns3/dialogs/snapshots_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 5,691 | Python | .py | 125 | 36.104 | 232 | 0.643529 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,432 | custom_adapters_configuration_dialog.py | GNS3_gns3-gui/gns3/dialogs/custom_adapters_configuration_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2018 GNS3 Technologies Inc.
#
# 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.
... | 8,429 | Python | .py | 163 | 41.104294 | 135 | 0.643604 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,433 | text_editor_dialog.py | GNS3_gns3-gui/gns3/dialogs/text_editor_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 4,714 | Python | .py | 99 | 34.494949 | 113 | 0.5936 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,434 | symbol_selection_dialog.py | GNS3_gns3-gui/gns3/dialogs/symbol_selection_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 7,765 | Python | .py | 172 | 35.726744 | 196 | 0.646443 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,435 | edit_compute_dialog.py | GNS3_gns3-gui/gns3/dialogs/edit_compute_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 4,703 | Python | .py | 104 | 36.798077 | 116 | 0.675693 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,436 | doctor_dialog.py | GNS3_gns3-gui/gns3/dialogs/doctor_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2016 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 9,487 | Python | .py | 189 | 40.407407 | 179 | 0.626498 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,437 | edit_project_dialog.py | GNS3_gns3-gui/gns3/dialogs/edit_project_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 5,084 | Python | .py | 98 | 42.795918 | 124 | 0.68083 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,438 | file_editor_dialog.py | GNS3_gns3-gui/gns3/dialogs/file_editor_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2016 GNS3 Technologies Inc.
#
# 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.
... | 2,538 | Python | .py | 55 | 40.254545 | 107 | 0.70073 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,439 | exec_command_dialog.py | GNS3_gns3-gui/gns3/dialogs/exec_command_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 1,993 | Python | .py | 48 | 35.770833 | 100 | 0.697879 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,440 | filter_dialog.py | GNS3_gns3-gui/gns3/dialogs/filter_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 7,036 | Python | .py | 150 | 34.573333 | 126 | 0.590551 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,441 | new_template_wizard.py | GNS3_gns3-gui/gns3/dialogs/new_template_wizard.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2018 GNS3 Technologies Inc.
#
# 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.
... | 11,851 | Python | .py | 243 | 36.259259 | 128 | 0.596558 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,442 | style_editor_dialog.py | GNS3_gns3-gui/gns3/dialogs/style_editor_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014 GNS3 Technologies Inc.
#
# 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.
... | 7,735 | Python | .py | 140 | 38.407143 | 134 | 0.561072 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,443 | export_debug_dialog.py | GNS3_gns3-gui/gns3/dialogs/export_debug_dialog.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
# 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.
... | 4,830 | Python | .py | 120 | 31.025 | 134 | 0.609558 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,444 | project_export_wizard.py | GNS3_gns3-gui/gns3/dialogs/project_export_wizard.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2018 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
... | 6,116 | Python | .py | 117 | 42.803419 | 184 | 0.665271 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,445 | build_pyqt.py | GNS3_gns3-gui/scripts/build_pyqt.py | #!/usr/bin/env python3
"""
Script to build all the PyQt user interfaces and resources for this project.
"""
import os
import sys
import stat
import shutil
import subprocess
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--force", help="force rebuild all files", action="store_true")
parser.ad... | 3,318 | Python | .py | 70 | 38.171429 | 148 | 0.594059 | GNS3/gns3-gui | 2,095 | 432 | 147 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,446 | ps_mem.py | pixelb_ps_mem/ps_mem.py | #!/usr/bin/env python
# Try to determine how much RAM is currently being used per program.
# Note per _program_, not per process. So for example this script
# will report RAM used by all httpd process together. In detail it reports:
# sum(private RAM for program processes) + sum(Shared RAM for program processes)
# The... | 23,834 | Python | .py | 596 | 31.86745 | 86 | 0.589088 | pixelb/ps_mem | 1,540 | 285 | 20 | LGPL-2.1 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,447 | setup.py | pixelb_ps_mem/setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="ps_mem",
version="3.14",
author="Pádraig Brady",
author_email="P@draigBrady.com",
description=("A utility to report core memory usa... | 925 | Python | .py | 26 | 30.576923 | 83 | 0.653631 | pixelb/ps_mem | 1,540 | 285 | 20 | LGPL-2.1 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,448 | test_gobject.py | blueman-project_blueman/test/test_gobject.py | from unittest import TestCase
from gi.repository.GObject import GObject
from blueman.gobject import SingletonGObjectMeta
class TestGObjectMeta(TestCase):
class A(GObject, metaclass=SingletonGObjectMeta):
pass
class B(GObject, metaclass=SingletonGObjectMeta):
pass
def test_instantiation... | 533 | Python | .py | 14 | 32.214286 | 53 | 0.735812 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,449 | test_imports.py | blueman-project_blueman/test/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
from gi.repository import Gdk, GdkX11
fake_x11_screen = GdkX11.X11Screen()
Gdk.Screen.get_default = lambda: fake_x11_screen
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import... | 741 | Python | .py | 20 | 31.7 | 74 | 0.669014 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,450 | test_dbus_proxies.py | blueman-project_blueman/test/main/test_dbus_proxies.py | from unittest import TestCase
from blueman.main.DBusProxies import ProxyBase
from blueman.gobject import SingletonGObjectMeta
class TestDBusProxies(TestCase):
def test_metaclass(self):
self.assertIsInstance(ProxyBase, SingletonGObjectMeta)
| 255 | Python | .py | 6 | 39 | 62 | 0.845528 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,451 | test_pulseaudio_utils.py | blueman-project_blueman/test/main/test_pulseaudio_utils.py | from unittest import TestCase
from blueman.main.PulseAudioUtils import PulseAudioUtils
from blueman.gobject import SingletonGObjectMeta
class TestPulseaudioUtils(TestCase):
def test_metaclass(self):
self.assertIsInstance(PulseAudioUtils, SingletonGObjectMeta)
| 275 | Python | .py | 6 | 42.333333 | 68 | 0.857143 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,452 | test_netconf.py | blueman-project_blueman/test/main/test_netconf.py | import os.path
import shutil
import subprocess
from ipaddress import IPv4Address
from subprocess import Popen
from typing import Optional, List
from unittest import TestCase
from unittest.mock import patch, Mock, PropertyMock
from blueman.main.NetConf import DnsMasqHandler, NetworkSetupError, DhcpdHandler, UdhcpdHandl... | 11,649 | Python | .py | 200 | 50.56 | 120 | 0.653806 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,453 | test_imports.py | blueman-project_blueman/test/main/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name, import_error):
name = f"test_{mod_name.replace('.', '_')}_import"
def run():
try:
__import__(mod_name)
except ImportError as e:
... | 1,075 | Python | .py | 25 | 35.24 | 112 | 0.635927 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,454 | test_dns_server_provider.py | blueman-project_blueman/test/main/test_dns_server_provider.py | from ipaddress import IPv4Address
from typing import Callable
from unittest.mock import patch, Mock
from dbusmock import DBusTestCase
from gi.repository import GLib, Gio
from blueman.main.DNSServerProvider import DNSServerProvider
from test.testhelpers.DBusMock import DBusMock
@patch("blueman.main.DNSServerProvider... | 3,561 | Python | .py | 69 | 40.26087 | 116 | 0.59517 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,455 | test_imports.py | blueman-project_blueman/test/main/applet/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,456 | DBusMock.py | blueman-project_blueman/test/testhelpers/DBusMock.py | from dbusmock import DBusTestCase
from gi.repository import Gio, GLib
class DBusMockObject:
def __init__(self, name: str, path: str, system_bus: bool) -> None:
self._proxy = Gio.DBusProxy(
g_name=name,
g_interface_name="org.freedesktop.DBus.Mock",
g_object_path=path,
... | 2,042 | Python | .py | 35 | 48.314286 | 117 | 0.624937 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,457 | test_imports.py | blueman-project_blueman/test/gui/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,458 | test_imports.py | blueman-project_blueman/test/gui/applet/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,459 | test_imports.py | blueman-project_blueman/test/gui/manager/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,460 | test_imports.py | blueman-project_blueman/test/services/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,461 | test_imports.py | blueman-project_blueman/test/services/meta/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,462 | test_manager.py | blueman-project_blueman/test/bluez/test_manager.py | from unittest import TestCase
from blueman.bluez.Manager import Manager
from blueman.gobject import SingletonGObjectMeta
class TestManager(TestCase):
def test_metaclass(self):
self.assertIsInstance(Manager, SingletonGObjectMeta)
| 244 | Python | .py | 6 | 37.166667 | 60 | 0.838298 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,463 | test_imports.py | blueman-project_blueman/test/bluez/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,464 | test_manager.py | blueman-project_blueman/test/bluez/obex/test_manager.py | from unittest import TestCase
from blueman.bluez.obex.Manager import Manager
from blueman.gobject import SingletonGObjectMeta
class TestManager(TestCase):
def test_metaclass(self):
self.assertIsInstance(Manager, SingletonGObjectMeta)
| 249 | Python | .py | 6 | 38 | 60 | 0.8375 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,465 | test_imports.py | blueman-project_blueman/test/bluez/obex/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,466 | test_imports.py | blueman-project_blueman/test/plugins/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,467 | test_imports.py | blueman-project_blueman/test/plugins/applet/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name, import_error):
name = f"test_{mod_name.replace('.', '_')}_import"
def run():
try:
__import__(mod_name)
except ImportError as e:
... | 1,244 | Python | .py | 27 | 38.222222 | 112 | 0.647351 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,468 | test_imports.py | blueman-project_blueman/test/plugins/manager/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name, import_error):
name = f"test_{mod_name.replace('.', '_')}_import"
def run():
try:
__import__(mod_name)
except ImportError as e:
... | 1,016 | Python | .py | 24 | 34.625 | 112 | 0.635809 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,469 | test_imports.py | blueman-project_blueman/test/plugins/services/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name):
name = f"test_{mod_name.replace('.', '_')}_import"
def f():
__import__(mod_name)
setattr(self, name, f)
super().__init__(name)
def load_... | 664 | Python | .py | 17 | 33.117647 | 112 | 0.632238 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,470 | test_imports.py | blueman-project_blueman/test/plugins/mechanism/test_imports.py | import os.path
import pkgutil
from unittest import TestCase, TestSuite
class TestImports(TestCase):
def __init__(self, mod_name, import_error):
name = f"test_{mod_name.replace('.', '_')}_import"
def run():
try:
__import__(mod_name)
except ImportError as e:
... | 997 | Python | .py | 24 | 33.833333 | 112 | 0.629668 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,471 | _blueman.pyi | blueman-project_blueman/stubs/_blueman.pyi | from typing import List, Dict, Optional
from typing_extensions import TypedDict
ERR: Dict[int, str]
RFCOMM_HANGUP_NOW: int
RFCOMM_RELEASE_ONHUP: int
RFCOMM_REUSE_DLC: int
RFCOMM_STATES: List[str]
RFCOMM_TTY_ATTACHED: int
class _RfcommDev(TypedDict):
id: int
channel: int
flags: int
state: str
src: ... | 1,417 | Python | .py | 48 | 26.104167 | 91 | 0.653931 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,472 | Gdk.pyi | blueman-project_blueman/stubs/gi/repository/Gdk.pyi | import builtins
import typing
import cairo
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import GdkPixbuf
from gi.repository import Gio
from gi.repository import Pango
if typing.TYPE_CHECKING:
BaseContext = cairo.Context[cairo.Surface]
class AppLaunchContext(Gio.AppLaunchCo... | 140,018 | Python | .py | 3,746 | 34.840897 | 284 | 0.748741 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,473 | Gio.pyi | blueman-project_blueman/stubs/gi/repository/Gio.pyi | import builtins
import typing
from gi.repository import GLib
from gi.repository import GObject
class Action(GObject.GInterface):
def activate(self, parameter: typing.Optional[GLib.Variant]) -> None: ...
def change_state(self, value: GLib.Variant) -> None: ...
def get_enabled(self) -> builtins.bool: ..... | 271,607 | Python | .py | 3,488 | 72.635894 | 488 | 0.720906 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,474 | GModule.pyi | blueman-project_blueman/stubs/gi/repository/GModule.pyi | import builtins
import typing
from gi.repository import GLib
class Module():
@staticmethod
def build_path(directory: typing.Optional[builtins.str], module_name: builtins.str) -> builtins.str: ...
def close(self) -> builtins.bool: ...
@staticmethod
def error() -> builtins.str: ...
def make... | 1,021 | Python | .py | 23 | 40.173913 | 111 | 0.691598 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,475 | Atk.pyi | blueman-project_blueman/stubs/gi/repository/Atk.pyi | import builtins
import typing
from gi.repository import GLib
from gi.repository import GObject
class Action(GObject.GInterface):
def do_action(self, i: builtins.int) -> builtins.bool: ...
def get_description(self, i: builtins.int) -> typing.Optional[builtins.str]: ...
def get_keybinding(self, i: built... | 47,627 | Python | .py | 861 | 50.108014 | 171 | 0.655669 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,476 | GLib.pyi | blueman-project_blueman/stubs/gi/repository/GLib.pyi | import builtins
import typing
from gi.repository import GObject
FlagsT = typing.TypeVar('FlagsT')
class Error(RuntimeError):
message: str
class Array():
data: builtins.str
len: builtins.int
class AsyncQueue():
def length(self) -> builtins.int: ...
def length_unlocked(self) -> builtins.int... | 154,850 | Python | .py | 2,762 | 51.62672 | 404 | 0.689659 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,477 | GdkPixbuf.pyi | blueman-project_blueman/stubs/gi/repository/GdkPixbuf.pyi | import builtins
import typing
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gio
class Pixbuf(GObject.Object, Gio.Icon, Gio.LoadableIcon):
class _Props:
@property
def bits_per_sample(self) -> int: ...
@property
def has_alpha(self) -> bo... | 13,438 | Python | .py | 194 | 63.819588 | 425 | 0.705074 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,478 | cairo.pyi | blueman-project_blueman/stubs/gi/repository/cairo.pyi | import builtins
import typing
from gi.repository import GObject
class Context():
...
class Device():
...
class FontFace():
...
class FontOptions():
...
class Matrix():
...
class Path():
...
class Pattern():
...
class Rectangle():
height: builtins.float
width: builtin... | 8,175 | Python | .py | 230 | 30.886957 | 52 | 0.589558 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,479 | Pango.pyi | blueman-project_blueman/stubs/gi/repository/Pango.pyi | import builtins
import typing
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import HarfBuzz
from gi.repository import cairo
class Context(GObject.Object):
def changed(self) -> None: ...
def get_base_dir(self) -> Direction: ...
def get_base_gravity(self) -> Gravity... | 49,086 | Python | .py | 956 | 46.372385 | 224 | 0.663436 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,480 | xlib.pyi | blueman-project_blueman/stubs/gi/repository/xlib.pyi | import builtins
import typing
from gi.repository import GObject
class Display():
...
class Screen():
...
class Visual():
...
class XConfigureEvent():
...
class XFontStruct():
...
class XImage():
...
class XTrapezoid():
...
class XVisualInfo():
...
class XWindowAttribut... | 396 | Python | .py | 24 | 12.791667 | 33 | 0.628242 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,481 | HarfBuzz.pyi | blueman-project_blueman/stubs/gi/repository/HarfBuzz.pyi | import builtins
import typing
from gi.repository import GLib
from gi.repository import GObject
class blob_t():
...
class buffer_t():
...
class face_t():
...
class feature_t():
end: builtins.int
start: builtins.int
tag: builtins.int
value: builtins.int
class font_extents_t():
a... | 83,467 | Python | .py | 1,196 | 65.58194 | 249 | 0.688623 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,482 | GdkX11.pyi | blueman-project_blueman/stubs/gi/repository/GdkX11.pyi | import builtins
import typing
import cairo
from gi.repository import Gdk
from gi.repository import GdkPixbuf
from gi.repository import Gio
from gi.repository import Pango
from gi.repository import xlib
class X11AppLaunchContext(Gdk.AppLaunchContext):
...
class X11Cursor(Gdk.Cursor):
def get_xcursor(self) ... | 5,529 | Python | .py | 98 | 52.05102 | 165 | 0.702052 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,483 | GObject.pyi | blueman-project_blueman/stubs/gi/repository/GObject.pyi | import builtins
import typing
from gi.repository import GLib
# TODO: Constrain T if possible. Builtins + GTypes might be sufficient?
T = typing.TypeVar('T')
PropertyGetterFn = typing.Callable[[typing.Any], T]
PropertySetterFn = typing.Callable[[typing.Any, T], None]
class Property(typing.Generic[T]):
name: t... | 56,694 | Python | .py | 937 | 56.386339 | 262 | 0.729157 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,484 | Gtk.pyi | blueman-project_blueman/stubs/gi/repository/Gtk.pyi | import builtins
import typing
from gi.repository import Atk
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gdk
from gi.repository import GdkPixbuf
from gi.repository import Gio
from gi.repository import Pango
import cairo
if typing.TYPE_CHECKING:
BaseContext = cairo.Con... | 444,427 | Python | .py | 7,568 | 53.149577 | 333 | 0.677256 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,485 | gobject.py | blueman-project_blueman/blueman/gobject.py | from typing import Any, Optional
from gi.types import GObjectMeta
class SingletonGObjectMeta(GObjectMeta):
_instance: Optional[Any] = None
def __call__(cls, *args: Any, **kwargs: Any) -> Any:
if not cls._instance:
cls._instance = super().__call__(*args, **kwargs)
return cls._inst... | 325 | Python | .py | 8 | 34.625 | 61 | 0.658147 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,486 | Functions.py | blueman-project_blueman/blueman/Functions.py | # Copyright (C) 2008 Valmantas Paliksa <walmis at balticum-tv dot lt>
# Copyright (C) 2008 Tadas Dailyda <tadas at dailyda dot com>
#
# Licensed under the GNU General Public License Version 3
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License ... | 11,937 | Python | .py | 313 | 31.555911 | 120 | 0.645918 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,487 | Service.py | blueman-project_blueman/blueman/Service.py | from abc import ABC, abstractmethod
from typing import Optional, Callable, List, Set, Collection
from blueman.Sdp import ServiceUUID
from blueman.bluez.Device import Device
class Instance:
def __init__(self, name: str, port: int = 0) -> None:
self.name = name
self.port = port
class Action:
... | 1,876 | Python | .py | 62 | 24.016129 | 110 | 0.617959 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,488 | Constants.py.in | blueman-project_blueman/blueman/Constants.py.in | __all__ = ["VERSION", "PACKAGE", "WEBSITE", "ICON_PATH", "PIXMAP_PATH", "UI_PATH", "BIN_DIR", "BLUETOOTHD_PATH"]
VERSION = "@VERSION@"
PACKAGE = "@PACKAGE@"
WEBSITE = "https://github.com/blueman-project/blueman"
PREFIX = "@prefix@"
BIN_DIR = "@BINDIR@"
LOCALEDIR = "@LOCALEDIR@"
ICON_PATH = "@icondir@"
PIXMAP_PATH = "@... | 901 | Python | .py | 22 | 38.909091 | 112 | 0.674658 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,489 | DeviceClass.py | blueman-project_blueman/blueman/DeviceClass.py | from gettext import gettext as _
import logging
major_cls = (
# translators: device class
_("Miscellaneous"),
# translators: device class
_("Computer"),
# translators: device class
_("Phone"),
# translators: device class
_("Access point"),
# translators: device class
_("Audio/vi... | 23,158 | Python | .py | 529 | 26.969754 | 90 | 0.424132 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,490 | bluemantyping.py | blueman-project_blueman/blueman/bluemantyping.py | from typing import Dict, Tuple, Union, TYPE_CHECKING, NewType
from gi.repository import GObject
if TYPE_CHECKING:
from typing_extensions import Protocol
class _HasGType(Protocol):
__gtype__: GObject.GType
# Actually supported types are int, bool, str, float, and object but no subclasses, see
# https:... | 671 | Python | .py | 12 | 53.25 | 113 | 0.769466 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,491 | Sdp.py | blueman-project_blueman/blueman/Sdp.py | from gettext import gettext as _
from typing import Optional
from uuid import UUID
# https://www.bluetooth.com/specifications/assigned-numbers/service-discovery
# http://git.kernel.org/cgit/bluetooth/bluez.git/tree/lib/sdp.h
SDP_SERVER_SVCLASS_ID = 0x1000
BROWSE_GRP_DESC_SVCLASS_ID = 0x1001
PUBLIC_BROWSE_GROUP = 0x10... | 12,442 | Python | .py | 368 | 30.4375 | 79 | 0.696027 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,492 | Builder.py | blueman-project_blueman/blueman/main/Builder.py | from typing import TypeVar, Type
import gi
from blueman.Constants import UI_PATH
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
class Builder(Gtk.Builder):
def __init__(self, filename: str):
super().__init__(translation_domain="blueman")
self.add_from_file(UI_PATH + "/" + filenam... | 536 | Python | .py | 14 | 33.142857 | 63 | 0.674419 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,493 | Sendto.py | blueman-project_blueman/blueman/main/Sendto.py | from gettext import gettext as _
import time
import logging
from gettext import ngettext
from typing import List, Iterable, Optional
from blueman.bluez.Device import Device
from blueman.bluez.errors import BluezDBusException
from blueman.main.Builder import Builder
from blueman.bluemantyping import GSignals, ObjectPat... | 11,005 | Python | .py | 228 | 36.938596 | 115 | 0.600112 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,494 | PulseAudioUtils.py | blueman-project_blueman/blueman/main/PulseAudioUtils.py | from ctypes import *
from enum import IntEnum
from typing import Dict, TYPE_CHECKING, List, Callable, Mapping, Optional, Any
from gi.repository import GObject
from gi.repository import GLib
import weakref
import logging
from blueman.gobject import SingletonGObjectMeta
from blueman.bluemantyping import GSignals
try:
... | 13,114 | Python | .py | 295 | 36.366102 | 116 | 0.638221 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,495 | BatteryWatcher.py | blueman-project_blueman/blueman/main/BatteryWatcher.py | import weakref
from typing import Callable
from blueman.bluemantyping import ObjectPath
from blueman.bluez.Battery import Battery, AnyBattery
from blueman.bluez.Manager import Manager
class BatteryWatcher:
def __init__(self, callback: Callable[[ObjectPath, int], None]) -> None:
super().__init__()
... | 956 | Python | .py | 26 | 27.153846 | 109 | 0.606911 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,496 | Manager.py | blueman-project_blueman/blueman/main/Manager.py | import logging
import signal
from gettext import gettext as _
from typing import Optional, Any, Tuple
from blueman.bluez.Adapter import Adapter
from blueman.bluez.Device import Device
from blueman.bluez.Manager import Manager
from blueman.Functions import *
from blueman.gui.manager.ManagerDeviceList import ManagerDevi... | 11,515 | Python | .py | 223 | 40.313901 | 118 | 0.621381 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,497 | DNSServerProvider.py | blueman-project_blueman/blueman/main/DNSServerProvider.py | import re
import socket
from ipaddress import IPv4Address, ip_address
from typing import List, Generator
from gi.repository import GObject, Gio, GLib
from blueman.bluemantyping import GSignals
class DNSServerProvider(GObject.GObject):
RESOLVER_PATH = "/etc/resolv.conf"
_RESOLVED_NAME = "org.freedesktop.reso... | 3,960 | Python | .py | 91 | 31.142857 | 105 | 0.565714 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,498 | Tray.py | blueman-project_blueman/blueman/main/Tray.py | from importlib import import_module
import logging
import os
import signal
import sys
from blueman.Functions import log_system_info
from blueman.main.DBusProxies import AppletService
from gi.repository import Gio, GLib
from blueman.main.indicators.IndicatorInterface import IndicatorNotAvailable
class BluemanTray(Gio... | 3,137 | Python | .py | 63 | 40.730159 | 113 | 0.662414 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |
31,499 | NetworkManager.py | blueman-project_blueman/blueman/main/NetworkManager.py | import gi
import logging
import uuid
from typing import Optional, Callable, Union
from blueman.bluemantyping import BtAddress
from blueman.Service import Service
try:
gi.require_version('NM', '1.0')
except ValueError:
raise ImportError('NM python bindings not found.')
from gi.repository import GLib, GObject,... | 8,442 | Python | .py | 172 | 38.796512 | 119 | 0.639922 | blueman-project/blueman | 1,227 | 187 | 70 | GPL-3.0 | 9/5/2024, 5:14:22 PM (Europe/Amsterdam) |