Saravanan666/pypi-org huggingface dataset:
Package: robotframework-mobilelibrary
IntroductionRobotFramework-MobileLibrary is an appium testing library forRobotFramework.It usesAppium(version 1.x) to communicate with Android and iOS application,
that leverages the Appium libraries. We wrap the KWs(Mobile_xxxx) on it according to our project requirements.
similar to howSelenium WebDrivertalks to web browser.It support Python 2.x only.InstallationUsingpipThe recommended installation method is usingpip:pip install robotframework-mobilelibraryThe main benefit of usingpipis that it automatically installs all
dependencies needed by the library. Other nice features are easy upgrading
and support for un-installation:pip install --upgrade robotframework-mobilelibrary
pip uninstall robotframework-mobilelibraryProject ContributorsDong HaoWang YangdanXia Daqiang
Package: robotframework-mockserverlibrary
# MockServer Robot Framework LibraryThis project implements the Robot Framework keywords to interact with [MockServer](http://www.mock-server.com/) through HTTP.## Installation`sh $ pip installrobotframework-mockserverlibrary`## UsageAdd library to settings section:` *** Settings *** Library  MockServerLibrary `[Keyword documentation for the latest release](https://frankvanderkuur.github.io/docs/robotframework-mockserverlibrary.html)See tests/robot/tests/mock_server.robot for detailed usage examples.
Package: robotframework-mongodb-bson-library
Robotframework-MongoDB-LibraryA library for interacting with MongoDB from RobotFramework.Uses pymongo.NotesThis is a fork from the libraryRobotframework-MongoDB-Librarymain change is that the json string parsing will be modified to bson loads method,
this way all bson functions like (ObjectId, Timestamps ....etc ) will be supported directly without any needs to explicitly parse using bson in robot framworkLicenseSee LICENSE file for updated license informationInstallYou can install by pulling down source and executing the following:'''
sudo python setup.py install
'''You can install using pip'''
pip install robotframework-mongodb-bson-library
'''DocumentationFor the detail keyword documentation. Go to this following link:https://momenh.github.io/robotframework-mongodb-bson-library/install build tools:$ python3 -m pip install --upgrade buildbuild dist:$ python3 -m buildinstall twine for upload to:$ python3 -m pip install --upgrade twineupload dist package:$ python3 -m twine upload --repository pypi dist/*
Package: robotframework-mqttlibrary
MQTTLibrary is aRobot Frameworklibrary that provides keywords for testing on MQTT brokers.MQTTis a lightweight protocol for machine-to-machine communication, typically used for IoT messaging. This library uses thepahoclient library published by eclipse project.InstallationMQTTLibrary can be installed usingpip:pip install robotframework-mqttlibraryYou can also install it from the source distribution by running:python setup.py installYou may need to run the above command with administrator privileges.UsageImport the library:*** Settings ***LibraryMQTTLibraryConnect to the broker, publish and disconnect:*** Test Cases ***PublishConnect127.0.0.1Publishtopic=test/mqtt_testmessage=test message[Teardown]DisconnectConnect to the broker, subscribe and validate that a message is received:*** Test Cases ***Subscribe and ValidateConnect127.0.0.1Subscribe and Validatetopic=test/mqtt_testqos=1payload=test[Teardown]DisconnectKeyword documentation is available at:http://randomsync.github.io/robotframework-mqttlibrary.Also look attestsfolder for examples.For general information about using test libraries with Robot Framework, seeRobot Framework User Guide.ContributingThe keywords in this library are based on some of the methods available in eclipse paho client library. If you’d like to add keywords, seeinstructionson creating/updating libraries for Robot Framework.The tests are intestsfolder and make use of Robot Framework itself. They are run automatically through travis when code is pushed to a branch. When run locally, these tests rely on locally running mqtt brokers. We need 2 running brokers, one without auth that is used by most of the tests, and the other one with auth (configuration file is provided). You’ll need to start them before running the tests. You can then run the tests locally:docker pull eclipse-mosquitto
docker run -d -p 1883:1883 eclipse-mosquitto
docker run -d -p 11883:1883 -p 9001:9001 -v $(pwd)/mosquitto:/mosquitto/config eclipse-mosquitto
robot -P src testsMake sure to stop the docker container when it is no longer needed.LicenseMQTTLibrary is open source software provided under theApache License 2.0.
Package: robotframework-newhttplibrary
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)!Changelogv1.0.0Upgraded dependent robotframework library version to 3.1.2(latest).Migrated source code to support both python 2 and python 3.Unit tests updated accordingly.Integrated tox test automation tool to test on multiple python environments.v0.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-nifilibrary
NifiLibraryNifiLibraryis aRobot Frameworktest library which provides keywords to work with Apache Nifi apiUsageInstallrobotframework-nifilibraryviapipcommandpipinstall-Urobotframework-nifilibraryExample Test Case*** Settings ***LibraryNifiLibrary*** Test Cases ***Rename File - Success${token}Get Nifi Token${base_url}${username}${password}Stop Process Group${base_url}${token}${rename_processor_group_id}Update Parameter Value${base_url}${token}${parameter_context_id}${file_filter_param}${file_filter_name}Start Processor{base_url}${token}${get_file_processor_id}Stop Processor{base_url}${token}${get_file_processor_id}List Directory${local_folder_path}/Wait Until Keyword Succeeds3x5sFile Should Exist${local_folder_path}/${file_name_value}Documentation
Package: robotframework-notifications
RobotNotificationsSend notifications to Slack or Mattermost using Robot Framework.
Can be used both as library or listener.InstallationThe recommended installation method is pip:pip install robotframework-notificationsRunning this command installs also the latest version of RequestsUse as listenerrobot --listener "RobotNotifications;https://webhook_url;end_test;summary" test.robotListeners are taken into use from the command line with the --listener option.The first argument is the name of the library.The second argument is the webhook url.Based on your preferences pick the next argument(s) from the tableSeperate the arguments with a semicolon ;Optional ArgumentsArgumentDescriptionExampleend_suitePost suite resultssummaryPost a report summaryend_testPost failing testsend_test_allPost all testsUse as libraryBesides the listener functionality this library allows you to post a custom message with the use of the keyword "Post Message To Channel"To use RobotNotifications in Robot Framework, the library needs to be imported using theLibrarysetting as any other library. The library needs the webhook url from Slack or Mattermost as an argument.Example:*** Settings ***LibraryRobotNotificationshttps://hooks.slack.com/services/--your-webhook--You can retrieve this webhook url in Slack or Mattermost.Example 2:*** Settings ***LibraryRobotNotificationshttps://hooks.slack.com/services/--your-webhook--...end_suiteend_testWrite a custom messageAfter importing the library you have access to the keywordPost Message To ChannelThis keyword has one mandatory argument which is the message to post to the channel, and several optional arguments.ArgumentDescriptionRequiredtextMarkdown-formatted message to display in the post.YESchannelOverrides the channel the message posts in. Use the channel’s name and not the display name. Defaults to the channel set during webhook creation.NOusernameOverrides the username the message posts as. Defaults to the username set during webhook creation or the webhook creator’s username if the former was not set.NOicon_urlOverrides the profile picture the message posts with. Defaults to the URL set during webhook creation or the webhook creator’s profile picture if the former was not set.NOicon_emojiOverrides the profile picture andicon_urlparameter. Defaults to none and is not set during webhook creation.NOpropsSets the postprops, a JSON property bag for storing extra or meta data on the post.NOExample:*** Settings ***LibraryRobotNotificationshttps://hooks.slack.com/services/--your-webhook--*** Test Cases ***Example TestPost Message To ChannelThis is a custom message!icon_emoji=robot_faceusername=Robot...channel=robot-notificationsThe above example shows how thePost Message To Channelcan be used in Robot Framework.Retrieve webhookSlackhttps://slack.com/intl/en-lv/help/articles/115005265063-incoming-webhooks-for-slackMattermosthttps://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook
Package: robotframework-nsm
ContentsIntroductionDocumentationInstallationUsageSupportIntroductionNatural semantic metalanguage package forRobot FrameworkThe package is based on works by prof. Anna Wierzbicka
and prof. Cliff Goddard and this is work in progress.Robotframework-NSM is operating system independent and supports Python 2.7 as well
as Python 3.x or newer.DocumentationFor general information about using test libraries with Robot Framework, seeRobot Framework User Guide.InstallationThe recommended installation method is usingpip:pip install --upgrade robotframework-nsmWith recent versions ofpipit is possible to install directly from theGitHubrepository. To install latest source from the master branch, use
this command:pip install git+https://github.com/AdamPrzybyla/robotframework-nsm.gitAlternatively you can download the source distribution fromPyPI, extract
it, and install it using one of the following depending are you using
Python or Jython:python setup.py installUsageSample test cases:Test 1Teraz jest tak: ja widze webpageJa nie widze slowa logged na webpagePotem ja uzyje slow credentials na webpageZ tego powodu ja widze slowa logged na webpageNiedlugo potem ja nie widze webpageTest 2Teraz jest tak: ja widze webpageJa nie widze slowa logged na webpagePotem ja uzyje slow bad credentials na webpageZ tego powodu ja nie widze slowa logged na webpageNiedlugo potem ja nie widze webpageTest 3Teraz jest tak: ja widze webpageJa nie widze slowa logged na webpageNiedlugo potem ja nie widze webpageSupportIf the provided documentation is not enough, there are various support forums
available:robotframework-usersmailing list
Package: robotframework-obfuscator
Robot Framework ObfuscatorThe Robot Framework obfuscator is a command line tool which can obfuscate Robot Framework code.Installingpip can be used to install the obfuscator:pip install https://github.com/robocorp/robotframework-obfuscator/archive/master.zipNote that dependencies must also be installed:pip install robotframeworkpip install robotframework-lspDependenciesIt depends onPython 3.8+,Robot Framework 4+androbotframework-lsp 0.29+.UsageAfter installing it, it's possible to run the obfuscator with:python -m robotframework_obfuscator --dest <dest-dir> <dir-to-obfuscate>Where<dest-dir>is the directory where the obfuscated sources should be put and<dir-to-obfuscate>is the directory with the sources to obfuscate.Note that all files from the<dir-to-obfuscate>will be copied to the<dest-dir>but only.robotand.resourcefiles will be obfuscated.If some keyword should not be obfuscated, it's possible to use the--skip-keywordoption to make a call such as:python -m robotframework_obfuscator --dest <dest-dir> --skip-keyword MyKeyword --skip-keyword AnotherKeyword <dir-to-obfuscate>If some variable should not be obfuscated, it's possible to use the--skip-varoption to make a call such as:python -m robotframework_obfuscator --dest <dest-dir> --skip-var my_var --skip-var AnotherVar <dir-to-obfuscate>CaveatsBoth keyword names and variable names will be obfuscated. If a given keyword or
variable name was referenced in a different way (read from a file, environment
variable, etc.), it's possible that the program may fail to execute afterwards,
thus, it's suggested that the obfuscated version of the program is run to verify
that the behavior is still the same.Note that keyword names passed toRun Keyword(or other run variants of theRunfrom theBuiltInlibrary) are properly translated, but if the target code has
a some direct call to run a keyword, it may fail.It's possible to overcome this by not obfuscating a specific keyword name
with the--skip-keywordoption.Also note that if some variable is passed as a parameter to Robot Framework
(or through some variables file), it's possible to use the--skip-varoption
to skip translating those variables.NotesNote that the obfuscator may make your program run slower as in many cases an additional
keyword evaluation may be needed for each keyword run -- in general, as a rule of thumb,
code that need to be fast, should be in Python, so, it shouldn't make much difference,
but if the related code has too much logic leveraged in Robot Framework itself, it
may make a difference.ImportantThis obfuscator is currently in alpha mode. Please run your program with the
obfuscated version to make sure that the behavior is still the same.
Package: robotframework-openpyxllib
Robotframework-Openpyxllib libraryThis Robotframework Openpyxl library that provides keywords to Open, Read, Write and Save XLSX files. This library uses Openpyxl python module to read and write datas in xlsx files.Pre-requisities:Python - 2.7 (Not tested with Python 3.0)Robotframework - 3.0.2 (Not tested with other versions)OpenpyxlInstallation:pip install robotframework-openpyxllibExample:Library    |    OpenPyxlLibrary    |Open Excel | <Filename with path>  |
Package: robotframework-openpyxllib2
Robotframework-Openpyxllib libraryThis Robotframework Openpyxl library that provides keywords to Open, Read, Write and Save XLSX files. This library uses Openpyxl python module to read and write datas in xlsx files.Pre-requisities:
- Python - 2.7 (Not tested with Python 3.0)
- Robotframework - 3.0.2 (Not tested with other versions)
- OpenpyxlInstallation:pip install robotframework-openpyxllibExample:| Library    |    OpenPyxlLibrary    |
| Open Excel |   |
Package: robotframework-openstf
robotframeworkopenstfIntroductionRobot framework client library for openstf control using open stf swagger api (https://vbanthia.github.io/angular-swagger-ui/).InstallationThe recommended installation method is using pip::pip install robotframework-openstfUsage.. code:: robotframework*** Settings ***
Library    OpenStf   ${stf_base_url}    ${stf_user_auth}   
*** Variables ***
${stf_base_url}     http://myhost.com/api/v1
${stf_user_auth}    Bearer << mytoken >>
*** Test Cases ***
test 1
    ${result}=    Get Device List  
    log    ${result} 
test 2
    ${result}=    Get Device Information    ${stf_sample_serial}
    log    ${result} 

test 3
    ${result}=    Get User Profile    
    log    ${result} 

test 4
    ${result}=    Get User Devices
    log    ${result} 

test 5
    ${result}=    Add a device to a user    ${stf_sample_serial}    
    log    ${result} 

test 6
    ${result}=    Get User Device    ${stf_sample_serial}    
    log    ${result} 

test 7
    ${remoteConnectUrl}=    Remote Connect a device    ${stf_sample_serial}    
    log    ${remoteConnectUrl}

test 8
    ${result}=    Remote Disconnect a device    ${stf_sample_serial}   
    log    ${result} 
    

test 9
    ${result}=    Delete User Device    ${stf_sample_serial}    
    log    ${result}
Package: robotframework-openstflibrary
b"\n.. image:: https://secure.travis-ci.org/ravihuang/robotframework-openstflibrary.png?branch=master\n  :target: http://travis-ci.org/ravihuang/robotframework-openstflibrary\nOpenstfLibrary\n=============================\n.. contents::\n\nrobotframework-openstflibrary\n--------------------------\n\n**robotframework-stublibrary** is a `Robot Framework\n<https://github.com/robotframework/robotframework>`_ test library for openstf\nneeds. It uses `pyswagger <https://pypi.python.org/pypi/pyswagger>`_ library\nunderneath now.\n\nCompile\n------------\nEnv:\n  pip install wheel twine -i https://pypi.douban.com/simple\ndist\xef\xbc\x9a\n  python setup.py sdist bdist_wheel --universal\nupload to pypi:\n  twine upload --config-file c:\\Users\\Administrator\\.pypirc dist\\*\n\nInstallation\n------------\n\nYou can install robotframework-openstflibrary via `pip\n<http://www.pip-installer.org/>`_::\n\n  pip install --upgrade robotframework-openstflibrary\n\nUsage\n-----\nAPI documentation can be found at\n`https://github.com/ravihuang/robotframework-openstflibrary\n<https://github.com/ravihuang/robotframework-openstflibrary/>`_, here is an example\non how to use it:\n\n============  ================\n  Setting          Value      \n============  ================\nLibrary       OpenstfLibrary\n============  ================\n\n\\\n\n============  =================================  ===================================\n Test Case    Action                             Argument\n============  =================================  ===================================\nExample\n              Connect To Stf    192.168.117.155:7100    8ad3024193ba44a1820afef3060df8934d964599b74049d4b11b9c3f9edb5457\n              ${x}              Get Idle Device\n============  =================================  ===================================\n\n\nCompatibility\n-------------\nThis library is only tested on CPython. It might work on Jython, not sure.\n\nDevelopment\n-----------\nIf you want to hack on this library itself, this should get you started::\n\n  # install\n  git clone https://github.com/peritus/robotframework-openstflibrary.git\n  cd robotframework-openstflibrary/\n  python setup.py install\n    \n  # run tests\n  pybot tests/\n\nI'm very happy about patches, pull-requests and API-discussions (as this is\nmostly a wrapper supposed to have a nice API)!\n\nChangelog\n---------\n\n**v0.1.0**\n\n- new\n\nLicense\n-------\nApache License\n\n"
Package: robotframework-oracledb
Short DescriptionRobot Frameworklibrary for working with Oracle database, usingcx_Oracle.Installationpip install robotframework-oracledbDocumentationSee keyword documentation for robotframework-oracledb library in
folderdocs.ExampleSettingsValueLibraryOracleDBTest casesActionArgumentArgumentArgumentSimple TestOracleDB.Connect To Oraclerb60dbusernamepassword@{query}=Execute Sql Stringselect sysdate from dualOracleDB.Close All Oracle ConnectionsLicenseApache License 2.0
Package: robotframework-oracledb-library
OracleDBLibraryOracleDBLibrary is a database testing library for Robot Framework that utilizes the python-oracledb tool internally.
The project is hosted on GitHub and downloads can be found from PyPI.InstallationThe recommended installation method is using pippip install --upgrade robotframework-oracledb-libraryUsageTo use OracleDBLibrary in Robot Framework tests, the library needs to first be imported using theLibrarysetting as any other library.When using Robot Framework, it is generally recommended writing as easy-to-understand tests as possible.
The keywords provided by OracleDBLibrary is pretty low level, though, and often require implementation-specific arguments like data source name (DSN) to be passed as arguments.
It is thus typically a good idea to write tests using Robot Framework's higher-level keywords that utilize OracleDBLibrary keywords internally.
This is illustrated by the following example where OracleDBLibrary keywords likeORACLE MAKEDSN,ORACLE CONNECT,ORACLE CONNECTION PINGandORACLE CONNECTION CLOSEare primarily used by higher-level keywords likeCONNECT TO ORACLE DATABASE WITH SID.*** Settings ***
Library           OracleDBLibrary

*** Variables ***
${HOST}      localhost
${PORT}      1521
${SID}       ORCLCDB
${USER}      SYS
${PASSWORD}  Oradoc_db1
${MODE}      SYSDBA

*** Test Cases ***
CONNECT TO ORACLE DATABASE AND INSERT DATA
    CONNECT TO ORACLE DATABASE WITH SID
    INSERT DATA INTO ORACLE DATABASE
    DROP ORACLE DATABASE TABLE
    CLOSE ORACLE DATABASE CONNECTION AND CURSOR

*** Keywords ***
CONNECT TO ORACLE DATABASE WITH SID
    ${DSN}  ORACLE MAKEDSN  host=${HOST}  port=${PORT}  sid=${SID}
    ORACLE CONNECT  user=${USER}  password=${PASSWORD}  dsn=${DSN}  mode=${MODE}
    ${CONNECTION STATUS}  ORACLE CONNECTION PING
    SHOULD BE EQUAL  ${CONNECTION STATUS}  ${NONE}

INSERT DATA INTO ORACLE DATABASE
    ORACLE CONNECTION CURSOR
    ${FIRST TABLE ROW}   EVALUATE  (1432, 'Abdullah', 'Deliogullari')
    ${SECOND TABLE ROW}  EVALUATE  (1453, 'Ahmet Burhan', 'Kutuk')
    ${THIRD TABLE ROW}   EVALUATE  (1481, 'Erim', 'Cerrahoglu')
    ORACLE CURSOR EXECUTE  CREATE TABLE persons (person_id NUMBER GENERATED BY DEFAULT AS IDENTITY, first_name VARCHAR2(50) NOT NULL, last_name VARCHAR2(50) NOT NULL, PRIMARY KEY(person_id))
    ORACLE CURSOR EXECUTE  INSERT INTO persons (person_id, first_name, last_name) VALUES ${FIRST TABLE ROW}
    ORACLE CURSOR EXECUTE  INSERT INTO persons (person_id, first_name, last_name) VALUES ${SECOND TABLE ROW}
    ORACLE CURSOR EXECUTE  INSERT INTO persons (person_id, first_name, last_name) VALUES ${THIRD TABLE ROW}
    ORACLE CONNECTION COMMIT

DROP ORACLE DATABASE TABLE
    ORACLE CURSOR EXECUTE  DROP TABLE persons
    ORACLE CONNECTION COMMIT

CLOSE ORACLE DATABASE CONNECTION AND CURSOR
    ORACLE CURSOR CLOSE
    ORACLE CONNECTION CLOSELicenseRobotFramework OracleDB Library is open source software provided under theApache License 2.0
Package: robotframework-otp
ContentsIntroductionInstallationUsageUpdate DocsIntroductionRobotframework-OTP is aRobot Frameworktest
library for generating two-factor One Time Passwords.  The project is hosted onGitHuband downloads can be found fromPyPI.LibdocsInstallationpip install robotframework-otpUsage*** Settings ***LibraryOTP*** Test Cases ***Get OTP from secret${otp}=Get OTP${SECRET}Should Match Regexp${otp}\\d{6}Update Docspython -m robot.libdoc src/OTP/ doc/OTP.html