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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,400 | statefile.py | NixOS_nixops/nixops/statefile.py | # -*- coding: utf-8 -*-
from __future__ import annotations
import os
import os.path
import sqlite3
import sys
import threading
import time
from typing import Any, Optional, List, Type
from types import TracebackType
import re
import nixops.deployment
from nixops.locks import LockInterface
class Connection(sqlite3.Co... | 12,489 | Python | .py | 298 | 29.348993 | 193 | 0.54265 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,401 | diff.py | NixOS_nixops/nixops/diff.py | from __future__ import annotations
import itertools
from typing import (
Any,
AnyStr,
Callable,
Dict,
List,
Optional,
Tuple,
Generic,
TypeVar,
TYPE_CHECKING,
)
from nixops.logger import MachineLogger
from nixops.state import StateDict
if TYPE_CHECKING:
import nixops.deploy... | 7,462 | Python | .py | 200 | 26.065 | 87 | 0.539726 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,402 | memory.py | NixOS_nixops/nixops/storage/memory.py | import nixops.statefile
from nixops.storage import StorageBackend
from nixops.util import ImmutableValidatedObject
class MemoryBackendOptions(ImmutableValidatedObject):
pass
class MemoryBackend(StorageBackend[MemoryBackendOptions]):
__options = MemoryBackendOptions
@staticmethod
def options(**kwarg... | 1,524 | Python | .py | 32 | 41.78125 | 71 | 0.731263 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,403 | legacy.py | NixOS_nixops/nixops/storage/legacy.py | from nixops.storage import StorageBackend
import nixops.statefile
import sys
import os
import os.path
from nixops.util import ImmutableValidatedObject
class LegacyBackendOptions(ImmutableValidatedObject):
pass
class LegacyBackend(StorageBackend[LegacyBackendOptions]):
__options = LegacyBackendOptions
@... | 2,171 | Python | .py | 49 | 35.040816 | 85 | 0.637792 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,404 | __init__.py | NixOS_nixops/nixops/storage/__init__.py | from __future__ import annotations
from typing import Mapping, Any, Type, TypeVar, TYPE_CHECKING
from typing_extensions import Protocol
"""
Interface to a storage driver.
An implementation should inherit from LockDriver in order to for a plugin to be
able to integrate it.
"""
# This separation was introduced to h... | 2,260 | Python | .py | 51 | 39.862745 | 80 | 0.722754 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,405 | commandOutput.py | NixOS_nixops/nixops/resources/commandOutput.py | # -*- coding: utf-8 -*-
# Arbitrary JSON.
import os
import nixops.util
import nixops.resources
import tempfile
import subprocess
import hashlib
# For typing
from nixops.nix_expr import Function
from nixops.resources import ResourceOptions
from typing import Optional, Dict, Tuple
class CommandOutputOptions(Resour... | 3,530 | Python | .py | 100 | 26.03 | 88 | 0.584584 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,406 | __init__.py | NixOS_nixops/nixops/resources/__init__.py | # -*- coding: utf-8 -*-
from __future__ import annotations
import re
import nixops.util
from threading import Event
from nixops.monkey import Protocol, runtime_checkable
from typing import (
List,
Optional,
Dict,
Any,
TypeVar,
Union,
TYPE_CHECKING,
Type,
Iterable,
Set,
)
from ni... | 14,315 | Python | .py | 349 | 32.160458 | 224 | 0.618012 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,407 | ssh_keypair.py | NixOS_nixops/nixops/resources/ssh_keypair.py | # Automatic provisioning of SSH key pairs.
from typing import Type, Dict, Optional
from nixops.state import RecordId
import nixops.util
import nixops.resources
class SSHKeyPairDefinition(nixops.resources.ResourceDefinition):
"""Definition of an SSH key pair."""
config: nixops.resources.ResourceOptions
... | 2,195 | Python | .py | 51 | 35.823529 | 86 | 0.663376 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,408 | __init__.py | NixOS_nixops/nixops/backends/__init__.py | # -*- coding: utf-8 -*-
from __future__ import annotations
import os
import re
from typing import (
Mapping,
Match,
Any,
Dict,
List,
Optional,
Union,
Sequence,
TypeVar,
Callable,
)
from nixops.monkey import Protocol, runtime_checkable
import nixops.util
import nixops.resources
im... | 26,203 | Python | .py | 607 | 32.378913 | 105 | 0.575635 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,409 | none.py | NixOS_nixops/nixops/backends/none.py | # -*- coding: utf-8 -*-
from typing import Optional, List
import nixops.util
from nixops.backends import MachineDefinition, MachineState, MachineOptions
from nixops.util import attr_property, create_key_pair
from nixops.state import RecordId
import nixops.resources
import nixops
class NoneDefinition(MachineDefiniti... | 4,273 | Python | .py | 112 | 28.535714 | 86 | 0.58559 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,410 | hookspecs.py | NixOS_nixops/nixops/plugins/hookspecs.py | from . import Plugin
import pluggy # type: ignore
hookspec = pluggy.HookspecMarker("nixops")
@hookspec
def plugin() -> Plugin:
"""
Register a plugin base class
"""
raise NotImplementedError
| 212 | Python | .py | 9 | 20.222222 | 42 | 0.722222 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,411 | manager.py | NixOS_nixops/nixops/plugins/manager.py | from __future__ import annotations
from nixops.backends import GenericMachineState
from typing import List, Dict, Generator, Tuple, Any, Set
import importlib
from argparse import ArgumentParser, _SubParsersAction
from nixops.storage import StorageBackend
from nixops.locks import LockDriver
from . import get_plugins, ... | 3,780 | Python | .py | 95 | 29.242105 | 89 | 0.602676 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,412 | __init__.py | NixOS_nixops/nixops/plugins/__init__.py | from __future__ import annotations
from nixops.backends import GenericMachineState
from typing import List, Dict, Optional, Union, Tuple, Type
from argparse import ArgumentParser, _SubParsersAction
from nixops.storage import StorageBackend
from nixops.locks import LockDriver
from typing import Generator
import pluggy... | 2,522 | Python | .py | 79 | 25.278481 | 84 | 0.640463 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,413 | __init__.py | NixOS_nixops/nixops/locks/__init__.py | from typing import TypeVar, Type
from typing_extensions import Protocol
"""
Interface to a lock driver.
An implementation should inherit from LockDriver in order to for a plugin to be
able to integrate it.
"""
# This separation was introduced to hide the LockOptions details from the
# LockInterface type. It only m... | 1,759 | Python | .py | 41 | 38.487805 | 79 | 0.721571 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,414 | noop.py | NixOS_nixops/nixops/locks/noop.py | from nixops.util import ImmutableValidatedObject
from . import LockDriver
class NoopLockOptions(ImmutableValidatedObject):
pass
class NoopLock(LockDriver[NoopLockOptions]):
__options = NoopLockOptions
@staticmethod
def options(**kwargs) -> NoopLockOptions:
return NoopLockOptions(**kwargs)
... | 520 | Python | .py | 15 | 29.133333 | 62 | 0.708249 | NixOS/nixops | 1,813 | 363 | 328 | LGPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,415 | run-tests.py | ninja-ide_ninja-ide/run-tests.py | #!/usr/bin/env python3
import sys
import os
import pytest
# Create dirs structure before run tests
from ninja_ide import resources
resources.create_home_dir_structure()
IN_CI = os.getenv('CI', None) is not None
def main(path):
if path is None:
path = 'ninja_tests'
args = '{path} -vv'.format(path=pat... | 594 | Python | .py | 22 | 22.818182 | 54 | 0.636042 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,416 | ninja-ide.py | ninja-ide_ninja-ide/ninja-ide.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any... | 1,131 | Python | .py | 26 | 42.153846 | 79 | 0.530909 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,417 | resources.py | ninja-ide_ninja-ide/ninja_ide/resources.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 10,372 | Python | .py | 220 | 42.545455 | 79 | 0.621247 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,418 | nresources.py | ninja-ide_ninja-ide/ninja_ide/nresources.py | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x03\x17\xf8\
\x00\
\x01\x00\x00\x00\x0d\x00\x80\x00\x03\x00\x50\x46\x46\x54\x4d\x94\
\xc5\x5e\xc1\x... | 1,293,449 | Python | .py | 19,832 | 64.218586 | 129 | 0.738325 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,419 | translations.py | ninja-ide_ninja-ide/ninja_ide/translations.py | # -*- coding: utf-8 -*-
from PyQt5 import QtCore
tr = QtCore.QCoreApplication.translate
TR_MENU_FILE = tr("NINJA-IDE", "&File")
TR_MENU_EDIT = tr("NINJA-IDE", "&Edit")
TR_MENU_VIEW = tr("NINJA-IDE", "&View")
TR_MENU_SOURCE = tr("NINJA-IDE", "&Source")
TR_MENU_PROJECT = tr("NINJA-IDE", "&Project")
TR_MENU_EXTENSION... | 40,665 | Python | .py | 863 | 44.735805 | 79 | 0.705375 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,420 | __init__.py | ninja-ide_ninja-ide/ninja_ide/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,503 | Python | .py | 55 | 43.545455 | 79 | 0.540862 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,421 | ninja_style.py | ninja-ide_ninja-ide/ninja_ide/ninja_style.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,176 | Python | .py | 51 | 34.72549 | 70 | 0.654554 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,422 | pycodestyle.py | ninja-ide_ninja-ide/ninja_ide/dependencies/pycodestyle.py | #!/usr/bin/env python3
# pycodestyle.py - Check Python source code formatting, according to PEP 8
#
# Copyright (C) 2006-2009 Johann C. Rocholl <johann@rocholl.net>
# Copyright (C) 2009-2014 Florent Xicluna <florent.xicluna@gmail.com>
# Copyright (C) 2014-2016 Ian Lee <ianlee1521@gmail.com>
#
# Permission is hereby gra... | 88,635 | Python | .py | 2,003 | 34.577634 | 80 | 0.578589 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,423 | __init__.py | ninja-ide_ninja-ide/ninja_ide/dependencies/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,424 | notimportchecker.py | ninja-ide_ninja-ide/ninja_ide/dependencies/notimportchecker.py | #!/usr/bin/env python3
__author__ = "Emmanuel Arias <eamanu@eamanu.com>"
__copyright__ = "Copyright 2018"
__license__ = "GPL"
__version__ = "0.0.2b1"
__maintainer__ = "Emmanuel Arias"
__email__ = "eamanu@eamanu.com"
__status__ = "Beta"
import ast
import os
import sys
class SearchImport(ast.NodeVisitor):
def __in... | 6,095 | Python | .py | 174 | 23.235632 | 79 | 0.487689 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,425 | messages.py | ninja-ide_ninja-ide/ninja_ide/dependencies/pyflakes_mod/messages.py | """
Provide the class Message and its subclasses.
"""
class Message(object):
message = ''
message_args = ()
def __init__(self, filename, loc):
self.filename = filename
self.lineno = loc.lineno
self.col = getattr(loc, 'col_offset', 0)
def __str__(self):
return '%s:%s: ... | 6,554 | Python | .py | 158 | 35.56962 | 79 | 0.667774 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,426 | __main__.py | ninja-ide_ninja-ide/ninja_ide/dependencies/pyflakes_mod/__main__.py | from pyflakes.api import main
# python -m pyflakes (with Python >= 2.7)
if __name__ == '__main__':
main(prog='pyflakes')
| 126 | Python | .py | 4 | 29.25 | 41 | 0.644628 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,427 | checker.py | ninja-ide_ninja-ide/ninja_ide/dependencies/pyflakes_mod/checker.py | """
Main module.
Implement the central Checker class.
Also, it models the Bindings and Scopes.
"""
from ninja_ide.dependencies.pyflakes_mod import messages
import __future__
import doctest
import os
import sys
PY2 = sys.version_info < (3, 0)
PY32 = sys.version_info < (3, 3) # Python 2.5 to 3.2
PY33 = sys.version_i... | 48,834 | Python | .py | 1,119 | 32.187668 | 86 | 0.588141 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,428 | api.py | ninja-ide_ninja-ide/ninja_ide/dependencies/pyflakes_mod/api.py | """
API for the command-line I{pyflakes} tool.
"""
from __future__ import with_statement
import sys
import os
import re
import _ast
from pyflakes import checker, __version__
from pyflakes import reporter as modReporter
__all__ = ['check', 'checkPath', 'checkRecursive', 'iterSourceCode', 'main']
PYTHON_SHEBANG_REGE... | 6,558 | Python | .py | 171 | 30.356725 | 78 | 0.63337 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,429 | reporter.py | ninja-ide_ninja-ide/ninja_ide/dependencies/pyflakes_mod/reporter.py | """
Provide the Reporter class.
"""
import re
import sys
class Reporter(object):
"""
Formats the results of pyflakes checks to users.
"""
def __init__(self, warningStream, errorStream):
"""
Construct a L{Reporter}.
@param warningStream: A file-like object where warnings will... | 2,665 | Python | .py | 68 | 30.323529 | 78 | 0.593653 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,430 | pyflakes.py | ninja-ide_ninja-ide/ninja_ide/dependencies/pyflakes_mod/scripts/pyflakes.py | """
Implementation of the command-line I{pyflakes} tool.
"""
from __future__ import absolute_import
# For backward compatibility
__all__ = ['check', 'checkPath', 'checkRecursive', 'iterSourceCode', 'main']
from pyflakes.api import check, checkPath, checkRecursive, iterSourceCode, main
| 287 | Python | .py | 7 | 39.857143 | 79 | 0.763441 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,431 | handlers.py | ninja-ide_ninja-ide/ninja_ide/extensions/handlers.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 1,372 | Python | .py | 36 | 35.222222 | 70 | 0.747741 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,432 | __init__.py | ninja-ide_ninja-ide/ninja_ide/extensions/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,433 | ui_tools.py | ninja-ide_ninja-ide/ninja_ide/tools/ui_tools.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 37,287 | Python | .py | 868 | 33.543779 | 82 | 0.596213 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,434 | debugger.py | ninja-ide_ninja-ide/ninja_ide/tools/debugger.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 998 | Python | .py | 26 | 35.153846 | 70 | 0.715321 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,435 | console.py | ninja-ide_ninja-ide/ninja_ide/tools/console.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 3,069 | Python | .py | 82 | 31.134146 | 76 | 0.619562 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,436 | introspection.py | ninja-ide_ninja-ide/ninja_ide/tools/introspection.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 11,207 | Python | .py | 296 | 28.179054 | 79 | 0.576407 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,437 | runner.py | ninja-ide_ninja-ide/ninja_ide/tools/runner.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 1,392 | Python | .py | 39 | 32.615385 | 70 | 0.720238 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,438 | utils.py | ninja-ide_ninja-ide/ninja_ide/tools/utils.py | # -*- coding: utf-8 -*-
import sys
import os
import re
from PyQt5.QtGui import QColor
from PyQt5.QtCore import QObject
from PyQt5.QtCore import QTimer
from PyQt5.QtCore import QDir
from PyQt5.QtCore import QFileInfo
from ninja_ide.core.settings import IS_WINDOWS
IS_PY_34 = False
if sys.version_info.minor <= 4:
... | 4,185 | Python | .py | 120 | 25.008333 | 78 | 0.5448 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,439 | __init__.py | ninja-ide_ninja-ide/ninja_ide/tools/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,440 | logger.py | ninja-ide_ninja-ide/ninja_ide/tools/logger.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,372 | Python | .py | 58 | 34.327586 | 80 | 0.664202 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,441 | get_system_path.py | ninja-ide_ninja-ide/ninja_ide/tools/get_system_path.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 869 | Python | .py | 20 | 42.3 | 75 | 0.769504 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,442 | json_manager.py | ninja-ide_ninja-ide/ninja_ide/tools/json_manager.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 4,771 | Python | .py | 124 | 32.862903 | 77 | 0.679061 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,443 | locator_widget.py | ninja-ide_ninja-ide/ninja_ide/tools/locator/locator_widget.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 12,913 | Python | .py | 299 | 31.729097 | 81 | 0.576254 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,444 | __init__.py | ninja-ide_ninja-ide/ninja_ide/tools/locator/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,445 | locator.py | ninja-ide_ninja-ide/ninja_ide/tools/locator/locator.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 16,215 | Python | .py | 398 | 29.796482 | 79 | 0.575708 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,446 | python_intellisense.py | ninja-ide_ninja-ide/ninja_ide/intellisensei/python_intellisense.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 3,744 | Python | .py | 101 | 27.39604 | 76 | 0.590019 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,447 | __init__.py | ninja-ide_ninja-ide/ninja_ide/intellisensei/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 759 | Python | .py | 17 | 43.588235 | 70 | 0.765182 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,448 | intellisense_registry.py | ninja-ide_ninja-ide/ninja_ide/intellisensei/intellisense_registry.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 4,951 | Python | .py | 131 | 30.648855 | 74 | 0.65231 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,449 | __init__.py | ninja-ide_ninja-ide/ninja_ide/intellisensei/completion/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,450 | __init__.py | ninja-ide_ninja-ide/ninja_ide/intellisensei/analyzer/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,451 | model.py | ninja-ide_ninja-ide/ninja_ide/intellisensei/analyzer/model.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 17,478 | Python | .py | 410 | 30.278049 | 102 | 0.547903 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,452 | __init__.py | ninja-ide_ninja-ide/ninja_ide/utils/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,453 | dynamic_splitter.py | ninja-ide_ninja-ide/ninja_ide/gui/dynamic_splitter.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 3,430 | Python | .py | 88 | 30.897727 | 72 | 0.64743 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,454 | central_widget.py | ninja-ide_ninja-ide/ninja_ide/gui/central_widget.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 7,768 | Python | .py | 180 | 34.561111 | 79 | 0.645328 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,455 | notification.py | ninja-ide_ninja-ide/ninja_ide/gui/notification.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 3,469 | Python | .py | 78 | 37.576923 | 79 | 0.685207 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,456 | ide.py | ninja-ide_ninja-ide/ninja_ide/gui/ide.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 27,880 | Python | .py | 624 | 35.652244 | 80 | 0.60909 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,457 | status_bar.py | ninja-ide_ninja-ide/ninja_ide/gui/status_bar.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 37,647 | Python | .py | 836 | 35.076555 | 79 | 0.627619 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,458 | toolbar.py | ninja-ide_ninja-ide/ninja_ide/gui/toolbar.py | # This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NINJA-IDE is distributed in t... | 1,066 | Python | .py | 27 | 36 | 70 | 0.718992 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,459 | __init__.py | ninja-ide_ninja-ide/ninja_ide/gui/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 7,063 | Python | .py | 153 | 40.679739 | 91 | 0.69576 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,460 | ntoolbar.py | ninja-ide_ninja-ide/ninja_ide/gui/ntoolbar.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 3,415 | Python | .py | 84 | 34.571429 | 72 | 0.693773 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,461 | updates.py | ninja-ide_ninja-ide/ninja_ide/gui/updates.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 5,374 | Python | .py | 133 | 29.172932 | 78 | 0.581961 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,462 | icon_manager.py | ninja-ide_ninja-ide/ninja_ide/gui/icon_manager.py | from PyQt5.QtWidgets import QApplication
from PyQt5.QtGui import (
QIconEngine,
QPixmap,
QPainter,
QIcon,
QFont,
QFontDatabase,
QColor,
)
from PyQt5.QtCore import (
Qt,
QRect,
QPoint,
QByteArray,
QFile,
)
from ninja_ide.tools.logger import NinjaLogger
# TODO: support ... | 3,314 | Python | .py | 108 | 23.694444 | 82 | 0.621102 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,463 | actions.py | ninja-ide_ninja-ide/ninja_ide/gui/actions.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 4,706 | Python | .py | 165 | 20.775758 | 70 | 0.540159 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,464 | nproject.py | ninja-ide_ninja-ide/ninja_ide/gui/explorer/nproject.py | # -*- coding: utf-8 -*-
from PyQt5.QtCore import (
QObject,
QDir,
pyqtSignal
)
import os
from ninja_ide import translations
from ninja_ide.core import settings
from ninja_ide.core.file_handling import file_manager
from ninja_ide.tools import json_manager
class NProject(QObject):
"""Project represe... | 4,596 | Python | .py | 113 | 32.628319 | 79 | 0.630848 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,465 | explorer_container.py | ninja-ide_ninja-ide/ninja_ide/gui/explorer/explorer_container.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 8,869 | Python | .py | 212 | 33.20283 | 74 | 0.637261 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,466 | __init__.py | ninja-ide_ninja-ide/ninja_ide/gui/explorer/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,467 | actions.py | ninja-ide_ninja-ide/ninja_ide/gui/explorer/actions.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,049 | Python | .py | 64 | 24.90625 | 70 | 0.590817 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,468 | web_inspector.py | ninja-ide_ninja-ide/ninja_ide/gui/explorer/tabs/web_inspector.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,247 | Python | .py | 51 | 39.137255 | 79 | 0.738095 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,469 | tree_projects_widget.py | ninja-ide_ninja-ide/ninja_ide/gui/explorer/tabs/tree_projects_widget.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 33,128 | Python | .py | 729 | 35.40192 | 79 | 0.634815 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,470 | bookmark_manager.py | ninja-ide_ninja-ide/ninja_ide/gui/explorer/tabs/bookmark_manager.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 10,100 | Python | .py | 249 | 32.51004 | 78 | 0.657785 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,471 | tree_symbols_widget.py | ninja-ide_ninja-ide/ninja_ide/gui/explorer/tabs/tree_symbols_widget.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 13,226 | Python | .py | 312 | 32.003205 | 78 | 0.600233 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,472 | main_selector.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/main_selector.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,558 | Python | .py | 68 | 32.161765 | 76 | 0.694635 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,473 | set_language.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/set_language.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 1,690 | Python | .py | 38 | 39.921053 | 70 | 0.714894 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,474 | files_handler.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/files_handler.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 7,759 | Python | .py | 187 | 31.860963 | 78 | 0.606277 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,475 | __init__.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,476 | add_file_folder.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/add_file_folder.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 3,584 | Python | .py | 91 | 32.428571 | 76 | 0.665421 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,477 | itab_item.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/itab_item.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 1,488 | Python | .py | 39 | 32.923077 | 70 | 0.659944 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,478 | combo_editor.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/combo_editor.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 36,166 | Python | .py | 803 | 35.784558 | 79 | 0.652204 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,479 | marks.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/marks.py | from PyQt5.QtGui import QIcon
from PyQt5.QtCore import Qt
from ninja_ide.core.file_handling import file_manager
from ninja_ide.tools import ui_tools
class Mark(object):
def __init__(self, filename, lineno):
self.__icon = None
self.filename = filename
self.lineno = lineno
self.to... | 1,245 | Python | .py | 37 | 26.72973 | 71 | 0.626153 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,480 | class_diagram.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/class_diagram.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 8,673 | Python | .py | 197 | 35.751269 | 74 | 0.665482 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,481 | image_viewer.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/image_viewer.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 4,207 | Python | .py | 104 | 33.942308 | 71 | 0.692798 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,482 | __main_container.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/__main_container.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 43,623 | Python | .py | 982 | 33.633401 | 83 | 0.604809 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,483 | main_container.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/main_container.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 22,374 | Python | .py | 510 | 33.427451 | 77 | 0.621412 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,484 | browser_widget.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/browser_widget.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,455 | Python | .py | 60 | 35.883333 | 83 | 0.638807 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,485 | start_page.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/start_page.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 5,391 | Python | .py | 125 | 34.256 | 79 | 0.645456 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,486 | actions.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/actions.py | # -*- coding: utf-8 -*-
from PyQt5.QtWidgets import QStyle
from ninja_ide import translations
# "connect": "function_name"
# FIXME: add open recent projects
# FIXME: add organize import
# FIXME: add remove unused imports
# FIXME: add extract method
"""
Actions included here are those that are associated with the ... | 18,229 | Python | .py | 608 | 21.455592 | 75 | 0.519705 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,487 | split_orientation.py | ninja-ide_ninja-ide/ninja_ide/gui/main_panel/helpers/split_orientation.py | # -*- coding: utf-8 -*-
from PyQt5.QtWidgets import (
QDialog,
QVBoxLayout,
QWidget,
QShortcut
)
from PyQt5.QtGui import QKeySequence
from PyQt5.QtQuickWidgets import QQuickWidget
from PyQt5.QtCore import Qt
from ninja_ide import resources
from ninja_ide.gui.ide import IDE
from ninja_ide.tools import... | 1,645 | Python | .py | 41 | 33.463415 | 76 | 0.698622 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,488 | __init__.py | ninja-ide_ninja-ide/ninja_ide/gui/menus/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,489 | menubar.py | ninja-ide_ninja-ide/ninja_ide/gui/menus/menubar.py | # -*- coding: utf-8 -*-
from PyQt5.QtWidgets import (
QAction,
QMenu
)
from PyQt5.QtCore import QObject
from collections import defaultdict
from ninja_ide import translations
from ninja_ide.core import settings
from ninja_ide.gui.ide import IDE
from ninja_ide.tools import utils
SEC01 = 100
SEC02 = 200
SEC03... | 7,586 | Python | .py | 169 | 34.87574 | 82 | 0.612886 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,490 | __init__.py | ninja-ide_ninja-ide/ninja_ide/gui/syntax_registry/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,491 | syntax_registry.py | ninja-ide_ninja-ide/ninja_ide/gui/syntax_registry/syntax_registry.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 1,122 | Python | .py | 27 | 38.37037 | 70 | 0.721507 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,492 | plugin_preferences.py | ninja-ide_ninja-ide/ninja_ide/gui/tools_dock/plugin_preferences.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,394 | Python | .py | 57 | 34.333333 | 77 | 0.660507 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,493 | web_render.py | ninja-ide_ninja-ide/ninja_ide/gui/tools_dock/web_render.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,895 | Python | .py | 58 | 44.224138 | 80 | 0.744079 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,494 | run_widget.py | ninja-ide_ninja-ide/ninja_ide/gui/tools_dock/run_widget.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 22,393 | Python | .py | 534 | 31.777154 | 79 | 0.612417 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,495 | find_in_files.py | ninja-ide_ninja-ide/ninja_ide/gui/tools_dock/find_in_files.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 15,202 | Python | .py | 391 | 30.168798 | 80 | 0.627916 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,496 | python_selector.py | ninja-ide_ninja-ide/ninja_ide/gui/tools_dock/python_selector.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 2,957 | Python | .py | 73 | 33.712329 | 75 | 0.678285 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,497 | __init__.py | ninja-ide_ninja-ide/ninja_ide/gui/tools_dock/__init__.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 692 | Python | .py | 16 | 42.25 | 70 | 0.760355 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,498 | shortcut_manager.py | ninja-ide_ninja-ide/ninja_ide/gui/tools_dock/shortcut_manager.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 12,423 | Python | .py | 275 | 34.883636 | 86 | 0.633677 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |
11,499 | console_widget.py | ninja-ide_ninja-ide/ninja_ide/gui/tools_dock/console_widget.py | # -*- coding: utf-8 -*-
#
# This file is part of NINJA-IDE (http://ninja-ide.org).
#
# NINJA-IDE 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
# any later version.
#
# NIN... | 11,691 | Python | .py | 282 | 32.219858 | 79 | 0.626464 | ninja-ide/ninja-ide | 927 | 248 | 195 | GPL-3.0 | 9/5/2024, 5:11:18 PM (Europe/Amsterdam) |