Saravanan666/pypi-org huggingface dataset:
Package: robotframework-httpcompare
Robot Framework - HTTPCompareIntroductionThis keyword lets you compare two HTTP Requests, given that both the requests are made using 'Make HTTP Request' keyword:This enables comparison of JSON response bodies and status codes as of now.It will log the difference between response bodies and status codes in robot report and pass/fail the testcase accordingly.Difference between both the responses is termed as Divergence.Actual Divergence (difference between the two responses)Expected Divergence (difference which is acknowledgeably expected by user, should be supplied by the user while invoking this keyword)This keyword will compare the actual divergence and expected divergence and will pass if they match, otherwise will highlight the differences and fail.PrerequisitesHTTPCompare Library has following prerequisites:robotframework>=3.1.2
jsonpath-ng>=1.4.3
setuptools>=39.1.0you can install all the prerequisites either one by one or using the requirements.txt provided with source code:pip install -r requirements.txtInstallationHTTPCompare Library can be easily installed using pip with following command:pip install robotframework-httpcompareAlternatively it can also be installed from the sourcecode:python setup.py installCompare HTTP RequestsCompare HTTP Requestsis the main keyword of RESTLibrary, it has all the possible parameters which are needed for making any HTTP/REST request along with other parameters needed for various facets of REST API Automation.Parameters:requestId_1: request id of first requestrequestId_2: request id of second requestexpectedDivergence: difference between the two responses, which is acknowledgeably expected by user, should be provided in the format of actual divergence which is logged in robot report. Only difference is that it has expected_ node rather than actual_ nodes.ignoreNodes: a list of json-paths of the nodes which we want to be ignored while response body comparisonresponseComparisonScheme: this parameter is useful to specify how we want our response bodies to get compared. In case of not sorted comparison, where we want to skip the sequence and verify the arrays with items in random order
example : [{"path":"$.items","type":"NotSorted","key":"name"},{"path":"$.items[*].links","type":"NotSorted","key":"rel"}]responseComparisonType:  type of baseline verification required, default is FULL, other supported values are PARTIAL.responseNames: using this parameter we can respectively attach nomenclature to the requests provided for comparison, ex responseNames=['elasticsearch response', 'lambda response']Contributions:Creator and maintainer :Deepak ChourasiaLicenseHTTPCompare Library is open source software provided under theApache License 2.0
Package: robotframework-httpctrl
HttpCtrl library for Robot FrameworkRobotFramework-HttpCtrlis a library for Robot Framework that provides HTTP/HTTPS client and HTTP (IPv4 and IPv6) server services
to make REST API testing easy.License: The 3-Clause BSD LicenseDocumentation:https://annoviko.github.io/robotframework-httpctrl/DependenciesPython version: >=3.8InstallationInstallation using pip3 tool:$pip3installrobotframework-httpctrlBrief Overview of the Library ContentHttpCtrlcontains following general libraries:HttpCtrl.Client- provides API to work with HTTP/HTTPS client [link client documentation].HttpCtrl.Server- provides API to work with HTTP server [link server documentation].HttpCtrl.Json- provides API to work Json messages [link json documentation].HttpCtrl.Logging- provides API to configure the logging system that is used byHttpCtrllibrary [link logging documentation].ExamplesSend GET request to obtain origin IP address and check that is not empty:*** Settings ***LibraryHttpCtrl.ClientLibraryHttpCtrl.Json*** Test Cases ***Get Origin AddressInitialize Clientwww.httpbin.orgSend HTTP RequestGET/ip${response status}=Get Response Status${response body}=Get Response Body${response body}=Decode Bytes To String${response body}UTF-8${expected status}=Convert To Integer200Should Be Equal${response status}   ${expected status}

    ${origin}=Get Json Value From String${response body}originShould Not Be Empty${origin}In this example HTTP client sends POST request to HTTP server. HTTP server receives it and checks incoming
