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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22,000 | __init__.py | OctoPrint_OctoPrint/src/octoprint/filemanager/__init__.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
import logging
import os
import time
from collections import namedtuple
import oct... | 38,693 | Python | .py | 942 | 28.169851 | 111 | 0.558515 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,001 | storage.py | OctoPrint_OctoPrint/src/octoprint/filemanager/storage.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
import copy
import logging
import os
import shutil
from contextlib import contextma... | 76,616 | Python | .py | 1,677 | 31.954681 | 139 | 0.548429 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,002 | conf.py | OctoPrint_OctoPrint/docs/conf.py | #
# OctoPrint documentation build configuration file, created by
# sphinx-quickstart on Mon Dec 02 17:08:50 2013.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values ... | 8,894 | Python | .py | 213 | 39.760563 | 83 | 0.718041 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,003 | codeblockext.py | OctoPrint_OctoPrint/docs/sphinxext/codeblockext.py | from __future__ import annotations
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "The MIT License <http://opensource.org/licenses/MIT>"
__copyright__ = "Copyright (C) 2015 Gina Häußge - Released under terms of the MIT License"
from typing import Any
import sphinx.highlighting
from docutils import nodes
f... | 10,273 | Python | .py | 227 | 34.77533 | 120 | 0.620272 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,004 | onlineinclude.py | OctoPrint_OctoPrint/docs/sphinxext/onlineinclude.py | from __future__ import annotations
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "The MIT License <http://opensource.org/licenses/MIT>"
__copyright__ = "Copyright (C) 2015 Gina Häußge - Released under terms of the MIT License"
import codecs
from contextlib import closing
from typing import Any
import re... | 4,405 | Python | .py | 96 | 34.84375 | 90 | 0.607802 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,005 | test_events.py | OctoPrint_OctoPrint/tests/test_events.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2022 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import ddt
import octoprint.events
@ddt.ddt
class TestEvents(unittest.TestCase):
@ddt.data(
("p... | 723 | Python | .py | 17 | 37.470588 | 103 | 0.703281 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,006 | test_octoprint_setuptools.py | OctoPrint_OctoPrint/tests/test_octoprint_setuptools.py | import unittest
import ddt
import octoprint_setuptools
@ddt.ddt
class OctoPrintSetuptoolsTest(unittest.TestCase):
@ddt.data(
("OctoPrint", ["OctoPrint", "flask"], True),
("OctoPrint", ["OctoPrint<1.3.7", "flask"], True),
("OctoPrint", ["OctoPrint<=1.3.7", "flask"], True),
("OctoP... | 1,082 | Python | .py | 25 | 36.36 | 80 | 0.586895 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,007 | test_daemon.py | OctoPrint_OctoPrint/tests/test_daemon.py | import unittest
from unittest import mock
import octoprint.daemon
class ExpectedExit(BaseException):
pass
class DaemonTest(unittest.TestCase):
def setUp(self):
run_method = mock.MagicMock()
echo_method = mock.MagicMock()
error_method = mock.MagicMock()
class TestDaemon(octo... | 14,295 | Python | .py | 390 | 27.589744 | 90 | 0.60142 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,008 | test_script.py | OctoPrint_OctoPrint/tests/printer/test_script.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2021 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from unittest.mock import ANY, MagicMock, call, patch
from octoprint.printer.standard import Printer
class S... | 2,653 | Python | .py | 52 | 42.711538 | 103 | 0.691114 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,009 | test_estimation.py | OctoPrint_OctoPrint/tests/printer/test_estimation.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from ddt import data, ddt, unpack
from octoprint.printer.estimat... | 3,049 | Python | .py | 78 | 30.5 | 103 | 0.526565 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,010 | __init__.py | OctoPrint_OctoPrint/tests/printer/__init__.py | """
Unit tests for ``octoprint.printer``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 285 | Python | .py | 6 | 46 | 103 | 0.721014 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,011 | __init__.py | OctoPrint_OctoPrint/tests/settings/__init__.py | """
Unit tests for ``octoprint.settings``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 286 | Python | .py | 6 | 46.166667 | 103 | 0.722022 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,012 | test_settings.py | OctoPrint_OctoPrint/tests/settings/test_settings.py | """
Tests for OctoPrint's Settings class
.. todo::
* tests for base folder management
* tests for script management
* tests for settings migration
"""
import contextlib
import hashlib
import os
import re
import shutil
import tempfile
import time
import unittest
import unittest.mock
import ddt
import ... | 36,275 | Python | .py | 785 | 35.340127 | 241 | 0.588619 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,013 | test_types_blueprint.py | OctoPrint_OctoPrint/tests/plugin/test_types_blueprint.py | import unittest
from unittest import mock
import octoprint.plugin
class BlueprintPluginTest(unittest.TestCase):
def setUp(self):
self.basefolder = "/some/funny/basefolder"
self.plugin = octoprint.plugin.BlueprintPlugin()
self.plugin._basefolder = self.basefolder
class MyAssetPlu... | 4,969 | Python | .py | 110 | 34.745455 | 88 | 0.633665 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,014 | test_types_settings.py | OctoPrint_OctoPrint/tests/plugin/test_types_settings.py | import unittest
from unittest import mock
import octoprint.plugin
class TestSettingsPlugin(unittest.TestCase):
def setUp(self):
self.settings = mock.MagicMock()
self.plugin = octoprint.plugin.SettingsPlugin()
self.plugin._settings = self.settings
def test_on_settings_cleanup(self):
... | 7,719 | Python | .py | 170 | 35.894118 | 102 | 0.604262 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,015 | __init__.py | OctoPrint_OctoPrint/tests/plugin/__init__.py | """
Unit tests for ``octoprint.plugin``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 284 | Python | .py | 6 | 45.833333 | 103 | 0.72 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,016 | test_core.py | OctoPrint_OctoPrint/tests/plugin/test_core.py | import unittest
from unittest import mock
import ddt
import octoprint.plugin
import octoprint.plugin.core
##~~ Helpers for testing mixin type extraction
class A:
pass
class A_1(A):
pass
class A_2(A):
pass
class A_3(A):
pass
class A1_1(A_1):
pass
class B:
pass
class B_1(B):
p... | 15,515 | Python | .py | 358 | 33.703911 | 91 | 0.636894 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,017 | test_settings.py | OctoPrint_OctoPrint/tests/plugin/test_settings.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
from unittest import mock
import pytest
import octoprint.plugin
import octoprint... | 10,653 | Python | .py | 332 | 23.385542 | 103 | 0.543241 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,018 | startup_plugin.py | OctoPrint_OctoPrint/tests/plugin/_plugins/startup_plugin.py | import octoprint.plugin
class TestStartupPlugin(octoprint.plugin.StartupPlugin):
def get_sorting_key(self, context=None):
if context == "sorting_test":
return 10
else:
return None
__plugin_name__ = "Startup Plugin"
__plugin_description__ = "Test startup plugin"
__plugin_i... | 395 | Python | .py | 11 | 30.545455 | 56 | 0.681579 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,019 | hook_plugin.py | OctoPrint_OctoPrint/tests/plugin/_plugins/hook_plugin.py | def hook_startup():
return "success"
__plugin_name__ = "Hook Plugin"
__plugin_description__ = "Test hook plugin"
__plugin_hooks__ = {
"octoprint.core.startup": hook_startup,
"some.ordered.callback": hook_startup,
}
__plugin_pythoncompat__ = ">=2.7,<4"
| 266 | Python | .py | 9 | 27 | 43 | 0.670588 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,020 | asset_plugin.py | OctoPrint_OctoPrint/tests/plugin/_plugins/asset_plugin.py | import octoprint.plugin
class TestAssetPlugin(octoprint.plugin.AssetPlugin):
pass
__plugin_name__ = "Asset Plugin"
__plugin_description__ = "Test asset plugin"
__plugin_implementation__ = TestAssetPlugin()
__plugin_pythoncompat__ = ">=2.7,<4"
| 251 | Python | .py | 7 | 33.714286 | 52 | 0.75 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,021 | one_ordered_hook_plugin.py | OctoPrint_OctoPrint/tests/plugin/_plugins/one_ordered_hook_plugin.py | def callback(*args, **kwargs):
pass
__plugin_hooks__ = {"some.ordered.callback": (callback, 10)}
__plugin_pythoncompat__ = ">=2.7,<4"
| 140 | Python | .py | 4 | 32.5 | 60 | 0.641791 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,022 | another_ordered_hook_plugin.py | OctoPrint_OctoPrint/tests/plugin/_plugins/another_ordered_hook_plugin.py | def callback(*args, **kwargs):
pass
__plugin_hooks__ = {"some.ordered.callback": (callback, 100)}
__plugin_pythoncompat__ = ">=2.7,<4"
| 141 | Python | .py | 4 | 32.75 | 61 | 0.644444 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,023 | settings_plugin.py | OctoPrint_OctoPrint/tests/plugin/_plugins/settings_plugin.py | import octoprint.plugin
class TestSettingsPlugin(octoprint.plugin.SettingsPlugin):
pass
__plugin_name__ = "Settings Plugin"
__plugin_description__ = "Test settings plugin"
__plugin_implementation__ = TestSettingsPlugin()
__plugin_pythoncompat__ = ">=2.7,<4"
| 266 | Python | .py | 7 | 35.857143 | 58 | 0.764706 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,024 | __init__.py | OctoPrint_OctoPrint/tests/plugin/_plugins/mixed_plugin/__init__.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
import octoprint.plugin
class TestMixedPlugin(octoprint.plugin.StartupPlugin, oct... | 660 | Python | .py | 14 | 42.5 | 103 | 0.707355 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,025 | always_update.py | OctoPrint_OctoPrint/tests/manual_tests/always_update.py | """
Place in ~/.octoprint/plugins & restart server to test:
* python_checker and python_updater mechanism
* demotion of pip and python setup.py clean output that
gets written to stderr but isn't as severe as that would
look
Plugin will always demand to update itself, multiple
consecutive runs are not a pr... | 2,734 | Python | .py | 80 | 24.4375 | 103 | 0.541493 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,026 | __init__.py | OctoPrint_OctoPrint/tests/access/__init__.py | """
Unit tests for octoprint.access
"""
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 233 | Python | .py | 5 | 45.4 | 103 | 0.748899 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,027 | test_permissions.py | OctoPrint_OctoPrint/tests/access/test_permissions.py | """
Unit tests for octoprint.access.permissions
"""
import unittest
from octoprint.access.permissions import Permissions
class PermissionsTest(unittest.TestCase):
def test_find(self):
permission = Permissions.find("ADMIN")
self.assertIsNotNone(permission)
self.assertEqual(permission.get_... | 459 | Python | .py | 13 | 30.230769 | 56 | 0.741497 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,028 | test_usermanager.py | OctoPrint_OctoPrint/tests/access/users/test_usermanager.py | """
Unit tests for octoprint.access.users.UserManager
"""
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import ddt
import octoprint.access.users
@ddt.dd... | 1,053 | Python | .py | 27 | 31.888889 | 103 | 0.681145 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,029 | __init__.py | OctoPrint_OctoPrint/tests/access/users/__init__.py | """
Unit tests for octoprint.access.users
"""
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 239 | Python | .py | 5 | 46.6 | 103 | 0.751073 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,030 | test_users.py | OctoPrint_OctoPrint/tests/access/users/test_users.py | """
Unit tests for octoprint.access.users
"""
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import octoprint.access.users
class SessionUserTestCase(unitt... | 2,487 | Python | .py | 51 | 40.411765 | 103 | 0.68071 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,031 | permissions_plugin.py | OctoPrint_OctoPrint/tests/access/_plugins/permissions_plugin.py | def plugin_permissions(components):
return [
{
"name": "fancy permission",
"description": "My Fancy new Permission",
"roles": ["fancy"],
},
{
"name": "fancy permission with two roles",
"description": "My Fancy new Permission with tw... | 561 | Python | .py | 18 | 23.611111 | 68 | 0.565619 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,032 | test_groupmanager.py | OctoPrint_OctoPrint/tests/access/groups/test_groupmanager.py | """
Unit tests for octoprint.access.groups.GroupManager
"""
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
import contextlib
import os
import tempfile
import unittest
impor... | 1,514 | Python | .py | 38 | 31.763158 | 103 | 0.660532 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,033 | __init__.py | OctoPrint_OctoPrint/tests/access/groups/__init__.py | """
Unit tests for octoprint.access.groups
"""
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 240 | Python | .py | 5 | 46.8 | 103 | 0.752137 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,034 | __init__.py | OctoPrint_OctoPrint/tests/slicing/__init__.py | """
Unit tests for ``octoprint.slicing``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 285 | Python | .py | 6 | 46 | 103 | 0.721014 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,035 | test_slicingmanager.py | OctoPrint_OctoPrint/tests/slicing/test_slicingmanager.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from unittest import mock
import octoprint.slicing
class TestSli... | 6,937 | Python | .py | 170 | 30.029412 | 103 | 0.60735 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,036 | __init__.py | OctoPrint_OctoPrint/tests/server/__init__.py | """
Unit tests for ``octoprint.server``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 284 | Python | .py | 6 | 45.833333 | 103 | 0.72 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,037 | __init__.py | OctoPrint_OctoPrint/tests/server/api/__init__.py | """
Unit tests for ``octoprint.server.api``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 289 | Python | .py | 6 | 46.5 | 103 | 0.72043 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,038 | test_system.py | OctoPrint_OctoPrint/tests/server/api/test_system.py | """
Unit tests for ``octoprint.server.api`` system.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from uni... | 1,197 | Python | .py | 24 | 40.416667 | 103 | 0.64716 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,039 | test_flask.py | OctoPrint_OctoPrint/tests/server/util/test_flask.py | """
Unit tests for ``octoprint.server.util.flask``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from unit... | 20,755 | Python | .py | 525 | 27.546667 | 123 | 0.520236 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,040 | test_webassets.py | OctoPrint_OctoPrint/tests/server/util/test_webassets.py | """
Unit tests for ``octoprint.server.util.flask``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import d... | 1,343 | Python | .py | 41 | 24.512195 | 103 | 0.566899 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,041 | test_tornado.py | OctoPrint_OctoPrint/tests/server/util/test_tornado.py | """
Unit tests for ``octoprint.server.util.tornado``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from d... | 3,356 | Python | .py | 80 | 34.625 | 103 | 0.601732 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,042 | __init__.py | OctoPrint_OctoPrint/tests/server/util/__init__.py | """
Unit tests for ``octoprint.server.util``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 289 | Python | .py | 6 | 46.666667 | 103 | 0.721429 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,043 | test_util.py | OctoPrint_OctoPrint/tests/server/util/test_util.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2022 The OctoPrint Project - Released under terms of the AGPLv3 License"
import pytest
DEFAULT_ALLOWED_PATHS = ["/", "/recovery/", "/plugin/appkeys/auth/*"]
PREFIXED_ALLOWED_PATHS = list(map(lambda x... | 2,072 | Python | .py | 39 | 46.153846 | 103 | 0.651381 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,044 | __init__.py | OctoPrint_OctoPrint/tests/timelapse/__init__.py | """
Unit tests for ``octoprint.timelapse``.
"""
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 241 | Python | .py | 5 | 47 | 103 | 0.73617 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,045 | test_timelapse_helpers.py | OctoPrint_OctoPrint/tests/timelapse/test_timelapse_helpers.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
import os
import time
import unittest
from collections import OrderedDict, namedtuple
from unittest import mock
import ddt
im... | 9,040 | Python | .py | 202 | 35.277228 | 136 | 0.614149 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,046 | test_timelapse_renderjob.py | OctoPrint_OctoPrint/tests/timelapse/test_timelapse_renderjob.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2016 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from ddt import data, ddt, unpack
from octoprint.timelapse import TimelapseRenderJob
@ddt
class TimelapseRe... | 4,986 | Python | .py | 107 | 34.401869 | 290 | 0.512826 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,047 | test_net.py | OctoPrint_OctoPrint/tests/util/test_net.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
import socket
from unittest import mock
import pytest
import octoprint.util.net
def patched_interfaces():
return ["eth0... | 6,954 | Python | .py | 188 | 27.691489 | 143 | 0.508306 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,048 | test_comm_helpers.py | OctoPrint_OctoPrint/tests/util/test_comm_helpers.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from ddt import data, ddt, unpack
@ddt
class TestCommHelpers(uni... | 20,946 | Python | .py | 536 | 28.475746 | 228 | 0.503026 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,049 | test_counted_event.py | OctoPrint_OctoPrint/tests/util/test_counted_event.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"
import threading
import time
import unittest
from octoprint.util import CountedEve... | 4,076 | Python | .py | 101 | 31.712871 | 103 | 0.632184 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,050 | test_platform.py | OctoPrint_OctoPrint/tests/util/test_platform.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from unittest import mock
import ddt
@ddt.ddt
class PlatformUtilTest(unittest.TestCase):
@ddt.data(
... | 2,143 | Python | .py | 48 | 36.833333 | 103 | 0.576149 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,051 | test_comm.py | OctoPrint_OctoPrint/tests/util/test_comm.py | import unittest
from unittest import mock
import ddt
import pytest
import octoprint.util.comm
from octoprint.util.files import m20_timestamp_to_unix_timestamp
@ddt.ddt
class TestCommErrorHandling(unittest.TestCase):
def setUp(self):
self._comm = mock.create_autospec(octoprint.util.comm.MachineCom)
... | 12,195 | Python | .py | 334 | 27.308383 | 83 | 0.591021 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,052 | test_misc.py | OctoPrint_OctoPrint/tests/util/test_misc.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import ddt
from frozendict import frozendict
import octoprint.util
@ddt.ddt
class MiscTestCase(unittest.Te... | 3,171 | Python | .py | 87 | 26.816092 | 103 | 0.527823 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,053 | test_commandline.py | OctoPrint_OctoPrint/tests/util/test_commandline.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2022 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import ddt
import pytest
import octoprint.util.commandline
@ddt.ddt
class CommandlineTest(unittest.TestCase... | 1,488 | Python | .py | 32 | 33.5625 | 103 | 0.587597 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,054 | test_files.py | OctoPrint_OctoPrint/tests/util/test_files.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2021 The OctoPrint Project - Released under terms of the AGPLv3 License"
import datetime
import os
import re
import unittest
import pytest
from ddt import data, ddt, unpack
from octoprint.util.files... | 3,447 | Python | .py | 86 | 34.209302 | 103 | 0.655409 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,055 | test_string_helpers.py | OctoPrint_OctoPrint/tests/util/test_string_helpers.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2019 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import pytest
import octoprint.util
class StringHelperTest(unittest.TestCase):
def test_to_unicode_unic... | 2,903 | Python | .py | 65 | 35.784615 | 103 | 0.651537 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,056 | test_repeated_timer.py | OctoPrint_OctoPrint/tests/util/test_repeated_timer.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"
import time
import unittest
from unittest import mock
from octoprint.util import R... | 5,035 | Python | .py | 138 | 27.594203 | 103 | 0.616846 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,057 | test_json.py | OctoPrint_OctoPrint/tests/util/test_json.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2022 The OctoPrint Project - Released under terms of the AGPLv3 License"
import datetime
import time
import warnings
import pytest
from frozendict import frozendict
from octoprint.util import json
... | 2,354 | Python | .py | 60 | 33.233333 | 103 | 0.636324 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,058 | __init__.py | OctoPrint_OctoPrint/tests/util/__init__.py | """
Unit tests for ``octoprint.util``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 282 | Python | .py | 6 | 45.5 | 103 | 0.717949 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,059 | test_file_helpers.py | OctoPrint_OctoPrint/tests/util/test_file_helpers.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"
import os
import sys
import unittest
from unittest import mock
import ddt
import octoprint.util
class BomAwareOpenTest(unit... | 18,278 | Python | .py | 460 | 30.606522 | 139 | 0.606903 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,060 | test_fast_deepcopy.py | OctoPrint_OctoPrint/tests/util/test_fast_deepcopy.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2021 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import octoprint.util
class FastDeepcopyTest(unittest.TestCase):
def test_clean(self):
data = {"... | 569 | Python | .py | 11 | 46.636364 | 103 | 0.676311 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,061 | test_caseinsensitive_set.py | OctoPrint_OctoPrint/tests/util/test_caseinsensitive_set.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2018 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import ddt
import octoprint.util
@ddt.ddt
class TestCaseInsensitiveSet(unittest.TestCase):
def setUp(s... | 642 | Python | .py | 15 | 38.333333 | 103 | 0.704362 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,062 | test_pip.py | OctoPrint_OctoPrint/tests/util/test_pip.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
import os
import site
import unittest
from unittest import mock
import ddt
import pkg_resources
import octoprint.util.pip
@... | 6,488 | Python | .py | 198 | 22.792929 | 103 | 0.521427 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,063 | test_resettable_timer.py | OctoPrint_OctoPrint/tests/util/test_resettable_timer.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"
import time
import unittest
from unittest import mock
from octoprint.util import R... | 1,431 | Python | .py | 37 | 31.27027 | 103 | 0.662782 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,064 | test_jinja.py | OctoPrint_OctoPrint/tests/util/test_jinja.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms of the AGPLv3 License"
import os
import unittest
import jinja2
from ddt import data, ddt, unpack
import octoprint.util.jinja
NONE_FILTER = None
HI... | 3,051 | Python | .py | 84 | 26.702381 | 103 | 0.571912 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,065 | test_version.py | OctoPrint_OctoPrint/tests/util/test_version.py | __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2021 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
import ddt
import pkg_resources
@ddt.ddt
class VersionUtilTest(unittest.TestCase):
@ddt.data(
("... | 1,753 | Python | .py | 43 | 32.930233 | 103 | 0.614706 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,066 | __init__.py | OctoPrint_OctoPrint/tests/plugins/__init__.py | """
Unit tests for bundled plugins.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2017 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 279 | Python | .py | 6 | 45 | 103 | 0.72963 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,067 | test_announcements.py | OctoPrint_OctoPrint/tests/plugins/test_announcements.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2021 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from unittest import mock
from octoprint.util import TemporaryDire... | 1,938 | Python | .py | 42 | 40.119048 | 103 | 0.691614 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,068 | test_notification_filter.py | OctoPrint_OctoPrint/tests/plugins/pluginmanager/test_notification_filter.py | import unittest
import ddt
@ddt.ddt
class NotificationFilterTest(unittest.TestCase):
@ddt.data(
(
{"plugin": "foo", "text": "text", "date": "2020-09-15 00:00:00Z"},
"1.0.0",
"1.5.0",
True,
),
(
{
"plugin": "foo",
... | 2,622 | Python | .py | 98 | 14.316327 | 81 | 0.334657 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,069 | test_localstorage.py | OctoPrint_OctoPrint/tests/filemanager/test_localstorage.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
import os
import os.path
import unittest
from contextlib import contextmanager
from... | 36,140 | Python | .py | 771 | 37.230869 | 103 | 0.61968 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,070 | __init__.py | OctoPrint_OctoPrint/tests/filemanager/__init__.py | """
Unit tests for ``octoprint.filemanager.``.
"""
__author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
| 290 | Python | .py | 6 | 46.833333 | 103 | 0.72242 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,071 | test_filemanager.py | OctoPrint_OctoPrint/tests/filemanager/test_filemanager.py | __author__ = "Gina Häußge <osd@foosel.net>"
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
import io
import unittest
from unittest import mock
import octoprint.filemanager
... | 29,816 | Python | .py | 684 | 32.111111 | 110 | 0.596682 | OctoPrint/OctoPrint | 8,222 | 1,667 | 264 | AGPL-3.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,072 | setup.py | wummel_linkchecker/setup.py | #!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2000-2014 Bastian Kleineidam
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your o... | 17,166 | Python | .py | 433 | 32.145497 | 87 | 0.626125 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,073 | .pydevproject | wummel_linkchecker/.pydevproject | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?>
<pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
<pydev_pathproperty name="org.pyt... | 421 | Python | .py | 9 | 45.666667 | 91 | 0.776156 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,074 | chat_demo.py | wummel_linkchecker/third_party/miniboa-r42/chat_demo.py | #!/usr/bin/env python
#------------------------------------------------------------------------------
# chat_demo.py
# Copyright 2009 Jim Storch
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a
# copy of the L... | 3,854 | Python | .py | 104 | 31.846154 | 79 | 0.589689 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,075 | handler_demo.py | wummel_linkchecker/third_party/miniboa-r42/handler_demo.py | #!/usr/bin/env python
#------------------------------------------------------------------------------
# handler_demo.py
# Copyright 2009 Jim Storch
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a
# copy of th... | 1,583 | Python | .py | 41 | 35.292683 | 79 | 0.64337 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,076 | hello_demo.py | wummel_linkchecker/third_party/miniboa-r42/hello_demo.py | #!/usr/bin/env python
#------------------------------------------------------------------------------
# hello_demo.py
# Copyright 2009 Jim Storch
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a
# copy of the ... | 1,110 | Python | .py | 23 | 46.913043 | 79 | 0.65097 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,077 | error.py | wummel_linkchecker/third_party/miniboa-r42/miniboa/error.py | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# miniboa/error.py
# Copyright 2009 Jim Storch
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a
# copy of... | 918 | Python | .py | 18 | 49.055556 | 79 | 0.614016 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,078 | telnet.py | wummel_linkchecker/third_party/miniboa-r42/miniboa/telnet.py | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# miniboa/telnet.py
# Copyright 2009 Jim Storch
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a
# copy o... | 24,890 | Python | .py | 587 | 31.415673 | 79 | 0.529996 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,079 | xterm.py | wummel_linkchecker/third_party/miniboa-r42/miniboa/xterm.py | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# mudlib/usr/xterm.py
# Copyright 2009 Jim Storch
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a
# copy... | 3,911 | Python | .py | 98 | 34.459184 | 79 | 0.497238 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,080 | __init__.py | wummel_linkchecker/third_party/miniboa-r42/miniboa/__init__.py | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# miniboa/__init__.py
# Copyright 2009 Jim Storch
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a
# copy... | 831 | Python | .py | 14 | 58.071429 | 79 | 0.608856 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,081 | async.py | wummel_linkchecker/third_party/miniboa-r42/miniboa/async.py | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# miniboa/async.py
# Copyright 2009 Jim Storch
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a
# copy of... | 6,849 | Python | .py | 151 | 35.794702 | 79 | 0.593905 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,082 | message.py | wummel_linkchecker/third_party/dnspython/tests/message.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 5,594 | Python | .py | 150 | 30.666667 | 105 | 0.665005 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,083 | bugs.py | wummel_linkchecker/third_party/dnspython/tests/bugs.py | # Copyright (C) 2006, 2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED ... | 1,782 | Python | .py | 37 | 41.513514 | 88 | 0.691024 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,084 | set.py | wummel_linkchecker/third_party/dnspython/tests/set.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 5,255 | Python | .py | 171 | 23.222222 | 72 | 0.513176 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,085 | flags.py | wummel_linkchecker/third_party/dnspython/tests/flags.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 2,092 | Python | .py | 45 | 40.466667 | 77 | 0.695032 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,086 | namedict.py | wummel_linkchecker/third_party/dnspython/tests/namedict.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 3,459 | Python | .py | 82 | 35.426829 | 72 | 0.64641 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,087 | name.py | wummel_linkchecker/third_party/dnspython/tests/name.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 24,929 | Python | .py | 574 | 34.731707 | 1,023 | 0.594751 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,088 | ntoaaton.py | wummel_linkchecker/third_party/dnspython/tests/ntoaaton.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 5,198 | Python | .py | 124 | 34.532258 | 79 | 0.608092 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,089 | rrset.py | wummel_linkchecker/third_party/dnspython/tests/rrset.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 2,274 | Python | .py | 44 | 45.795455 | 79 | 0.612613 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,090 | zone.py | wummel_linkchecker/third_party/dnspython/tests/zone.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 14,036 | Python | .py | 340 | 31.826471 | 79 | 0.579468 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,091 | dnssec.py | wummel_linkchecker/third_party/dnspython/tests/dnssec.py | # Copyright (C) 2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND NOMIN... | 9,344 | Python | .py | 112 | 71.571429 | 598 | 0.741466 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,092 | resolver.py | wummel_linkchecker/third_party/dnspython/tests/resolver.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 4,279 | Python | .py | 108 | 33.240741 | 94 | 0.682563 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,093 | tokenizer.py | wummel_linkchecker/third_party/dnspython/tests/tokenizer.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 6,789 | Python | .py | 157 | 34.636943 | 87 | 0.623882 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,094 | update.py | wummel_linkchecker/third_party/dnspython/tests/update.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 3,919 | Python | .py | 103 | 31.961165 | 72 | 0.634954 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,095 | rdtypeandclass.py | wummel_linkchecker/third_party/dnspython/tests/rdtypeandclass.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 4,284 | Python | .py | 92 | 39.402174 | 76 | 0.69118 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,096 | inet.py | wummel_linkchecker/third_party/dnspython/dns/inet.py | # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 3,267 | Python | .py | 90 | 31.233333 | 79 | 0.70497 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,097 | rcode.py | wummel_linkchecker/third_party/dnspython/dns/rcode.py | # Copyright (C) 2001-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 3,105 | Python | .py | 99 | 27.414141 | 72 | 0.67783 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,098 | rdataclass.py | wummel_linkchecker/third_party/dnspython/dns/rdataclass.py | # Copyright (C) 2001-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 3,300 | Python | .py | 95 | 30.926316 | 76 | 0.694288 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |
22,099 | message.py | wummel_linkchecker/third_party/dnspython/dns/message.py | # Copyright (C) 2001-2007, 2009-2011 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
# provided that the above copyright notice and this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "... | 41,384 | Python | .py | 1,001 | 30.962038 | 94 | 0.595155 | wummel/linkchecker | 1,417 | 234 | 200 | GPL-2.0 | 9/5/2024, 5:13:10 PM (Europe/Amsterdam) |