code
stringlengths
114
1.05M
path
stringlengths
3
312
quality_prob
float64
0.5
0.99
learning_prob
float64
0.2
1
filename
stringlengths
3
168
kind
stringclasses
1 value
import datetime __all__ = ["easter", "EASTER_JULIAN", "EASTER_ORTHODOX", "EASTER_WESTERN"] EASTER_JULIAN = 1 EASTER_ORTHODOX = 2 EASTER_WESTERN = 3 def easter(year, method=EASTER_WESTERN): """ This method was ported from the work done by GM Arts, on top of the algorithm by Claus Tondering, which was ...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robocop_lib/dateutil/easter.py
0.599133
0.386156
easter.py
pypi
import datetime import calendar import operator from math import copysign from six import integer_types from warnings import warn from ._common import weekday MO, TU, WE, TH, FR, SA, SU = weekdays = tuple(weekday(x) for x in range(7)) __all__ = ["relativedelta", "MO", "TU", "WE", "TH", "FR", "SA", "SU"] class re...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robocop_lib/dateutil/relativedelta.py
0.738292
0.528655
relativedelta.py
pypi
from datetime import datetime, timedelta, time, date import calendar from dateutil import tz from functools import wraps import re import six __all__ = ["isoparse", "isoparser"] def _takes_ascii(f): @wraps(f) def func(self, str_in, *args, **kwargs): # If it's a stream, read the whole thing ...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robocop_lib/dateutil/parser/isoparser.py
0.819677
0.331661
isoparser.py
pypi
from __future__ import annotations from datetime import date, datetime, time, timedelta, timezone, tzinfo from functools import lru_cache import re from typing import Any from ._types import ParseFloat # E.g. # - 00:32:00.999999 # - 00:32:00 _TIME_RE_STR = r"([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])(?:\.([0-9]{1...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robocop_lib/tomli/_re.py
0.892463
0.247589
_re.py
pypi
__all__ = ['BaseResolver', 'Resolver'] from .error import * from .nodes import * import re class ResolverError(YAMLError): pass class BaseResolver: DEFAULT_SCALAR_TAG = 'tag:yaml.org,2002:str' DEFAULT_SEQUENCE_TAG = 'tag:yaml.org,2002:seq' DEFAULT_MAPPING_TAG = 'tag:yaml.org,2002:map' yaml_imp...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/yaml_lib/yaml/resolver.py
0.614278
0.296419
resolver.py
pypi
import errno import logging import os import os.path import sys import time from argparse import ArgumentParser, RawDescriptionHelpFormatter from io import StringIO from textwrap import dedent from watchdog.utils import WatchdogShutdown, load_class from watchdog.version import VERSION_STRING logging.basicConfig(level...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/watchdog_lib/watchdog/watchmedo.py
0.556761
0.150153
watchmedo.py
pypi
import logging from watchdog.utils import BaseThread from watchdog.utils.delayed_queue import DelayedQueue from watchdog.observers.inotify_c import Inotify logger = logging.getLogger(__name__) class InotifyBuffer(BaseThread): """A wrapper for `Inotify` that holds events for `delay` seconds. During this time...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/watchdog_lib/watchdog/observers/inotify_buffer.py
0.728941
0.170335
inotify_buffer.py
pypi
import inspect import sys def name(item): " Return an item's name. " return item.__name__ def is_classmethod(instancemethod, klass): " Determine if an instancemethod is a classmethod. " return inspect.ismethod(instancemethod) and instancemethod.__self__ is klass def is_static_method(method, klass)...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/watchdog_lib/watchdog/utils/echo.py
0.515132
0.234144
echo.py
pypi
# Non-pure path objects are only allowed on their respective OS's. # Thus, these utilities require "pure" path objects that don't access the filesystem. # Since pathlib doesn't have a `case_sensitive` parameter, we have to approximate it # by converting input paths to `PureWindowsPath` and `PurePosixPath` where: # -...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/watchdog_lib/watchdog/utils/patterns.py
0.911113
0.511961
patterns.py
pypi
import dataclasses import re import warnings from typing import ( Any, AnyStr, Iterable, Iterator, Match as MatchHint, Optional, Pattern as PatternHint, Tuple, Union) class Pattern(object): """ The :class:`Pattern` class is the abstract definition of a pattern. """ # Make the class dict-less. __slots__...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/pathspec/pattern.py
0.849628
0.371365
pattern.py
pypi
import sys from collections.abc import ( Collection as CollectionType) from itertools import ( zip_longest) from os import ( PathLike) from typing import ( AnyStr, Callable, Collection, Iterable, Iterator, Optional, Type, TypeVar, Union) from . import util from .pattern import ( Pattern) from .util import...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/pathspec/pathspec.py
0.714329
0.402568
pathspec.py
pypi
from typing import ( AnyStr, Callable, Collection, Iterable, Type, TypeVar, Union) from .pathspec import ( PathSpec) from .pattern import ( Pattern) from .patterns.gitwildmatch import ( GitWildMatchPattern, GitWildMatchPatternError, _DIR_MARK) from .util import ( _is_iterable) Self = TypeVar("Self", boun...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/pathspec/gitignore.py
0.831896
0.298901
gitignore.py
pypi
import typing as t from contextlib import contextmanager from gettext import gettext as _ from ._compat import term_len from .parser import split_opt # Can force a width. This is used by the test system FORCED_WIDTH: t.Optional[int] = None def measure_table(rows: t.Iterable[t.Tuple[str, str]]) -> t.Tuple[int, ...]...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/click/formatting.py
0.702224
0.313669
formatting.py
pypi
import os import typing as t from gettext import gettext as _ from gettext import ngettext from ._compat import get_text_stderr from .utils import echo if t.TYPE_CHECKING: from .core import Context from .core import Parameter def _join_param_hints( param_hint: t.Optional[t.Union[t.Sequence[str], str]] )...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/click/exceptions.py
0.642432
0.155944
exceptions.py
pypi
import os import re import typing as t from gettext import gettext as _ from .core import Argument from .core import BaseCommand from .core import Context from .core import MultiCommand from .core import Option from .core import Parameter from .core import ParameterSource from .parser import split_arg_string from .uti...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/click/shell_completion.py
0.621081
0.153867
shell_completion.py
pypi
import functools import re import string import sys import typing as t if t.TYPE_CHECKING: import typing_extensions as te class HasHTML(te.Protocol): def __html__(self) -> str: pass _P = te.ParamSpec("_P") __version__ = "2.1.3" _strip_comments_re = re.compile(r"<!--.*?-->", re.DOTA...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/markupsafe/__init__.py
0.563858
0.173691
__init__.py
pypi
import sys import typing as t from types import CodeType from types import TracebackType from .exceptions import TemplateSyntaxError from .utils import internal_code from .utils import missing if t.TYPE_CHECKING: from .runtime import Context def rewrite_traceback_stack(source: t.Optional[str] = None) -> BaseExc...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/jinja2/debug.py
0.466359
0.204521
debug.py
pypi
import typing as t from . import nodes from .visitor import NodeVisitor VAR_LOAD_PARAMETER = "param" VAR_LOAD_RESOLVE = "resolve" VAR_LOAD_ALIAS = "alias" VAR_LOAD_UNDEFINED = "undefined" def find_symbols( nodes: t.Iterable[nodes.Node], parent_symbols: t.Optional["Symbols"] = None ) -> "Symbols": sym = Symb...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/jinja2/idtracking.py
0.538983
0.234999
idtracking.py
pypi
import inspect import typing as t from functools import WRAPPER_ASSIGNMENTS from functools import wraps from .utils import _PassArg from .utils import pass_eval_context V = t.TypeVar("V") def async_variant(normal_func): # type: ignore def decorator(async_func): # type: ignore pass_arg = _PassArg.from_...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/jinja2/async_utils.py
0.64232
0.197619
async_utils.py
pypi
import operator import types import typing as t from _string import formatter_field_name_split # type: ignore from collections import abc from collections import deque from string import Formatter from markupsafe import EscapeFormatter from markupsafe import Markup from .environment import Environment from .exceptio...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/jinja2/sandbox.py
0.77081
0.174586
sandbox.py
pypi
import typing as t from .nodes import Node if t.TYPE_CHECKING: import typing_extensions as te class VisitCallable(te.Protocol): def __call__(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.Any: ... class NodeVisitor: """Walks the abstract syntax tree and call visitor functions...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/jinja2/visitor.py
0.80147
0.575349
visitor.py
pypi
import functools import re from robot.api.parsing import Comment, ModelVisitor, Token def skip_if_disabled(func): """ Do not transform node if it's not within passed ``start_line`` and ``end_line`` or it does match any ``# robotidy: off`` disabler """ @functools.wraps(func) def wrapper(self,...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/disablers.py
0.669313
0.201047
disablers.py
pypi
import copy import dataclasses import os import re import sys from collections import namedtuple from dataclasses import dataclass, field from pathlib import Path from typing import Dict, List, Optional, Pattern, Set, Tuple try: from robot.api import Languages # RF 6.0 except ImportError: Languages = None im...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/config.py
0.727782
0.217171
config.py
pypi
from functools import lru_cache from pathlib import Path from typing import Any, Dict, Iterable, Iterator, List, Optional, Pattern, Tuple try: import rich_click as click except ImportError: import click import tomli from pathspec import PathSpec DEFAULT_EXCLUDES = r"/(\.direnv|\.eggs|\.git|\.hg|\.nox|\.tox|\...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/files.py
0.785555
0.286593
files.py
pypi
import re from typing import List, Optional, Pattern import click from robot.api import Token from robotidy.utils import normalize_name def parse_csv(value): if not value: return [] return [val for val in value.split(",")] def str_to_bool(value): return value.lower() == "true" def validate_r...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/skip.py
0.777004
0.253838
skip.py
pypi
import sys from pathlib import Path from typing import List, Optional, Pattern, Tuple, Union try: import rich_click as click RICH_PRESENT = True except ImportError: # Fails on vendored-in LSP plugin import click RICH_PRESENT = False from robotidy import app from robotidy import config as config_mod...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/cli.py
0.52756
0.216167
cli.py
pypi
from typing import Optional, Set from robot.api import Token from robot.api.parsing import CommentSection, EmptyLine try: from robot.api import Language from robot.api.parsing import Config except ImportError: # RF 6.0 Config, Language = None, None from robotidy.disablers import skip_if_disabled, skip_s...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/Translate.py
0.931501
0.737265
Translate.py
pypi
from robot.api.parsing import EmptyLine from robot.parsing.model.blocks import Keyword from robotidy.disablers import skip_section_if_disabled from robotidy.transformers import Transformer class SmartSortKeywords(Transformer): """ Sort keywords in ``*** Keywords ***`` section. By default sorting is case...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/SmartSortKeywords.py
0.823151
0.632701
SmartSortKeywords.py
pypi
from typing import Iterable from robot.api.parsing import Token try: from robot.api.parsing import Break, Continue except ImportError: Continue, Break = None, None from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.transformers import Transformer from robotidy.utils impor...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/ReplaceBreakContinue.py
0.830422
0.562717
ReplaceBreakContinue.py
pypi
from typing import List from robot.api.parsing import Token from robotidy.disablers import skip_if_disabled from robotidy.exceptions import InvalidParameterValueError from robotidy.skip import Skip from robotidy.transformers import Transformer from robotidy.transformers.run_keywords import get_run_keywords from robot...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/IndentNestedKeywords.py
0.755907
0.703148
IndentNestedKeywords.py
pypi
import re from typing import List from robot.api.parsing import Comment, Token try: from robot.api.parsing import InlineIfHeader except ImportError: InlineIfHeader = None from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.skip import Skip from robotidy.transformers import ...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/SplitTooLongLine.py
0.7696
0.62621
SplitTooLongLine.py
pypi
from robot.api.parsing import DefaultTags, ForceTags, Tags, Token from robotidy.disablers import skip_section_if_disabled from robotidy.transformers import Transformer class OrderTags(Transformer): """ Order tags. Tags are ordered in lexicographic order like this: ```robotframework *** Test Cas...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/OrderTags.py
0.81457
0.804866
OrderTags.py
pypi
from itertools import chain from robot.api.parsing import Comment, ElseHeader, ElseIfHeader, End, If, IfHeader, KeywordCall, Token try: from robot.api.parsing import Break, Continue, InlineIfHeader, ReturnStatement except ImportError: ReturnStatement, Break, Continue, InlineIfHeader = None, None, None, None ...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/InlineIf.py
0.695648
0.47384
InlineIf.py
pypi
import string from robotidy.disablers import skip_section_if_disabled from robotidy.skip import Skip from robotidy.transformers import Transformer class NormalizeSectionHeaderName(Transformer): """ Normalize section headers names. Robot Framework is quite flexible with the section header naming. Followin...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/NormalizeSectionHeaderName.py
0.804981
0.779238
NormalizeSectionHeaderName.py
pypi
from robot.api.parsing import ( Comment, ElseHeader, ElseIfHeader, EmptyLine, End, ForHeader, IfHeader, ModelVisitor, Template, Token, ) from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.transformers import Transformer from robotidy.utils im...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/AlignTemplatedTestCases.py
0.746046
0.723213
AlignTemplatedTestCases.py
pypi
from robot.api.parsing import DefaultTags, ForceTags, Tags, Token from robotidy.disablers import skip_section_if_disabled from robotidy.exceptions import InvalidParameterValueError from robotidy.transformers import Transformer class NormalizeTags(Transformer): """ Normalize tag names by normalizing case and ...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/NormalizeTags.py
0.819605
0.900223
NormalizeTags.py
pypi
from robot.api.parsing import Comment, EmptyLine, Token from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.exceptions import InvalidParameterValueError, RobotidyConfigError from robotidy.transformers import Transformer class InvalidSettingsOrderError(InvalidParameterValueError): ...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/OrderSettings.py
0.813609
0.575528
OrderSettings.py
pypi
from robot.api.parsing import Token try: from robot.api.parsing import InlineIfHeader, ReturnStatement except ImportError: InlineIfHeader = None ReturnStatement = None from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.skip import Skip from robotidy.transformers import...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/NormalizeSeparators.py
0.783326
0.281328
NormalizeSeparators.py
pypi
import re import string from typing import Optional from robot.api.parsing import Token from robot.variables.search import VariableIterator from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.exceptions import InvalidParameterValueError from robotidy.transformers import Transformer...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/RenameKeywords.py
0.812384
0.643273
RenameKeywords.py
pypi
from robot.api.parsing import Comment, EmptyLine try: from robot.api.parsing import ReturnStatement except ImportError: ReturnStatement = None from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.transformers import Transformer from robotidy.utils import ( after_last_dot...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/ReplaceReturns.py
0.805632
0.683439
ReplaceReturns.py
pypi
from robot.api.parsing import Token from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.skip import Skip from robotidy.transformers import Transformer class ReplaceEmptyValues(Transformer): """ Replace empty values with ``${EMPTY}`` variable. Empty variables, lists or...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/ReplaceEmptyValues.py
0.757884
0.7666
ReplaceEmptyValues.py
pypi
from robot.api.parsing import Comment, EmptyLine, End, Token try: from robot.api.parsing import InlineIfHeader except ImportError: InlineIfHeader = None from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.skip import Skip from robotidy.transformers import Transformer clas...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/AddMissingEnd.py
0.729134
0.715039
AddMissingEnd.py
pypi
import re from pathlib import Path from typing import Optional from jinja2 import Template from jinja2.exceptions import TemplateError from robot.api.parsing import Documentation, ModelVisitor, Token from robotidy.exceptions import InvalidParameterValueError from robotidy.transformers import Transformer GOOGLE_TEMPL...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/GenerateDocumentation.py
0.77768
0.37339
GenerateDocumentation.py
pypi
try: from robot.api.parsing import InlineIfHeader, TryHeader except ImportError: InlineIfHeader, TryHeader = None, None from robotidy.disablers import skip_if_disabled from robotidy.skip import Skip from robotidy.transformers.aligners_core import AlignKeywordsTestsSection from robotidy.utils import is_suite_te...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/AlignTestCasesSection.py
0.856437
0.784236
AlignTestCasesSection.py
pypi
import re import string from typing import Optional from robot.api.parsing import Token from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.exceptions import InvalidParameterValueError from robotidy.transformers import Transformer def cap_string_until_succeed(word: str): """ ...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/RenameTestCases.py
0.894502
0.767102
RenameTestCases.py
pypi
import ast from robot.api.parsing import Token from robotidy.disablers import skip_section_if_disabled from robotidy.exceptions import InvalidParameterValueError from robotidy.transformers import Transformer # TODO: preserve comments? class RemoveEmptySettings(Transformer): """ Remove empty settings. Y...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/RemoveEmptySettings.py
0.416322
0.653887
RemoveEmptySettings.py
pypi
try: from robot.api.parsing import InlineIfHeader, TryHeader except ImportError: InlineIfHeader, TryHeader = None, None from robotidy.disablers import skip_if_disabled from robotidy.skip import Skip from robotidy.transformers.aligners_core import AlignKeywordsTestsSection class AlignKeywordsSection(AlignKeyw...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/AlignKeywordsSection.py
0.863248
0.779951
AlignKeywordsSection.py
pypi
from robot.api.parsing import ElseHeader, ElseIfHeader, End, If, IfHeader, KeywordCall, Token from robotidy.disablers import skip_if_disabled, skip_section_if_disabled from robotidy.transformers import Transformer from robotidy.utils import after_last_dot, is_var, normalize_name def insert_separators(indent, tokens,...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/robotidy/transformers/ReplaceRunKeywordIf.py
0.779196
0.623835
ReplaceRunKeywordIf.py
pypi
from __future__ import annotations from datetime import date, datetime, time, timedelta, timezone, tzinfo from functools import lru_cache import re from typing import Any from ._types import ParseFloat # E.g. # - 00:32:00.999999 # - 00:32:00 _TIME_RE_STR = r"([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])(?:\.([0-9]{1...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robocorp_ls_core/libs/robotidy_lib/tomli/_re.py
0.892463
0.247589
_re.py
pypi
import datetime import json def _decode_oid(decoder, oid): return decoder.memo[oid] def _decode_float(decoder, msg): return float(msg) def _decode_int(decoder, msg): return int(msg) def _decode_str(decoder, msg): return msg def _decode(message_definition, level_diff=0): names = [] name...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robot_out_stream/_decoder.py
0.535584
0.285456
_decoder.py
pypi
from typing import Sequence, Dict, Any class RobotFrameworkFacade(object): """ Nothing on Robot Framework is currently typed, so, this is a facade to help to deal with it so that we don't add lots of things to ignore its imports/typing. """ @property def get_model(self): from robo...
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/vendored/robotframework_interactive/robotfacade.py
0.811788
0.374676
robotfacade.py
pypi
from robot.api.deco import keyword from ..mailclient.variables import Variables class SetterKeywords: def __init__(self,MailUsername:str, MailPassword:str, MailServerAddress:str, ImapPorts:list, Pop3Ports:list, SmtpPorts:list): self.set_mail_username_and_password(MailUsername, MailPassword) self.se...
/robotframework-mailclient-0.0.11.tar.gz/robotframework-mailclient-0.0.11/src/MailClientLibrary/keywords/setter.py
0.790449
0.311689
setter.py
pypi
from ..mailclient.protocols.pop3 import Pop3 from ..mailclient.errors import MailClientError from robot.api.deco import keyword # ToDo Add logger.infos class Pop3Keywords: @keyword def open_pop3_mail_by_subject(self, subject, useSsl=True): """ This keyword reaches the mail server using Pop3 pr...
/robotframework-mailclient-0.0.11.tar.gz/robotframework-mailclient-0.0.11/src/MailClientLibrary/keywords/pop3.py
0.789558
0.365768
pop3.py
pypi
from ..mailclient.protocols.imap import Imap from ..mailclient.errors import MailClientError from robot.api.deco import keyword # ToDo Add logger.infos class ImapKeywords: @keyword def open_imap_mail_by_subject(self, subject, useSsl=True): """ This keyword reaches the mail server using Imap pr...
/robotframework-mailclient-0.0.11.tar.gz/robotframework-mailclient-0.0.11/src/MailClientLibrary/keywords/imap.py
0.767951
0.355943
imap.py
pypi
from enum import Enum from email.message import EmailMessage import os import mimetypes class Mail: class Alternative: class Subtype(Enum): """ "plain": Plain text, no formatting (default). "html": Hypertext Markup Language. "enriched": Rich text format. ...
/robotframework-mailclient-0.0.11.tar.gz/robotframework-mailclient-0.0.11/src/MailClientLibrary/mailclient/mail.py
0.6973
0.226169
mail.py
pypi
import re class keywords(object): def email_subject_should_match(self, regex: str, message=None): """ Checks the email subject of the last email received on the current server_domain matches the given regular expression. """ self.criteria.sent_to = self.server_domain last_e...
/robotframework_mailosaur-1.0.2-py3-none-any.whl/rfmailosaur/keywords.py
0.59514
0.286568
keywords.py
pypi
import time import os import socket import re from .py3270 import Emulator from robot.api import logger from robot.libraries.BuiltIn import BuiltIn from robot.libraries.BuiltIn import RobotNotRunningError from robot.utils import Matcher class x3270(object): def __init__(self, visible=True, timeout='30', wait_time...
/robotframework_mainframe3270_extended-1.2.2-py3-none-any.whl/ExtendedMainframe3270/x3270.py
0.581778
0.288181
x3270.py
pypi
import os from datetime import timedelta from typing import Any from robot.api import logger from robot.api.deco import keyword from robot.libraries.BuiltIn import BuiltIn, RobotNotRunningError from robot.utils import ConnectionCache from robotlibcore import DynamicCore from Mainframe3270.keywords import ( Assert...
/robotframework-mainframe3270-4.0.tar.gz/robotframework-mainframe3270-4.0/Mainframe3270/__init__.py
0.803791
0.393909
__init__.py
pypi
import time from typing import Any, Optional from robot.api.deco import keyword from Mainframe3270.librarycomponent import LibraryComponent class ReadWriteKeywords(LibraryComponent): @keyword("Read") def read(self, ypos: int, xpos: int, length: int) -> str: """Get a string of ``length`` at screen co...
/robotframework-mainframe3270-4.0.tar.gz/robotframework-mainframe3270-4.0/Mainframe3270/keywords/read_write.py
0.831656
0.41745
read_write.py
pypi
import time from datetime import timedelta from robot.api.deco import keyword from robot.utils import secs_to_timestr from Mainframe3270.librarycomponent import LibraryComponent from Mainframe3270.utils import convert_timeout class WaitAndTimeoutKeywords(LibraryComponent): @keyword("Change Timeout") def cha...
/robotframework-mainframe3270-4.0.tar.gz/robotframework-mainframe3270-4.0/Mainframe3270/keywords/wait_and_timeout.py
0.726911
0.345133
wait_and_timeout.py
pypi
import time from typing import Optional from robot.api.deco import keyword from Mainframe3270.librarycomponent import LibraryComponent class CommandKeywords(LibraryComponent): @keyword("Execute Command") def execute_command(self, cmd: str) -> None: """Execute a [http://x3270.bgp.nu/wc3270-man.html#A...
/robotframework-mainframe3270-4.0.tar.gz/robotframework-mainframe3270-4.0/Mainframe3270/keywords/commands.py
0.829871
0.423577
commands.py
pypi
import os import re import shlex from os import name as os_name from typing import List, Optional, Union from robot.api import logger from robot.api.deco import keyword from Mainframe3270.librarycomponent import LibraryComponent from Mainframe3270.py3270 import Emulator class ConnectionKeywords(LibraryComponent): ...
/robotframework-mainframe3270-4.0.tar.gz/robotframework-mainframe3270-4.0/Mainframe3270/keywords/connection.py
0.79799
0.314735
connection.py
pypi
import asyncio from mitmproxy import options from mitmproxy.tools import dump from robot.api.deco import library, not_keyword from robot.api import logger from .version import VERSION from .async_loop_thread import AsyncLoopThread from .request_logger import RequestLogger @library(scope='SUITE', version=VERSION, a...
/robotframework-mitmlibrary-0.1.1.tar.gz/robotframework-mitmlibrary-0.1.1/MitmLibrary/__init__.py
0.762778
0.249139
__init__.py
pypi
import os from keywords import * from version import VERSION from utils import LibraryListener from robot.libraries.BuiltIn import BuiltIn __version__ = VERSION class AppiumLibrary( _LoggingKeywords, _RunOnFailureKeywords, _ElementKeywords, _ScreenshotKeywords, _ApplicationManagementKeywords, ...
/robotframework-mobilelibrary-2.0.5.tar.gz/robotframework-mobilelibrary-2.0.5/src/AppiumLibrary/__init__.py
0.73173
0.383006
__init__.py
pypi
from appium.webdriver.common.touch_action import TouchAction from AppiumLibrary.locators import ElementFinder from keywordgroup import KeywordGroup class _TouchKeywords(KeywordGroup): def __init__(self): self._element_finder = ElementFinder() # Public, element lookups def zoom(self, locator, pe...
/robotframework-mobilelibrary-2.0.5.tar.gz/robotframework-mobilelibrary-2.0.5/src/AppiumLibrary/keywords/_touch.py
0.737725
0.248477
_touch.py
pypi
import os import robot from keywordgroup import KeywordGroup class _ScreenshotKeywords(KeywordGroup): def __init__(self): self._screenshot_index = 0 self._gif_index=0 # Public def capture_page_screenshot(self, filename=None): """Takes a screenshot of the current page and embeds...
/robotframework-mobilelibrary-2.0.5.tar.gz/robotframework-mobilelibrary-2.0.5/src/AppiumLibrary/keywords/_screenshot.py
0.561455
0.248835
_screenshot.py
pypi
import base64 from keywordgroup import KeywordGroup from appium.webdriver.connectiontype import ConnectionType class _AndroidUtilsKeywords(KeywordGroup): # Public def get_network_connection_status(self): """Returns an integer bitmask specifying the network connection type. Android only. ...
/robotframework-mobilelibrary-2.0.5.tar.gz/robotframework-mobilelibrary-2.0.5/src/AppiumLibrary/keywords/_android_utils.py
0.692642
0.233248
_android_utils.py
pypi
from robot.libraries import BuiltIn from keywordgroup import KeywordGroup BUILTIN = BuiltIn.BuiltIn() class _RunOnFailureKeywords(KeywordGroup): def __init__(self): self._run_on_failure_keyword = None self._running_on_failure_routine = False # Public def register_keyword_to_run_on_fai...
/robotframework-mobilelibrary-2.0.5.tar.gz/robotframework-mobilelibrary-2.0.5/src/AppiumLibrary/keywords/_runonfailure.py
0.806815
0.19521
_runonfailure.py
pypi
import time import robot from keywordgroup import KeywordGroup class _WaitingKeywords(KeywordGroup): def wait_until_page_contains(self, text, timeout=None, error=None): """Waits until `text` appears on current page. Fails if `timeout` expires before the text appears. See `introduction` fo...
/robotframework-mobilelibrary-2.0.5.tar.gz/robotframework-mobilelibrary-2.0.5/src/AppiumLibrary/keywords/_waiting.py
0.746971
0.180251
_waiting.py
pypi
import requests import json from urllib.parse import urljoin from robot.api import logger from .version import VERSION __version__ = VERSION class MockServerLibrary(object): """Robot Framework library for interacting with [http://www.mock-server.com|MockServer] The purpose of this library is to provide a k...
/robotframework-mockserver-0.0.7.tar.gz/robotframework-mockserver-0.0.7/src/MockServerLibrary/library.py
0.813201
0.297846
library.py
pypi
import requests import json from urllib.parse import urljoin from robot.api import logger from .version import VERSION __version__ = VERSION class MockServerLibrary(object): """Robot Framework library for interacting with [http://www.mock-server.com|MockServer] The purpose of this library is to provide a k...
/robotframework-mockserverlibrary-0.8.5.tar.gz/robotframework-mockserverlibrary-0.8.5/src/MockServerLibrary/library.py
0.817684
0.379321
library.py
pypi
from robot.libraries.BuiltIn import BuiltIn import logging class MongoConnectionManager(object): """ Connection Manager handles the connection & disconnection to the database. """ def __init__(self): """ Initializes _dbconnection to None. """ self._dbconnection = None ...
/robotframework_mongodb_bson_library-1.1-py3-none-any.whl/MongoDBBSONLibrary/mongo_connection_manager.py
0.530723
0.165155
mongo_connection_manager.py
pypi
from robot.libraries.BuiltIn import BuiltIn import logging class MongoConnectionManager(object): """ Connection Manager handles the connection & disconnection to the database. """ def __init__(self): """ Initializes _dbconnection to None. """ self._dbconnection = None ...
/robotframework_mongodb_library-3.2-py3-none-any.whl/MongoDBLibrary/mongo_connection_manager.py
0.530723
0.165155
mongo_connection_manager.py
pypi
from robot.libraries.BuiltIn import BuiltIn import logging class MongoConnectionManager(object): """ Connection Manager handles the connection & disconnection to the database. """ def __init__(self): """ Initializes _dbconnection to None. """ self._dbconnection = None ...
/robotframework-mongodb-library3-3.3.tar.gz/robotframework-mongodb-library3-3.3/src/MongoDBLibrary/mongo_connection_manager.py
0.530723
0.165155
mongo_connection_manager.py
pypi
from robot.libraries.BuiltIn import BuiltIn import logging class MongoConnectionManager(object): """ Connection Manager handles the connection & disconnection to the database. """ def __init__(self): """ Initializes _dbconnection to None. """ self._dbconnection = None ...
/robotframework-mongodb-library4-4.0.tar.gz/robotframework-mongodb-library4-4.0/src/MongoDBLibrary/mongo_connection_manager.py
0.530723
0.165155
mongo_connection_manager.py
pypi
from robot.libraries.BuiltIn import BuiltIn class MongoConnectionManager(object): """ Connection Manager handles the connection & disconnection to the database. """ def __init__(self): """ Initializes _dbconnection to None. """ self._dbconnection = None self._b...
/robotframework-mongodblibrary-0.3.4.zip/robotframework-mongodblibrary-0.3.4/src/MongoDBLibrary/mongo_connection_manager.py
0.424889
0.187207
mongo_connection_manager.py
pypi
import netaddr class RobotFrameworkNetAddr(): ''' Wrapper functions to access a selection of the python netaddr library from robot framework. Most of the functionality from the netaddr IPNetwork, IPAddress and EUI classes are implemented along with a couple of extra functions to provide more ease of use ...
/robotframework_netaddr-0.0.4-py3-none-any.whl/RobotFrameworkNetAddr/robotframeworknetaddr.py
0.794584
0.464598
robotframeworknetaddr.py
pypi
import argparse import sys from typing import Optional, List import typing from robotframework_obfuscator.obfuscator import IOpts, IDoWrite def add_arguments(parser): parser.description = "RobotFramework Obfuscator" parser.add_argument( "--stable-names", action="store_true", help="If ...
/robotframework-obfuscator-0.0.1.tar.gz/robotframework-obfuscator-0.0.1/robotframework_obfuscator/__main__.py
0.539469
0.159414
__main__.py
pypi
from typing import List, Iterable, Union, Dict, Optional, Tuple import pathlib import sys from os import scandir, makedirs from robotframework_ls.impl.protocols import ( ICompletionContext, ) from robotframework_obfuscator.name_generator import NameGenerator from robotframework_ls.impl.text_utilities import normali...
/robotframework-obfuscator-0.0.1.tar.gz/robotframework-obfuscator-0.0.1/robotframework_obfuscator/obfuscator.py
0.635901
0.191536
obfuscator.py
pypi
from robot.api.parsing import ModelTransformer, Token, KeywordCall from robotframework_obfuscator.name_generator import NameGenerator from robotframework_ls.impl.keywords_in_args import KEYWORD_NAME_TO_KEYWORD_INDEX from robotframework_ls.impl.text_utilities import normalize_robot_name from robotframework_obfuscator.ex...
/robotframework-obfuscator-0.0.1.tar.gz/robotframework-obfuscator-0.0.1/robotframework_obfuscator/obfuscator_transformer.py
0.62681
0.164483
obfuscator_transformer.py
pypi
from OCRLibrary.keywords.binary_image_transformation import ImageThresholdingKeywords, MorphologicalTransformationKeywords from OCRLibrary.keywords.changing_colourspace_transformation import ChangingColourspaceKeywords from OCRLibrary.keywords.content_location import ContentLocationKeywords from OCRLibrary.keywords.con...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/__init__.py
0.879923
0.529385
__init__.py
pypi
from ..utils.exceptions.exception_handler \ import (verify_valid_image) from ..utils.imagereading.text_locating \ import (return_text_coordinates, return_multiple_text_coordinates, return_text_bounds, return_multiple_text_bounds) class ContentLocationKeywords: """ ContentLocationKeywords Class ...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/keywords/content_location.py
0.773045
0.535949
content_location.py
pypi
from ..utils.exceptions.exception_handler \ import (verify_valid_kernel_size, verify_valid_depth, raise_invalid_kernel_type, verify_valid_kernel_size_non_tuple, verify_valid_image, verify_valid_kernel_size_only_odds) from ..utils.helpers.robot_conversions \ import (convert_to_valid_kernel_size, convert_to_v...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/keywords/smoothing_image_transformation.py
0.901547
0.569194
smoothing_image_transformation.py
pypi
from ..utils.exceptions.exception_handler import \ (verify_valid_kernel_size, verify_valid_iteration, raise_invalid_kernel_type, verify_valid_image, verify_valid_image_path, verify_valid_threshold_values) from ..utils.helpers.robot_conversions import \ (convert_to_valid_kernel_size) from ..utils.imageproces...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/keywords/binary_image_transformation.py
0.872402
0.609916
binary_image_transformation.py
pypi
from ..utils.exceptions.exception_handler import \ (verify_valid_image, verify_valid_colour_bounds) from ..utils.helpers.robot_conversions import \ (convert_to_valid_colour_bounds) from ..utils.imageprocessing.image_processing_colour import \ (process_to_gray_scale, process_colour_image_to_hsv, mask_colour_...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/keywords/changing_colourspace_transformation.py
0.901894
0.411702
changing_colourspace_transformation.py
pypi
from pytesseract import image_to_data, Output def return_text_coordinates(img, text, pyt_conf, lang): """ This keyword is find the coordinates of text in an image. """ data = image_to_data(img, output_type=Output.DICT, config=pyt_conf, lang=lang) boxes = len(data['level']) for i in range(boxes)...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/utils/imagereading/text_locating.py
0.422981
0.474753
text_locating.py
pypi
import numpy import cv2 from OCRLibrary.utils.exceptions.exceptions \ import (InvalidKernelSize, InvalidKernelType, InvalidIteration, ContentNotFound, InvalidImageArgument, InvalidColourBoundArguments, InvalidImagePath, InvalidThresholdValue, InvalidDepthArgument) def verify_content(expected_content, actual_co...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/utils/exceptions/exception_handler.py
0.723114
0.671107
exception_handler.py
pypi
class Error(Exception): """ Base Class for all custom exceptions """ class InvalidKernelSize(Error): """ Purpose: Exception raised when the provided kernel size is invalid. Attributes: message - explanation of the error. """ def __init__(self, message): self.mess...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/utils/exceptions/exceptions.py
0.907969
0.234133
exceptions.py
pypi
from OCRLibrary.utils.imageprocessing.imagetransformation.changing_colourspaces \ import (convert_bgr_to_gray, convert_bgr_to_hsv, mask_single_colour, mask_double_colour) def process_to_gray_scale(img): """ Purpose: Converts read image to gray scale. Args: img_path - path to the image t...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/utils/imageprocessing/image_processing_colour.py
0.95845
0.492188
image_processing_colour.py
pypi
from OCRLibrary.utils.imageprocessing.imagetransformation.structuring_element \ import get_rect_kernel, get_ellipse_kernel, get_cross_kernel from OCRLibrary.utils.imageprocessing.imagetransformation.image_smoothing \ import image_filtering, blurring_averaging, blurring_gaussian, median_filtering def process_im...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/utils/imageprocessing/image_processing_generic.py
0.958069
0.684879
image_processing_generic.py
pypi
import cv2 from OCRLibrary.utils.imageprocessing.imagetransformation.changing_colourspaces import convert_bgr_to_gray from OCRLibrary.utils.imageprocessing.imagetransformation.image_thresholding \ import (threshold_binary, threshold_binary_inv, threshold_trunc, threshold_tozero, threshold_tozero_inv, threshold_...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/utils/imageprocessing/image_processing_gray.py
0.885198
0.659235
image_processing_gray.py
pypi
import cv2 def threshold_binary(img, thresh, max_thresh): """ Purpose: Apply binary threshold to grayscale image. Arguments: img - a gray scale image. thresh - threshold value used to classify the pixel values. max_thresh - the max value to be given if a pixels value is more...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/utils/imageprocessing/imagetransformation/image_thresholding.py
0.918045
0.751032
image_thresholding.py
pypi
import cv2 import numpy as np def convert_bgr_to_gray(img): """ Purpose: Converts image from BGR to gray scale. Args: img - provided read image (result of cv2.imread()). Returns: Image in gray scale. """ return cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) def convert_bgr_to_hs...
/robotframework_ocrlibrary-2.0.0-py3-none-any.whl/OCRLibrary/utils/imageprocessing/imagetransformation/changing_colourspaces.py
0.928676
0.589421
changing_colourspaces.py
pypi
import struct class VolumeDump(object): """Helper class to create and check volume dumps.""" DUMPBEGINMAGIC = 0xB3A11322 DUMPENDMAGIC = 0x3A214B6E DUMPVERSION = 1 D_DUMPHEADER = 1 D_VOLUMEHEADER = 2 D_VNODE = 3 D_DUMPEND = 4 @staticmethod def check_header(filename): ...
/robotframework_openafslibrary-0.8.1-py3-none-any.whl/OpenAFSLibrary/keywords/dump.py
0.59408
0.313092
dump.py
pypi
from pathlib import Path from typing import Any, Dict, Iterable, List, Optional, Tuple, Union from DataDriver import DataDriver from requests.auth import AuthBase from requests.cookies import RequestsCookieJar as CookieJar from robot.api.deco import library from OpenApiDriver.openapi_executors import OpenApiExecutors...
/robotframework_openapidriver-4.2.1-py3-none-any.whl/OpenApiDriver/openapidriver.py
0.910974
0.329877
openapidriver.py
pypi
from typing import Any, Dict, List, Union from DataDriver.AbstractReaderClass import AbstractReaderClass from DataDriver.ReaderConfig import TestCaseData # pylint: disable=too-few-public-methods class Test: """ Helper class to support ignoring endpoint responses when generating the test cases. """ d...
/robotframework_openapidriver-4.2.1-py3-none-any.whl/OpenApiDriver/openapi_reader.py
0.887823
0.28607
openapi_reader.py
pypi
import openpyxl class OpenPyxlLibrary: """ This test library internally use openpyxl module of python and provides keywords to open, read, write excel files. This library only supports xlsx file formats. *Prerequisties* Openpyxl module of python should be installed using comm...
/robotframework-openpyxllib-0.7.tar.gz/robotframework-openpyxllib-0.7/OpenPyxlLibrary/OpenPyxlLibrary.py
0.603932
0.427337
OpenPyxlLibrary.py
pypi
import time from typing import Optional from typing_extensions import Literal from robotlibcore import keyword from robot.api import Error from OpenShiftLibrary.client import GenericClient from OpenShiftLibrary.outputformatter import OutputFormatter from OpenShiftLibrary.outputstreamer import OutputStreamer class ...
/robotframework-openshift-1.0.0.tar.gz/robotframework-openshift-1.0.0/OpenShiftLibrary/keywords/pods.py
0.897821
0.287718
pods.py
pypi
import json import os import validators import yaml from typing import Any, Dict, List, Optional, Union from robotlibcore import keyword from OpenShiftLibrary.client.authclient import AuthClient from OpenShiftLibrary.client import GenericClient from OpenShiftLibrary.dataloader import DataLoader from OpenShiftLibrary...
/robotframework-openshift-1.0.0.tar.gz/robotframework-openshift-1.0.0/OpenShiftLibrary/keywords/generic.py
0.802942
0.204699
generic.py
pypi
from typing import Any, Dict, List, Optional from kubernetes import client, config from openshift.dynamic import DynamicClient from urllib import parse from OpenShiftLibrary.client import GenericClient class GenericApiClient(GenericClient): def apply(self, kind: str, body: str, api_version: Optional[str] = No...
/robotframework-openshift-1.0.0.tar.gz/robotframework-openshift-1.0.0/OpenShiftLibrary/client/genericapiclient.py
0.816443
0.1661
genericapiclient.py
pypi