request for correctness.*** Settings ***LibraryStringLibraryHttpCtrl.ClientLibraryHttpCtrl.ServerTest SetupInitialize HTTP Client And ServerTest TeardownTerminate HTTP Server*** Test Cases ***Receive And Reply To POST${request body}=Set Variable{ "message": "Hello!" }Send HTTP Request AsyncPOST/post${request body}Wait For RequestReply By200${method}=Get Request Method${url}=Get Request Url${body}=Get Request Body${body}=Decode Bytes To String${body}UTF-8Should Be Equal${method}POSTShould Be Equal${url}/postShould Be Equal${body}     ${request body}*** Keywords ***Initialize HTTP Client And ServerInitialize Client127.0.0.18000Start Server127.0.0.18000Terminate HTTP ServerStop Server
Package: robotframework-httpd
Robot Framework keyword library for HTTPD Simulator.This module allows easy to create http server and test request that http server is receivedInstallationpip installrobotframework-httpdUsageHTTPDLibrary keyword
documentation*** Settings ***LibraryHTTPDLibraryport=5060LibraryRequestsLibraryLibraryCollections*** Test Cases ***Test HttpdLibrary GETGet Request/test?param1=p1Run HttpdCreate SessionHttpdhttp://localhost:5060${resp}=GetHttpd/test?param1=p1wait to get requestTest HttpdLibrary PostPost Requestthis is bodyRun HttpdCreate SessionHttpdhttp://localhost:5060${resp}=PostHttpd/data=this is bodywait to get request*** Keywords ***Get Request[Arguments]  ${path}
    ${request}=create dictionarymethodGETpath${path}set wished request${request}Post Request[Arguments]  ${post_body}
    ${request}=create dictionarymethodPOSTpost_body${post_body}set wished request${request}ContributeIf you like this module, please contribute! I welcome patches,
documentation, issues, ideas, and so on.
Package: robotframework-httplibrary
robotframework-httplibraryrobotframework-httplibraryis aRobot Frameworktest library for all your HTTP
needs. It useslivetest(which, in
turn uses the famouswebtestlibrary
underneath).InstallationYou can install robotframework-httplibrary viapip:pip install --upgrade robotframework-httplibraryUsageAPI documentation can be found athttp://peritus.github.com/robotframework-httplibrary/, here is an example
on how to use it:SettingValueLibraryHttpLibrary.HTTPTest CaseActionArgumentExample[Documentation]Follows a RedirectCreate HTTP Contexthttpstat.usGET/302Response Status Code Should Equal302Follow ResponseResponse Body Should Containgenerating different HTTP codesYou can view areportand alogof this test executed that looks like this:CompatibilityThis library is only tested on CPython. It might work on Jython, not sure.DevelopmentIf you want to hack on this library itself, this should get you started:# bootstrap development environment
git clone https://github.com/peritus/robotframework-httplibrary.git
cd robotframework-httplibrary/
python bootstrap.py
./bin/buildout

# run tests
./bin/robotframework tests/I’m very happy about patches, pull-requests and API-discussions (as this is
mostly a wrapper supposed to have a nice API)!Changelogv0.4.2Don’t enforce ASCII when converting to JSON (so chinese characters are
printed as such and not escaped like uXXXX). Thanks Terry Yin!v0.4.1Tested with Robot Framework 2.8rc1Uses jsonpointer 1.0, jsonpatch 1.0v0.4.0Compatible with Webtest > 2.0hard-deprecate ‘Set HTTP Host’, will be removed soon.v0.3.4Add support for python-json-pointer >= 0.6 (if you experienced
“AttributeError: 'module' object has no attribute 'set_pointer'”, you
should upgrade to this version).v0.3.3add HTTPS supportadd ‘Stringify JSON’ keywordimplicitly set correct ‘Host’ headerLicenseBeerware: If we meet some day, and
you think this stuff is worth it (or need a more serious license), you can buy
me a beer in return.
Package: robotframework-http-rabbitmq
Short DescriptionRobot Frameworklibrary for for working with RabbitMQ via Management HTTP API.
Based onrobotframework-rabbitmqInstallationInstall the library from PyPI using pip:pip install robotframework-http-rabbitmqDocumentationSee keyword documentation for RabbitMQ library onGitHub.Example*** Settings ***
Library    RabbitMqHttp
Library    Collections

