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 dataclasses import sys from dataclasses import dataclass from enum import Enum, unique from pathlib import Path from typing import IO, Any, AnyStr, Callable, Iterable, Optional, Sequence, TypeVar, Union, cast import click import pluggy import tomli_w from robotcode.core.dataclasses import as_dict, as_json __al...
/robotcode_plugin-0.54.3-py3-none-any.whl/robotcode/plugin/__init__.py
0.698844
0.153264
__init__.py
pypi
from enum import Enum from typing import ( Any, Callable, Generic, List, Mapping, NamedTuple, Optional, Sequence, Set, Tuple, Type, TypeVar, Union, ) import click T = TypeVar("T", bound=Enum) class EnumChoice(click.Choice, Generic[T]): """A click.Choice that a...
/robotcode_plugin-0.54.3-py3-none-any.whl/robotcode/plugin/click_helper/types.py
0.902334
0.267357
types.py
pypi
from typing import List, Optional, Sequence, Set, Tuple import click from robotcode.core.types import ServerMode from robotcode.plugin import Application from robotcode.plugin.click_helper.types import ( AddressesPort, AddressParamType, AddressPortParamType, EnumChoice, MutuallyExclusiveOption, ...
/robotcode_plugin-0.54.3-py3-none-any.whl/robotcode/plugin/click_helper/options.py
0.767429
0.153962
options.py
pypi
import sys from enum import Enum from pathlib import Path from typing import Any, Optional, Sequence, Tuple, Union from robotcode.core.dataclasses import from_dict if sys.version_info >= (3, 11): import tomllib else: import tomli as tomllib from .model import RobotConfig PYPROJECT_TOML = "pyproject.toml" R...
/robotcode_robot-0.54.3-py3-none-any.whl/robotcode/robot/config/loader.py
0.498291
0.157752
loader.py
pypi
import dataclasses import datetime import fnmatch import os import platform import re from dataclasses import dataclass from enum import Enum from pathlib import Path from typing import ( Any, Callable, Dict, List, Literal, Optional, Tuple, Union, get_type_hints, ) import tomli_w fr...
/robotcode_robot-0.54.3-py3-none-any.whl/robotcode/robot/config/model.py
0.80969
0.34319
model.py
pypi
import os from pathlib import Path from typing import Any, Optional, Tuple, cast import click from robot.errors import DataError, Information from robot.libdoc import USAGE, LibDoc from robot.version import get_full_version from robotcode.plugin import Application, pass_application from robotcode.robot.config.loader i...
/robotcode_runner-0.54.3-py3-none-any.whl/robotcode/runner/cli/libdoc.py
0.752195
0.197116
libdoc.py
pypi
import os from pathlib import Path from typing import Any, Optional, Tuple, cast import click from robot.errors import DataError, Information from robot.rebot import USAGE, Rebot from robot.version import get_full_version from robotcode.plugin import Application, pass_application from robotcode.robot.config.loader imp...
/robotcode_runner-0.54.3-py3-none-any.whl/robotcode/runner/cli/rebot.py
0.742795
0.239772
rebot.py
pypi
import os import sys from pathlib import Path from typing import Any, List, Optional, Set, Tuple, Union, cast import click from robot.errors import DataError, Information from robot.run import USAGE, RobotFramework from robot.version import get_full_version from robotcode.plugin import Application, pass_application fr...
/robotcode_runner-0.54.3-py3-none-any.whl/robotcode/runner/cli/robot.py
0.64791
0.227598
robot.py
pypi
# RobotCode - Language support for Robot Framework for Visual Studio Code [![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/d-biehl.robotcode?style=flat&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode) [![Installs](ht...
/robotcode-0.47.5.tar.gz/robotcode-0.47.5/README.md
0.783036
0.89275
README.md
pypi
import tkinter as tk from tkinter import messagebox, simpledialog, Tk from tkinter.ttk import Combobox window_location = "+300+300" def enter(prompt, default_value): """ Zobrazí dialogové okno s výzvou k zadání reálné hodnoty při zavření okna zavíracím tlačítkem ukončí aplikaci. :param pr...
/robotcz-0.0.3-py3-none-any.whl/IO.py
0.403449
0.317281
IO.py
pypi
import dbg; dbg.start_pkg(2, __name__, __doc__, new_line=False) ###########################################################################q # Konstanta určující hlavní paradigma - to ovlivňuje, # zda budou na konci modulu exportovány třídy nebo funkce. OO_PARADIGM = False ###########################################...
/robotcz-0.0.3-py3-none-any.whl/__init__.py
0.527317
0.405743
__init__.py
pypi
import json from typing import List from networkx import DiGraph, dfs_tree, node_link_graph, shortest_path from networkx.classes.reportviews import OutEdgeView class Auditor(object): def __init__(self, graph_specification: str) -> None: self.graph = self._load_graph(graph_specification) def _load_g...
/roboteconomist-0.4.9.tar.gz/roboteconomist-0.4.9/src/auditor.py
0.722723
0.247294
auditor.py
pypi
KEYWORDS = {'imageCount': {'arg': ['image'], 'doc': 'Image Count\n Count how many times the same picture is detected in screen.\n\n Examples:\n | ${image_cnt}= | Image Count | test.png |'}, 'waitMobilePageContainText': {'arg': ['text', 'exactMatch=true', 'timeOut=10'], 'doc': 'Wait Mobile Page Contain Text\nExample...
/robotframework_AppiumSikuliLibrary-2023.8.17-py3-none-any.whl/AppiumSikuliLibrary/keywords.py
0.713531
0.369372
keywords.py
pypi
# Copyright (c) 2015 Cutting Edge QA Marcin Koperski from datetime import datetime from robot.api import logger from robot.libraries.DateTime import Date from robot.libraries.DateTime import Time from robot.utils import is_falsy def get_current_time_for_timers(): return datetime.now() from robot.api.deco imp...
/robotframework_MarcinKoperski-1.2.0.15-py3-none-any.whl/TestToolsMK/timers_keywords.py
0.660939
0.210117
timers_keywords.py
pypi
# Copyright (c) 2015 Cutting Edge QA Marcin Koperski import csv import os from robot.api import logger from robot.libraries import DateTime from TestToolsMK.robot_instances import validate_create_artifacts_dir, bi from robot.api.deco import keyword, library @library class LoggerKeywords(object): @keyword ...
/robotframework_MarcinKoperski-1.2.0.15-py3-none-any.whl/TestToolsMK/logger_extension_keywords.py
0.434701
0.156878
logger_extension_keywords.py
pypi
import time from typing import Optional from typing_extensions import Literal from robotlibcore import keyword from robot.api import Error from OpenShiftCLI.base import LibraryComponent from OpenShiftCLI.cliclient import CliClient from OpenShiftCLI.dataloader import DataLoader from OpenShiftCLI.dataparser import Dat...
/robotframework-OpenShiftCLI-1.0.1.tar.gz/robotframework-OpenShiftCLI-1.0.1/OpenShiftCLI/keywords/pods.py
0.876944
0.230281
pods.py
pypi
from typing import Optional from robotlibcore import keyword from OpenShiftCLI.base import LibraryComponent from OpenShiftCLI.cliclient import CliClient from OpenShiftCLI.dataloader import DataLoader from OpenShiftCLI.dataparser import DataParser from OpenShiftCLI.deprecated import deprecated from OpenShiftCLI.output...
/robotframework-OpenShiftCLI-1.0.1.tar.gz/robotframework-OpenShiftCLI-1.0.1/OpenShiftCLI/keywords/configmaps.py
0.910856
0.181825
configmaps.py
pypi
from typing import Optional from robotlibcore import keyword from OpenShiftCLI.base import LibraryComponent from OpenShiftCLI.cliclient import CliClient from OpenShiftCLI.dataloader import DataLoader from OpenShiftCLI.dataparser import DataParser from OpenShiftCLI.deprecated import deprecated from OpenShiftCLI.output...
/robotframework-OpenShiftCLI-1.0.1.tar.gz/robotframework-OpenShiftCLI-1.0.1/OpenShiftCLI/keywords/kfdefs.py
0.909176
0.160233
kfdefs.py
pypi
from typing import Optional from robotlibcore import keyword from OpenShiftCLI.base import LibraryComponent from OpenShiftCLI.cliclient import CliClient from OpenShiftCLI.dataloader import DataLoader from OpenShiftCLI.dataparser import DataParser from OpenShiftCLI.deprecated import deprecated from OpenShiftCLI.output...
/robotframework-OpenShiftCLI-1.0.1.tar.gz/robotframework-OpenShiftCLI-1.0.1/OpenShiftCLI/keywords/secrets.py
0.916549
0.174973
secrets.py
pypi
import json import os import validators import yaml from typing import Any, Dict, List, Optional, Union from robotlibcore import keyword from OpenShiftCLI.cliclient import GenericClient from OpenShiftCLI.dataloader import DataLoader from OpenShiftCLI.dataparser import DataParser from OpenShiftCLI.errors import Resou...
/robotframework-OpenShiftCLI-1.0.1.tar.gz/robotframework-OpenShiftCLI-1.0.1/OpenShiftCLI/keywords/generic.py
0.804175
0.254808
generic.py
pypi
from typing import Optional from robotlibcore import keyword from OpenShiftCLI.base import LibraryComponent from OpenShiftCLI.cliclient import CliClient from OpenShiftCLI.dataloader import DataLoader from OpenShiftCLI.dataparser import DataParser from OpenShiftCLI.deprecated import deprecated from OpenShiftCLI.output...
/robotframework-OpenShiftCLI-1.0.1.tar.gz/robotframework-OpenShiftCLI-1.0.1/OpenShiftCLI/keywords/lists.py
0.896987
0.192577
lists.py
pypi
import asyncio import os import traceback import warnings import logging import signal import sys import robot from PuppeteerLibrary.keywords.checkbox import CheckboxKeywords from typing import List from PuppeteerLibrary.base.ipuppeteer_library import iPuppeteerLibrary from robot.api.deco import not_keyword from robot...
/robotframework-PuppeteerLibrary-3.1.10.tar.gz/robotframework-PuppeteerLibrary-3.1.10/PuppeteerLibrary/__init__.py
0.500732
0.154599
__init__.py
pypi
from PuppeteerLibrary.base.robotlibcore import keyword from PuppeteerLibrary.ikeywords.iwaiting_async import iWaitingAsync from PuppeteerLibrary.base.librarycomponent import LibraryComponent class WaitingKeywords(LibraryComponent): def __init__(self, ctx): super().__init__(ctx) def get_async_keyword...
/robotframework-PuppeteerLibrary-3.1.10.tar.gz/robotframework-PuppeteerLibrary-3.1.10/PuppeteerLibrary/keywords/waiting.py
0.792384
0.150746
waiting.py
pypi
import asyncio from robot.utils import timestr_to_secs from robot.libraries.BuiltIn import _RunKeyword from PuppeteerLibrary.keywords.browsermanagement import BrowserManagementKeywords from PuppeteerLibrary.playwright.async_keywords.playwright_browsermanagement import PlaywrightBrowserManagement from PuppeteerLibrary.b...
/robotframework-PuppeteerLibrary-3.1.10.tar.gz/robotframework-PuppeteerLibrary-3.1.10/PuppeteerLibrary/keywords/utility.py
0.734596
0.247896
utility.py
pypi
from typing import Any, List, Optional from pyppeteer.element_handle import ElementHandle from pyppeteer.page import Page from PuppeteerLibrary.locators.SelectorAbstraction import SelectorAbstraction from robot.utils import timestr_to_secs class SPage(Page): selected_iframe: ElementHandle = None def __init__...
/robotframework-PuppeteerLibrary-3.1.10.tar.gz/robotframework-PuppeteerLibrary-3.1.10/PuppeteerLibrary/custom_elements/SPage.py
0.849097
0.163713
SPage.py
pypi
from robot.libraries.BuiltIn import BuiltIn from robot.api.deco import keyword from robot.api import logger import pywinauto import pywinauto.mouse import time import sys import re import pyautogui import os from datetime import datetime from datetime import timedelta import subprocess class PyWindowsGuiLibrary: ...
/robotframework-PyWindowsGuiLibrary-2.1.tar.gz/robotframework-PyWindowsGuiLibrary-2.1/PyWindowsGuiLibrary/PyWindowsGuiLibrary.py
0.680454
0.378172
PyWindowsGuiLibrary.py
pypi
# RobotOil - [RobotOil](#robotoil) - [Introduction](#introduction) - [Dependencies](#dependencies) - [Installation](#installation) - [Importing RobotOil](#importing-robotoil) - [Importing into Robot](#importing-into-robot) - [Importing into Python](#importing-into-python) - [Features and Examples](#f...
/robotframework-RobotOil-1.0.0.tar.gz/robotframework-RobotOil-1.0.0/README.md
0.810028
0.824885
README.md
pypi
from ScapyLibrary.utils.baseclass import _BaseClass from ScapyLibrary.utils._scapy import scapylib class SendRecv(_BaseClass): def send_and_receive_at_layer3(self, packet, return_answer=True, return_unanswer=False, return_send=False, *args, **kwargs): '''This keyword su...
/robotframework-ScapyLibrary-0.1.3.zip/robotframework-ScapyLibrary-0.1.3/src/ScapyLibrary/keywords/sendrecv.py
0.555918
0.222996
sendrecv.py
pypi
KEYWORDS = {'openApplication': {'arg': ['path'], 'doc': 'Open application\n To open app with parameters, refer:\n https://sikulix-2014.readthedocs.io/en/latest/appclass.html#App.App'}, 'closeApplication': {'arg': ['name'], 'doc': 'Close application'}, 'captureRegion': {'arg': ['cooridnates'], 'doc': 'Capture region\n\n...
/robotframework_SikuliLibrary-1.0.4-py3-none-any.whl/SikuliLibrary/keywords.py
0.81582
0.376881
keywords.py
pypi
import array import pyaardvark from . import __version__ from .utils import int_any_base, list_any_input from robot.utils.connectioncache import ConnectionCache from robot.api import logger class AardvarkLibrary: """Robot Framework test library for the Totalphase Aardvark host adapter. """ ROBOT_LIBRAR...
/robotframework_aardvarklibrary-0.2.1-py3-none-any.whl/AardvarkLibrary/library.py
0.773216
0.2627
library.py
pypi
from os.path import join as path_join, normpath from platform import platform from typing import Iterator, Union from robot.libraries.BuiltIn import BuiltIn from robot.libraries.OperatingSystem import OperatingSystem from robot.running.context import EXECUTION_CONTEXTS class AdvancedLogging(object): """ Cre...
/robotframework-advancedlogging-2.0.0.tar.gz/robotframework-advancedlogging-2.0.0/src/AdvancedLogging.py
0.773002
0.429788
AdvancedLogging.py
pypi
from lxml import objectify from namedlist import namedlist from .utils import unicode_helper def make_element(name, namespace): return getattr(objectify.ElementMaker(annotate=False, namespace=namespace,), name) class Rule(object): _check = None def if_(self, check): self._check = check ...
/robotframework-allurereport-zajic-1.3.1.tar.gz/robotframework-allurereport-zajic-1.3.1/AllureReportLibrary/rules.py
0.597138
0.299464
rules.py
pypi
r"""killableprocess - Subprocesses which can be reliably killed This module is a subclass of the builtin "subprocess" module. It allows processes that launch subprocesses to be reliably killed on Windows (via the Popen.kill() method. It also adds a timeout argument to Wait() for a limited period of time before force...
/robotframework-androidlibrary-0.2.0.tar.gz/robotframework-androidlibrary-0.2.0/src/AndroidLibrary/killableprocess.py
0.518302
0.233018
killableprocess.py
pypi
from base import * import os THIS_DIR = os.path.dirname(os.path.abspath(__file__)) execfile(os.path.join(THIS_DIR, 'version.py')) __version__ = VERSION class AnywhereLibrary( Element, Util, Logging, RunOnFailure, Screenshot, Waiting, JavaScript, ): """AnywhereLibrary is a cross platf...
/robotframework-anywherelibrary-1.1.0.tar.gz/robotframework-anywherelibrary-1.1.0/src/AnywhereLibrary/__init__.py
0.567457
0.264655
__init__.py
pypi
from robot.libraries import BuiltIn from keywordgroup import KeywordGroup BUILTIN = BuiltIn.BuiltIn() class RunOnFailure(KeywordGroup): def __init__(self): self._run_on_failure_keyword = None self._running_on_failure_routine = False # Public def register_keyword_to_run_on_failure(self, ...
/robotframework-anywherelibrary-1.1.0.tar.gz/robotframework-anywherelibrary-1.1.0/src/AnywhereLibrary/base/runonfailure.py
0.788461
0.188828
runonfailure.py
pypi
from util import Util from keywordgroup import KeywordGroup from elementfinder import ElementFinder class Element(KeywordGroup): def __init__(self): self._element_finder=ElementFinder() # Public def element_find(self,locator,requireRaise=True): """ General function to find single element,...
/robotframework-anywherelibrary-1.1.0.tar.gz/robotframework-anywherelibrary-1.1.0/src/AnywhereLibrary/base/element.py
0.652574
0.24801
element.py
pypi
import os from AppiumLibrary.keywords import * from AppiumLibrary.version import VERSION __version__ = VERSION class AppiumLibrary( _LoggingKeywords, _RunOnFailureKeywords, _ElementKeywords, _ScreenshotKeywords, _ApplicationManagementKeywords, _WaitingKeywords, _TouchKeywords, _Keyev...
/robotframework-appiumlibrary-2.0.0b1.tar.gz/robotframework-appiumlibrary-2.0.0b1/AppiumLibrary/__init__.py
0.718693
0.395105
__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, ...
/robotframework-appiumlibrary-2.0.0b1.tar.gz/robotframework-appiumlibrary-2.0.0b1/AppiumLibrary/keywords/_touch.py
0.892387
0.409752
_touch.py
pypi
import base64 from .keywordgroup import KeywordGroup from selenium.common.exceptions import TimeoutException from kitchen.text.converters import to_bytes class _AndroidUtilsKeywords(KeywordGroup): # Public def open_notifications(self): """Opens and expands an Android device's notification drawer. ...
/robotframework-appiumlibrary-2.0.0b1.tar.gz/robotframework-appiumlibrary-2.0.0b1/AppiumLibrary/keywords/_android_utils.py
0.681409
0.25682
_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_fa...
/robotframework-appiumlibrary-2.0.0b1.tar.gz/robotframework-appiumlibrary-2.0.0b1/AppiumLibrary/keywords/_runonfailure.py
0.797517
0.187672
_runonfailure.py
pypi
import time import robot from .keywordgroup import KeywordGroup class _WaitingKeywords(KeywordGroup): def wait_until_element_is_visible(self, locator, timeout=None, error=None): """Waits until element specified with `locator` is visible. Fails if `timeout` expires before the element is visible. S...
/robotframework-appiumlibrary-2.0.0b1.tar.gz/robotframework-appiumlibrary-2.0.0b1/AppiumLibrary/keywords/_waiting.py
0.742702
0.187411
_waiting.py
pypi
import importlib from AppiumLibrary import AppiumLibrary from robot.api.deco import keyword from robot.libraries.BuiltIn import BuiltIn try: AppiumCommon = importlib.import_module('Helpers.AppiumCommon', package='Helpers') except ModuleNotFoundError: AppiumCommon = importlib.import_module('.Helpers.AppiumCommo...
/robotframework_applicationlibrary-1.2.1-py3-none-any.whl/ApplicationLibrary/MobileLibrary.py
0.809464
0.379493
MobileLibrary.py
pypi
import itertools from time import time from appium.webdriver.common.touch_action import TouchAction from robot.libraries.BuiltIn import BuiltIn SCREENSHOT_COUNTER = itertools.count() appLib = BuiltIn() def capture_page_screenshot(self, filename=None): """Takes a screenshot of the current page and embeds it into ...
/robotframework_applicationlibrary-1.2.1-py3-none-any.whl/ApplicationLibrary/Helpers/AppiumCommon.py
0.776538
0.260519
AppiumCommon.py
pypi
# robotframework-apprise [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![CodeQL](https://github.com/joergschultzelutter/robotframework-appri...
/robotframework-apprise-0.3.1.tar.gz/robotframework-apprise-0.3.1/README.md
0.487795
0.899254
README.md
pypi
import os import tarfile import zipfile from robot.libraries.Collections import Collections from robot.libraries.OperatingSystem import OperatingSystem from .utils import Unzip, Untar, return_files_lists class ArchiveKeywords: ROBOT_LIBRARY_SCOPE = 'Global' compressions = { "stored": zipfile.ZIP_S...
/robotframework_archivelibrary-0.4.2-py3-none-any.whl/ArchiveLibrary/keywords.py
0.5
0.229298
keywords.py
pypi
Assertion Engine ================ Generic way to create meaningful and easy to use assertions for the `Robot Framework`_ libraries. This tools is spin off from `Browser library`_ project, where the Assertion Engine was developed as part of the of library. .. image:: https://github.com/MarketSquare/AssertionEngine/act...
/robotframework_assertion_engine-2.0.0.tar.gz/robotframework_assertion_engine-2.0.0/README.rst
0.949118
0.772144
README.rst
pypi
import re from typing import Dict, List from robot.api.deco import keyword # type: ignore def _strip(value: str) -> str: return value.strip() def _normalize_spaces(value: str) -> str: return re.sub(r"\s+", " ", value) def _apply_to_expected(value: str) -> str: return value def _case_insensitive(va...
/robotframework_assertion_engine-2.0.0.tar.gz/robotframework_assertion_engine-2.0.0/assertionengine/formatter.py
0.877713
0.401893
formatter.py
pypi
import ast import re from enum import Enum, Flag, IntFlag from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union, cast from robot.libraries.BuiltIn import BuiltIn # type: ignore from .type_converter import is_truthy, type_converter __version__ = "2.0.0" AssertionOperator = Enum( "Assert...
/robotframework_assertion_engine-2.0.0.tar.gz/robotframework_assertion_engine-2.0.0/assertionengine/assertion_engine.py
0.879199
0.575856
assertion_engine.py
pypi
import time import inspect import asyncio from robot.libraries.BuiltIn import BuiltIn from robot.utils.robottime import timestr_to_secs, secs_to_timestr from robot.errors import DataError, ExecutionPassed, ExecutionFailed, ExecutionFailures class AsyncioUtils: def __init__(self) -> None: try: ...
/robotframework_asyncio_utils-0.1.6.tar.gz/robotframework_asyncio_utils-0.1.6/AsyncioUtils/AsyncioUtils.py
0.793906
0.619932
AsyncioUtils.py
pypi
from robot.running import context from .listener import AutoRecorderListener class AutoRecorder(AutoRecorderListener): ''' AutoRecorder for Robot Framework RobotFramework library allowing to automatically start video recording of desktop when test or (and) suite starts. Based on [ScreenCapLibrary](https://gi...
/robotframework-autorecorder-0.1.4.tar.gz/robotframework-autorecorder-0.1.4/AutoRecorder/__init__.py
0.649356
0.468851
__init__.py
pypi
from AWSLibrary.base.robotlibcore import keyword from AWSLibrary.base import LibraryComponent, KeywordError, ContinuableError from botocore.exceptions import ClientError from robot.api import logger import botocore class S3Keywords(LibraryComponent): @keyword('Create Bucket') def create_bucket(self, bucket, ...
/robotframework-aws-0.0.4.tar.gz/robotframework-aws-0.0.4/src/AWSLibrary/keywords/s3.py
0.781831
0.352118
s3.py
pypi
import string import sys import random from .iban import * from .version import VERSION class BankAccountNumber: """ The Bank Account Number library provides keywords to generate NL specific bank account numbers that are 9 digits long and comply with the Elf Proef. Before the introduction of IBAN ...
/robotframework_bankaccountnumber-0.3-py3-none-any.whl/BankAccountNumber/BankAccountNumber.py
0.461017
0.458409
BankAccountNumber.py
pypi
from functools import reduce """iban.py 1.5 - Create or check International Bank Account Numbers (IBAN). Copyright (C) 2002-2010, Thomas Günther <tom@toms-cafe.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwa...
/robotframework_bankaccountnumber-0.3-py3-none-any.whl/BankAccountNumber/iban.py
0.600774
0.186929
iban.py
pypi
import os import robot import robot.utils from BJRobot.utilities.system import System from keywordgroup import KeywordGroup class Screenshot(KeywordGroup): def __init__(self): self._screenshot_index = {} self._screenshot_path_stack = [] self.screenshot_root_directory = None # Public ...
/robotframework-bjrobot-0.6.4.zip/robotframework-bjrobot-0.6.4/src/BJRobot/keywords/screenshot.py
0.630799
0.172764
screenshot.py
pypi
from robot.libraries import BuiltIn from keywordgroup import KeywordGroup BUILTIN = BuiltIn.BuiltIn() class RunOnFailure(KeywordGroup): def __init__(self): self._run_on_failure_keyword = None self._running_on_failure_routine = False # Public def register_keyword_to_run_on_failure(self...
/robotframework-bjrobot-0.6.4.zip/robotframework-bjrobot-0.6.4/src/BJRobot/keywords/runonfailure.py
0.810704
0.204223
runonfailure.py
pypi
import base64 from .keywordgroup import KeywordGroup from appium.webdriver.connectiontype import ConnectionType from selenium.common.exceptions import TimeoutException class AndroidUtils(KeywordGroup): # Public def get_network_connection_status(self): """Returns an integer bitmask specifying the netw...
/robotframework-bjrobot-0.6.4.zip/robotframework-bjrobot-0.6.4/src/BJRobot/keywords/android_utils.py
0.67971
0.269981
android_utils.py
pypi
from appium.webdriver.common.touch_action import TouchAction from .keywordgroup import KeywordGroup class Touch(KeywordGroup): def __init__(self): pass # Public, element lookups def zoom(self, locator, percent="200%", steps=1): """ Zooms in on an element a certain amount. ...
/robotframework-bjrobot-0.6.4.zip/robotframework-bjrobot-0.6.4/src/BJRobot/keywords/touch.py
0.835819
0.407333
touch.py
pypi
import time from typing import Optional, Union import wrapt # type: ignore from assertionengine import AssertionOperator from typing_extensions import get_args, get_origin from .utils import logger def assertion_operator_is_set(wrapped, args, kwargs): assertion_operator = None assertion_op_name = None ...
/robotframework_browser-17.4.0-py3-none-any.whl/Browser/assertion_engine.py
0.619356
0.29432
assertion_engine.py
pypi
import urllib.parse from typing import List, Optional, Set, Tuple from robot.api.deco import keyword from robot.libraries.BuiltIn import BuiltIn from Browser.base import LibraryComponent from ..utils import logger class Crawling(LibraryComponent): @keyword(tags=["Crawling"]) def crawl_site( self, ...
/robotframework_browser-17.4.0-py3-none-any.whl/Browser/keywords/crawling.py
0.742702
0.32981
crawling.py
pypi
from typing import Optional from ..base import LibraryComponent from ..utils import keyword, logger from ..utils.data_types import DelayedKeyword, Scope class RunOnFailureKeywords(LibraryComponent): @keyword(tags=("Config",)) def register_keyword_to_run_on_failure( self, keyword: Optional[str], *ar...
/robotframework_browser-17.4.0-py3-none-any.whl/Browser/keywords/runonfailure.py
0.890954
0.21429
runonfailure.py
pypi
from dataclasses import dataclass from typing import TYPE_CHECKING, Any, Callable, Dict, Optional from .data_types import Scope if TYPE_CHECKING: from ..browser import Browser @dataclass class ScopedSetting: typ: Scope setting: Any class SettingsStack: def __init__( self, global_se...
/robotframework_browser-17.4.0-py3-none-any.whl/Browser/utils/settings_stack.py
0.871932
0.239527
settings_stack.py
pypi
import re from datetime import timedelta from enum import Enum, IntFlag, auto from typing import Dict, Union from typing_extensions import TypedDict class TypedDictDummy(TypedDict): pass def convert_typed_dict(function_annotations: Dict, params: Dict) -> Dict: # noqa: C901 for arg_name, arg_type in functi...
/robotframework_browser-17.4.0-py3-none-any.whl/Browser/utils/data_types.py
0.796094
0.241646
data_types.py
pypi
from browsermobproxy import Server from browsermobproxy import RemoteServer import json from .version import VERSION __version__ = VERSION LIMITS = { 'upstream_kbps': 'upstreamKbps', 'downstream_kbps': 'downstreamKbps', 'latency': 'latency' } TIMEOUTS = { 'request': 'requestTimeout', 'read': 'rea...
/robotframework-browsermobproxylibrary-0.1.3.tar.gz/robotframework-browsermobproxylibrary-0.1.3/src/BrowserMobProxyLibrary/__init__.py
0.767603
0.26923
__init__.py
pypi
from enum import IntEnum from robot.utils import timestr_to_secs __doc__ = """RobotTime are extension for RF robot_math.cross_type_operators.timestr_to_secs method Allow math manipulation with time strings in compatible for RF formats Examples: my_time = RobotTime(1h) + RobotTime(2m) print(f"{my_time}") > 1h 2m...
/robotframework_calculator-2.3-py3-none-any.whl/robot_math/types/time_interval_type.py
0.837221
0.341308
time_interval_type.py
pypi
import enum import re from .abstracts import TypeAbstract from . import Percent BIT = 1 BYTE = 8 KILO = 1000 class PacketUnit(enum.IntEnum): b = BIT B = BYTE k = KILO K = KILO * BYTE m = pow(KILO, 2) M = pow(KILO, 2) * BYTE g = pow(KILO, 3) G = pow(KILO, 3) * BYTE BITRATE_REGEX = r...
/robotframework_calculator-2.3-py3-none-any.whl/robot_math/types/data_packet_type.py
0.62681
0.302211
data_packet_type.py
pypi
import re from abc import ABC, abstractmethod class _SpecialType(ABC, type): FORMAT_PARSE_REGEX = re.compile(r'^\.([\d]+)([a-zA-Z%]?)$') def __new__(mcs, *args, **kwargs): return super().__new__(mcs, mcs.__name__, (object,), kwargs) def __init__(cls, units_count, **kwargs): super().__in...
/robotframework_calculator-2.3-py3-none-any.whl/robot_math/types/abstracts/special_type_abs.py
0.744192
0.263454
special_type_abs.py
pypi
from generic_camunda_client.configuration import Configuration from robot.api.deco import library, keyword from robot.api.logger import librarylogger as logger # requests import from requests import HTTPError import requests from requests_toolbelt.multipart.encoder import MultipartEncoder from url_normalize import u...
/robotframework_camunda-2.0.3-py3-none-any.whl/CamundaLibrary/CamundaLibrary.py
0.774029
0.164852
CamundaLibrary.py
pypi
import requests import base64 import json import time import ntpath import os class CaptureFastBase: accesstoken: str = None def _init_client(self): headers = {'content-type': 'application/x-www-form-urlencoded'} authRequest = { "username": self.cfusername, "password"...
/robotframework-capturefast-1.8.0.tar.gz/robotframework-capturefast-1.8.0/CaptureFast.py
0.541651
0.150653
CaptureFast.py
pypi
from typing import List, Optional, Union from robot.api import logger from robot.utils import ConnectionCache from cassandra.auth import PlainTextAuthProvider from cassandra.policies import TokenAwarePolicy, DCAwareRoundRobinPolicy from cassandra.cluster import Cluster, ResponseFuture, ResultSet, Session class Cass...
/robotframework-cassandracqllibrary-2.0.1.tar.gz/robotframework-cassandracqllibrary-2.0.1/src/CassandraCQLLibrary.py
0.919841
0.253693
CassandraCQLLibrary.py
pypi
__author__ = 'Tom Werner' __email__ = 'tom@fluffycloudsandlines.cc' __version__ = '0.1.0' import subprocess import logging import json from robot.api.deco import keyword, library from robot.running.model import TestSuite from robot.model.body import BodyItem @library(scope='TEST SUITE', version=__version__) class CI...
/robotframework-cinc-0.1.4.tar.gz/robotframework-cinc-0.1.4/src/CINCLibrary/__init__.py
0.71889
0.217068
__init__.py
pypi
from robot.api.deco import library, keyword from CircleciLibrary.model import Project, Workflow, Pipeline, WorkflowList from CircleciLibrary.log import trace from pycircleci.api import Api, API_BASE_URL class WorkflowRunningError(Exception): """ this exception will be raised if the workflow is still running ...
/robotframework-circlecilibrary-0.1.3.tar.gz/robotframework-circlecilibrary-0.1.3/CircleciLibrary/keywords.py
0.890032
0.302855
keywords.py
pypi
from dataclasses import dataclass from datetime import datetime from enum import Enum, unique @dataclass class Project: """circleci project""" @staticmethod def from_json(d: dict): return Project( vcs_type=d['vcs_type'], username=d['username'], reponame=d['repon...
/robotframework-circlecilibrary-0.1.3.tar.gz/robotframework-circlecilibrary-0.1.3/CircleciLibrary/model.py
0.839422
0.169166
model.py
pypi
import ast from collections import defaultdict from robot.api import Token, get_model from robot.utils.misc import printable_name from robot.parsing.model import Statement, ForLoop, KeywordSection, TestCaseSection from robot.parsing.model.statements import EmptyLine, Comment from robot.parsing.model.visitor import Mode...
/robotframework_clean-1.2.1-py3-none-any.whl/robotclean/code_formatters.py
0.484136
0.182407
code_formatters.py
pypi
from datetime import datetime from pytz import timezone def getcurrentDateTimeZone(TimeZone, Format): """ helper function to get the Current Date """ Current_Date = datetime.now(timezone(TimeZone)).strftime(Format) return Current_Date def currentDateTime(): """ he...
/robotframework_commonKeywrds-0.0.1-py3-none-any.whl/CommonKeywords/DateTime1.py
0.634656
0.318194
DateTime1.py
pypi
try: import curses curses_available = True from ConsoleDialogs.cursesdialogs import CursesMessageDialog, CursesPassFailDialog, CursesInputDialog except ImportError: logger.warn("Failed to load curses module - falling back to raw input mode") curses_available = False from ConsoleDialogs.rawdialogs i...
/robotframework_consoledialogs-1.1.3-py3-none-any.whl/ConsoleDialogs/keywords.py
0.772445
0.268351
keywords.py
pypi
import curses import curses.ascii from curses import A_UNDERLINE class WindowFullException(Exception): pass def calc_wordwrap_lines(s, width): # Split string into list of words word_list = s.split() # Line-based loop y = 0 w = 0 while True: width_sum = 0 while w < len(wor...
/robotframework_consoledialogs-1.1.3-py3-none-any.whl/ConsoleDialogs/cursesutils.py
0.550849
0.354042
cursesutils.py
pypi
from CoreRPAHive.ExcelTestDataRow.MandatoryTestDataColumn import MANDATORY_TEST_DATA_COLUMN from CoreRPAHive.ExcelTestDataRow.TestStatus import TEST_STATUSES from CoreRPAHive.ExcelTestDataRow.TestStatus import TEST_STATUS_PRIORITIES class ExcelTestDataRow: def __init__(self, excel_title, excel_row_index, excel_r...
/robotframework-corerpahive-1.2.0.tar.gz/robotframework-corerpahive-1.2.0/CoreRPAHive/ExcelTestDataRow/ExcelTestDataRow.py
0.534977
0.380414
ExcelTestDataRow.py
pypi
from abc import ABCMeta, abstractmethod from CoreRPAHive.ExcelTestDataRow.MandatoryTestDataColumn import MANDATORY_TEST_DATA_COLUMN from openpyxl.utils import column_index_from_string from openpyxl.utils.cell import coordinate_from_string class ABCParserStrategy: __metaclass__ = ABCMeta def __init__(self): ...
/robotframework-corerpahive-1.2.0.tar.gz/robotframework-corerpahive-1.2.0/CoreRPAHive/ExcelParser/ABCParserStrategy.py
0.718397
0.375563
ABCParserStrategy.py
pypi
from CryptoLibrary.utils import CryptoUtility from robot.libraries.BuiltIn import BuiltIn from SeleniumLibrary.base import LibraryComponent, keyword from robot.utils.robottypes import is_truthy import re class Plugin(LibraryComponent): def __init__(self, ctx): self.crypto = CryptoUtility() Library...
/robotframework-crypto-0.3.0.tar.gz/robotframework-crypto-0.3.0/src/CryptoLibrary/Plugin.py
0.712932
0.225694
Plugin.py
pypi
from CryptoLibrary.utils import CryptoUtility from robot.libraries.BuiltIn import BuiltIn from robot.api import logger from CryptoLibrary.__main__ import Encrypter import re __version__ = '0.3.0' def main(): Encrypter().main() class CryptoLibrary(object): """ ==========================================...
/robotframework-crypto-0.3.0.tar.gz/robotframework-crypto-0.3.0/src/CryptoLibrary/__init__.py
0.788949
0.329567
__init__.py
pypi
import os from DatabaseLibrary.connection_manager import ConnectionManager from DatabaseLibrary.query import Query from DatabaseLibrary.assertion import Assertion from DatabaseLibrary.version import VERSION __version__ = VERSION class DatabaseLibrary(ConnectionManager, Query, Assertion): """ The Database Li...
/robotframework_databaselibrary-1.3.1-py3-none-any.whl/DatabaseLibrary/__init__.py
0.646795
0.399987
__init__.py
pypi
from robot.api import logger class Assertion(object): """ Assertion handles all the assertions of Database Library. """ def check_if_exists_in_database(self, selectStatement, sansTran=False, msg=None): """ Check if any row would be returned by given the input `selectStatement`. If th...
/robotframework_databaselibrary-1.3.1-py3-none-any.whl/DatabaseLibrary/assertion.py
0.909156
0.583233
assertion.py
pypi
from robot.api import logger class Query(object): """ Query handles all the querying done by the Database Library. """ def query(self, selectStatement): """ Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Tip: Unless...
/robotframework-databaseslibrary-0.8.10.tar.gz/robotframework-databaseslibrary-0.8.10/src/DatabaseLibrary/query.py
0.77928
0.546073
query.py
pypi
class Assertion(object): """ Assertion handles all the assertions of Database Library. """ def check_if_exists_in_database(self,selectStatement): """ Check if any row would be returned by given the input `selectStatement`. If there are no results, then this will throw a...
/robotframework-databaseslibrary-0.8.10.tar.gz/robotframework-databaseslibrary-0.8.10/src/DatabaseLibrary/assertion.py
0.827061
0.725867
assertion.py
pypi
import re from robot.errors import VariableError # type: ignore def search_variable(string, identifiers="$@&%*", ignore_errors=False): if not (isinstance(string, str) and "{" in string): return VariableMatch(string) return VariableSearcher(identifiers, ignore_errors).search(string) class Variable...
/robotframework-datadriver-1.9.0.tar.gz/robotframework-datadriver-1.9.0/src/DataDriver/search.py
0.513912
0.26662
search.py
pypi
from typing import Any, Dict, List, Optional from robot.utils import DotDict # type: ignore from .utils import PabotOpt, TagHandling class ReaderConfig: TEST_CASE_TABLE_NAME = "*** Test Cases ***" def __init__( self, file: Optional[str] = None, encoding: Optional[str] = None, ...
/robotframework-datadriver-1.9.0.tar.gz/robotframework-datadriver-1.9.0/src/DataDriver/ReaderConfig.py
0.838531
0.258738
ReaderConfig.py
pypi
import math import re from enum import Enum, auto from typing import Any, List from robot.api import logger # type: ignore from robot.libraries.BuiltIn import BuiltIn # type: ignore from .argument_utils import is_pabot_testlevelsplit class Encodings(Enum): """ Python comes with a number of codecs built-in...
/robotframework-datadriver-1.9.0.tar.gz/robotframework-datadriver-1.9.0/src/DataDriver/utils.py
0.749637
0.351228
utils.py
pypi
import time from datetime import datetime from dateutil.parser import parse from babel.dates import format_datetime from dateutil.relativedelta import relativedelta class DateTimeTZ: """ Robot Framework [https://github.com/testautomation/DateTimeTZ|DateTimeTZ] library provides functionality for manipulating...
/robotframework-datetime-tz-1.0.6.tar.gz/robotframework-datetime-tz-1.0.6/src/DateTimeTZ/DateTimeTZ.py
0.806434
0.545951
DateTimeTZ.py
pypi
import re import tempfile from pathlib import Path from typing import Iterator, List, Tuple from robot.libdocpkg.model import KeywordDoc, LibraryDoc from robot.libraries.BuiltIn import BuiltIn from robot.parsing import get_model from robot.running import TestSuite, UserLibrary from robot.variables.search import is_var...
/robotframework_debug-4.3.4-py3-none-any.whl/RobotDebug/robotkeyword.py
0.423577
0.1692
robotkeyword.py
pypi
from pathlib import Path from typing import List, Tuple from pygments.token import Token from RobotDebug.lexer import ( RobotFrameworkLocalLexer, get_robot_token_from_file, ) from RobotDebug.styles import print_output, print_pygments_styles LINE_NO_TOKEN = Token.Operator.LineNumber def print_source_lines(s...
/robotframework_debug-4.3.4-py3-none-any.whl/RobotDebug/sourcelines.py
0.532425
0.183777
sourcelines.py
pypi
from prompt_toolkit import print_formatted_text from prompt_toolkit.completion import Completion from prompt_toolkit.formatted_text import FormattedText, PygmentsTokens from prompt_toolkit.styles import Style, merge_styles, style_from_pygments_cls from pygments.styles import get_all_styles, get_style_by_name NORMAL_ST...
/robotframework_debug-4.3.4-py3-none-any.whl/RobotDebug/styles.py
0.464659
0.150372
styles.py
pypi
from robot.version import get_version ROBOT_VERION_RUNNER_GET_STEP_LINENO = '3.2' class RobotNeedUpgrade(Exception): """Need upgrade robotframework.""" def check_version(): if get_version() < ROBOT_VERION_RUNNER_GET_STEP_LINENO: raise RobotNeedUpgrade def print_source_lines(source_file, lineno, b...
/robotframework-debuglibrary-2.3.0.tar.gz/robotframework-debuglibrary-2.3.0/DebugLibrary/sourcelines.py
0.53048
0.282249
sourcelines.py
pypi
import re import subprocess from typing import AnyStr, Dict, List, Match, Optional, Union from src.Utils import Const, DotDictionary, Utils class DockerLibrary: def create_multiple_containers(self, n_containers: int, image: str) -> \ List[str]: containers_id: List[str] = list() for _...
/robotframework-dockerlibrary-1.0.0.tar.gz/robotframework-dockerlibrary-1.0.0/src/DockerLibrary.py
0.640299
0.158435
DockerLibrary.py
pypi
import json import re from types import SimpleNamespace from typing import Any, AnyStr, Dict, Iterable, List, Match, Optional, Union class DotDictionary(SimpleNamespace): def __init__(self, data, **kwargs): super().__init__(**kwargs) for key, value in data.items(): if isinstance(value,...
/robotframework-dockerlibrary-1.0.0.tar.gz/robotframework-dockerlibrary-1.0.0/src/Utils.py
0.642545
0.175644
Utils.py
pypi
# robotframework-doctestlibrary ---- [Robot Framework](https://robotframework.org) DocTest library. Simple Automated Visual Document Testing. See **keyword documentation** for - [Visual Document Tests](https://manykarim.github.io/robotframework-doctestlibrary/VisualTest.html) - [Print Job Tests](https://manykarim....
/robotframework_doctestlibrary-0.18.1.tar.gz/robotframework_doctestlibrary-0.18.1/README.md
0.55929
0.863794
README.md
pypi
from .kwgenerator import DoesIsListener class DoesIsLibrary(DoesIsListener): """ DoesIsLibrary for Robot Framework :) RobotFramework library which extends imported libraries with *Does* and *Is* keywords. RobotFramework libraries provides assertion keywords, usually named like *Something Should Exist*, *A...
/robotframework_doesislibrary-0.1.0-py3-none-any.whl/DoesIsLibrary/__init__.py
0.73077
0.221256
__init__.py
pypi
# Robot Framework eggPlant Library This [dynamic](http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#different-test-library-apis) library for [Robot Framework](https://robotframework.org/) allows calling [eggPlant Functional](https://www.eggplantsoftware.com/eggplant-functional-downloads) scr...
/robotframework-eggplantlibrary-22.1.7.tar.gz/robotframework-eggplantlibrary-22.1.7/README.md
0.802826
0.867598
README.md
pypi
from datetime import datetime import os import xmlrpc.client import robot.api.logger as log from robot.api.deco import keyword from robot.libraries.BuiltIn import BuiltIn from .libcore import EggplantLibDynamicCore from .version import VERSION, EGGPLANT_VERSION_MIN class EggplantLibrary(EggplantLibDynamicCore): ...
/robotframework-eggplantlibrary-22.1.7.tar.gz/robotframework-eggplantlibrary-22.1.7/EggplantLibrary/__init__.py
0.753557
0.298798
__init__.py
pypi
from elasticsearch import Elasticsearch class ElasticSearchLib(object): """ RobotFramework lib for querying an elasticsearch server. It allows to run a query, count docs and manage indices (create, delete) requires elasticsearch-py : http://elasticsearch-py.readthedocs.org/en/latest/index.html = ...
/robotframework-elasticsearch-1.1.tar.gz/robotframework-elasticsearch-1.1/ElasticSearchLib/ElasticSearchLib.py
0.698946
0.405331
ElasticSearchLib.py
pypi
import json from typing import Dict, Optional, Union from elasticsearch import Elasticsearch from robot.api import logger from robot.utils import ConnectionCache class ElasticsearchLibrary(object): """ Library for working with Elasticsearch. Based on: | Python client for Elasticsearch | https://pyp...
/robotframework-elasticsearchlibrary-2.0.0.tar.gz/robotframework-elasticsearchlibrary-2.0.0/src/ElasticsearchLibrary.py
0.858807
0.287736
ElasticsearchLibrary.py
pypi