*** Test Cases ***
Simple Test
    Create Rabbitmq Connection    my_host_name    15672    5672    guest    guest    alias=rmq
    ${overview}=    Overview
    Log Dictionary    ${overview}
    Close All Rabbitmq ConnectionsLicenseApache License 2.0
Package: robotframework-hub
Welcome to Robot Framework HubThis project implements a simple web server for viewing robot
framework keyword documentation. This uses flask to provide
both a RESTful interface and a browser-based UI for accessing
test assets.It's crazy easy to get started. To install and run from a PyPi
package, do the following:$ pip install robotframework-hub
    $ python -m rfhubNote: robotframework-hub requires python 3.6 or greaterTo run from source it's the same, except that instead of
installing, you cd to the folder that has this file.That's it! You can now browse documentation by visiting the urlhttp://localhost:7070/doc/Want to browse your local robotframework assets? Just include
the path to your test suites or resource files on the command
line:$ python -m rfhub /path/to/test/suiteWebsitesSource code, screenshots, and additional documentation can be found here:Source code:https://github.com/boakley/robotframework-hubProject wiki:https://github.com/boakley/robotframework-hub/wikiAcknowledgementsA huge thank-you to Echo Global Logistics (echo.com) for supporting
the development of this package.
Package: robotframework-hub-bli
Welcome to Robot Framework HubThis project implements a simple web server for viewing robot
framework keyword documentation. This uses flask to provide
both a RESTful interface and a browser-based UI for accessing
test assets.It's crazy easy to get started. To install and run from a PyPi
package, do the following:$ pip install robotframework-hub
    $ python -m rfhubNote: robotframework-hub requires python 3.6 or greaterTo run from source it's the same, except that instead of
installing, you cd to the folder that has this file.That's it! You can now browse documentation by visiting the urlhttp://localhost:7070/doc/Want to browse your local robotframework assets? Just include
the path to your test suites or resource files on the command
line:$ python -m rfhub /path/to/test/suiteWebsitesSource code, screenshots, and additional documentation can be
found here:Source code:https://github.com/bli74/robotframework-hubThis is a fork of the initial project:Source code (upstream):https://github.com/boakley/robotframework-hubProject wiki:https://github.com/boakley/robotframework-hub/wikiThe last changes in this project were added in 2019 and since then
pull requests are still open.This fork includes compatibility fixes and additional functionality:Updated requirement versions.Completed '.rfhubignore' logic.Compatibility fixes for Robot Framework 3.2.x and 4.xSupport of umbrella libraries.
That means libraries that include all libraries from the subdirectrory
and provide an aggregated set of keywords.
To write tests only this aggregated library should be included and
the documentation should list the keywords for this aggregated library only.AcknowledgementsA huge thank-you to Echo Global Logistics (echo.com) for supporting
the development of this package.
Package: robotframework-hub-static
Welcome to Robot Framework Hub StaticMotivationThis project is based on Robot Framework Hub to generate
keyword documentation for a robotframework environment.The original Robot Framework Hub needs a running web server
process. There are no artifacts that can be published by a
CI/CD pipeline.Here Robot Framework Hub Static can be used. It generates
with ´libdoc´ the documentation for the robot internal
libraries, additional installed robot libraries and robot
resource files.
Based on the list of the generated HTML files an index page
is createdGetting started$ pip install robotframework-hub-static
    $ keyword_doc ${ROOT_PATH_ROBOT_RESOURCES} ${DOCU_DIR}Note:robotframework-hub requires python 3.6 or greaterThe documentation directory is cleaned up, use a dedicated
directory to store the documentation.WebsitesSource code, screenshots, and additional documentation can be
found here:Source code:https://github.com/bli74/robotframework-hub-staticThis is a fork of the initial project:Source code (updated):https://github.com/bli74/robotframework-hubSource code (upstream):https://github.com/boakley/robotframework-hubProject wiki:https://github.com/boakley/robotframework-hub/wikiAcknowledgementsA huge thank-you to Echo Global Logistics (echo.com) for supporting
the development of this package.
Package: robotframework-humanitec
robotframework-humanitecDemo library for Humanitec API.Keyword DocumentationState: AlphaThere are not many keywords implemented, yet, as this is a demo right now. I am undecided whether to use auto generated swagger client or rely entirely on handmade REST calls based on requests module.Installationpip install robotframework-humanitecUsageSeedemo.robot. The demo uses Humanitec library as well asscore-humaniteccommandline tool.Environment VariablesYou will need:environment variableHUMANITEC_TOKENwith value of a valid API token from your Humanitec organisationenvironment variableHUMANITEC_ORG_IDwith value of id from your Humanitec organisationSupportOpenapi specifications and generated clients are not perfect. Generators contain bugs, specifications are not deterministic. Here you may find support:Change RequestsOpen an IssueIf you require changes (either new feature of a bugfix) best choice usopening an issueat this project. You do require a Gitlab account, though.Direct ContactThis is an open source project built around specific use cases. If your use case is not covered and your issue is not prioritized fast enough, you can makedirect contact.Sponsoring will definitely prioritize your ticket.Your email won't be published automatically at the issue board and remains confidential (as confidential as Gmail permits).LicenseThis project is published underEUPL 1.2
Package: robotframework-ifhttplibrary
IntroductionRobotFramework-IFHttpLibrary is an Interface testing library forRobotFrameworkIt includes post, get, delete, put method to send http requests,and also use MySql
datebase to verify the Correctness of response datas.It support Python 2.x and MySql database only.Installation本地安装Download source package and then install locallypython setup.py installUsingpipThe recommended installation method is usingpip:pip install robotframework-ifhttplibrary支持对象Web端：通过Cookie登录访问。
设置环境变量keyword:
create session
connect to database
post/get request  登录接口Mobile端:包括PC,Mobile,通过Proxy访问需要加密，根据项目需求可扩展测试库增加相应的加密算法关键字，
定制request headers,加密请求体body，再调用encrypt post 关键字发送加密http 请求。环境安装安装python:3以下安装robotframework安装ridepip install requestspip install httplib2pip install pydesmysql库：mysql-connector-python-2.1.3-py2.7-winx64.msi
Package: robotframework-imagecompare
ImageCompare Library for Robot Framework®A library for simple screenshot comparison.
Supports image files like .png and .jpg.Image Parts can be ignored via simple coordinate masks or area masks.SeeKeyword Documentationfor more information.Install robotframework-imagecompareInstallation viapippip install --upgrade robotframework-imagecompareExamplesCheck the/atest/Compare.robottest suite for some examples.Testing withRobot Framework*** Settings ***LibraryImageCompare*** Test Cases ***Compare two Images and highlight differencesCompare ImagesReference.jpgCandidate.jpgUse masks/placeholders to exclude parts from visual comparison*** Settings ***LibraryImageCompare*** Test Cases ***Compare two Images and ignore parts by using masksCompare ImagesReference.jpgCandidate.jpgplaceholder_file=masks.jsonCompare two PDF Docments and ignore parts by using masksCompare ImagesReference.jpgCandidate.jpgplaceholder_file=masks.jsonDifferent Mask Types to Ignore Parts When ComparingAreas, Coordinates[{"page":"1","name":"Top Border","type":"area","location":"top","percent":5},{"page":"1","name":"Left Border","type":"area","location":"left","percent":5},{"page":1,"name":"Top Rectangle","type":"coordinates","x":0,"y":0,"height":10,"width":210,"unit":"mm"}]More info will be added soon
Package: robotframework-imagehorizonlibrary
This Robot Framework library provides the facilities to automate GUIs based on
image recognition similar to Sikuli. This library wrapspyautoguito achieve
this.For non pixel perfect matches, there is a feature calledconfidence levelthat comes with a dependency OpenCV (python package:opencv-python).
This functionality is optional - you are not required to
installopencv-pythonpackage if you do not use confidence level.Keyword documentationKeyword DocumentationTravis CITravis CIPrerequisitesPython 3.xpipfor easy installationpyautoguiandit’s prerequisitesRobot FrameworkOn Ubuntu, you need to takespecial measuresto make the screenshot
functionality to work correctly. The keyboard functions might not work on
Ubuntu when run in VirtualBox on Windows.DevelopmentmockInstallationIf you havepip, installation is straightforward:$ pip install robotframework-imagehorizonlibraryThis will automatically install dependencies as well as their dependencies.WindowsImageHorizonLibrary should work on Windows “out-of-the-box”. Just run the
commands above to install it.OSXNOTICEImageHorizonLibrary does not currently work with XCode v.8. Please use a previous version.You additionally need to install these forpyautogui:$ pip install pyobjc-core pyobjcFor these, you need to installXCodeLinuxYou additionally need to install these forpyautogui:$ sudo apt-get install python-dev python-xlibYou might also need, depending on your Python distribution, to install:$ sudo apt-get install python-tkIf you are using virtualenv, you must installpython-xlibmanually to the
virtual environment forpyautogui:Fetch the source distributionInstall with:$ pip install python-xlib-<latest version>.tar.gzRunning unit tests$ python tests/utest/run_tests.py [verbosity=2]Running acceptance testsAdditionally to unit test dependencies, you also need OpenCV, Eel, scrot and Chrome/Chromium browser.
OpenCV is used because this tests are testing also confidence level.
Browser is used by Eel for cross-platform GUI demo application.
scrot is used for capturing screenshots.::$ pip install opencv-python eelTo run tests, run this command:$ python tests/atest/run_tests.pyUpdating DocsTo regenerate documentation (doc/ImageHorizonLibrary.html), use this command:$ python -m robot.libdoc -P ./src ImageHorizonLibrary doc/ImageHorizonLibrary.html
Package: robotframework-imagelibrary
AboutImageLibraryis designed to automate cases involving various types of screen processing with RoboFramework.It operates with:OpenCVPILTesseractOCRInstallationpip install robotframework-imagelibraryKeywordsKeyword documentationSearch for lates 0.2.0 version before big refactoring onhttps://pypi.org/project/robotframework-imagelibrary/#historyButtons guideButtons documentationInstallation RequirementsPython3.5+Robot FrameworkTesseractOCRFor number and text recognition. May not be installed if not planned to use.Install the3.02 version for your OSImportant info *Image LibraryMUSTbe initialized inSuite Setupbefore use by calling the keywordInitwith specified arguments (see docs).WhenInitis called library reads the yaml config and tries to locate given templates images (png files) in the provided dir with stored screenshots. If any name is not found library will throw and error.If all the data is correct library memorizes it and creates keyword objects (templates, buttons, zones) to use them in Keywords call. This helps to pass to Keyword desired arguments just as names to make them more readable.All the objects are destroyed when test execution is complete.UsageImplement theImageLibraryinto robot test suite file with specifying (optional) theoutputdirectory to store screenshots.If directory not specified - execution dir is used.ExampleLibrary ImageLibrary     screenshot_folder=${CURDIR}${/}outputCreate theyamlconfig file (read fromKeyword documentation) and specifywindowsand itscontents: zones, templates, buttons and window existence criteria.Call in Keywords window contents by its name.Example${is_on_screen} =  Is Template On Screen    template=gummiWait For Window- main window supposed to be called and mustn't be passed as argumentWait For Show    window=settings${num} =  Get Number From Zone    zone=price   resize_after=30   contrast=1ZonesCoordinates are taken in such format  [x, y, w, h]:  [123, 34, 12, 10]| x - from the top left corner of the desired window

 | y - top position from the desired window

 | w - width

 | h - height
Package: robotframework-imagetotextlibrary
IntroductionImage to Text Library is a robotframework keyword library to convert image to text.
It usestesseractto convert the image to text.InstallationUsingsetup.py. Execute commands bellow :git clone https://github.com/alvingalangcitaka/robotframework-imagetotextlibrary.git
cd robotframework-imagetotextlibrary
python setup.py installDirectory Layoutdemo/A simple demonstration, with an image andLogfrom BuiltIn Robotframework library.doc/Keyword documentationImageToTextLibrary/Python source codeContributingThe project is in development phase, any functionality / test contribution is highly appreciated.
Fork the project, make a change, and send a pull request.