{"id":15144535,"url":"https://github.com/yusufcanb/robotframework-gpio","last_synced_at":"2025-09-13T01:37:41.672Z","repository":{"id":45369304,"uuid":"342875457","full_name":"yusufcanb/robotframework-gpio","owner":"yusufcanb","description":"Robot Framework Library for interfacing GPIO pins on  robot files for Raspberry Pi's. ","archived":false,"fork":false,"pushed_at":"2021-12-17T14:46:01.000Z","size":187,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-18T20:12:11.669Z","etag":null,"topics":["gpio","python","raspberrypi","robotframework"],"latest_commit_sha":null,"homepage":"https://yusufcanb.github.io/robotframework-gpio/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yusufcanb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-27T14:27:04.000Z","updated_at":"2024-09-09T14:25:12.000Z","dependencies_parsed_at":"2022-09-02T00:41:48.095Z","dependency_job_id":null,"html_url":"https://github.com/yusufcanb/robotframework-gpio","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufcanb%2Frobotframework-gpio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufcanb%2Frobotframework-gpio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufcanb%2Frobotframework-gpio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufcanb%2Frobotframework-gpio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yusufcanb","download_url":"https://codeload.github.com/yusufcanb/robotframework-gpio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232086291,"owners_count":18470630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gpio","python","raspberrypi","robotframework"],"created_at":"2024-09-26T10:42:02.661Z","updated_at":"2025-01-01T20:29:57.590Z","avatar_url":"https://github.com/yusufcanb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPIOLibrary\n\n![pypi-badge](https://img.shields.io/pypi/v/robotframework-gpio)\n[![build](https://github.com/yusufcanb/robotframework-gpio/actions/workflows/python-build.yml/badge.svg?branch=master)](https://github.com/yusufcanb/robotframework-gpio/actions/workflows/python-build.yml)\n![stable](https://img.shields.io/static/v1?label=status\u0026message=stable\u0026color=green)\n\n\nRobot Framework Library for interfacing GPIO pins on executing robot files on Raspberry Pi's.\n\nFor Library documentation you can visit; [https://yusufcanb.github.io/robotframework-gpio/](https://yusufcanb.github.io/robotframework-gpio/)\n\n## Requirements\n\n- [Robot Framework (^3.2.2) ](https://pypi.org/project/robotframework/)\n- [RPi.GPIO (^0.7.0)](https://pypi.org/project/RPi.GPIO/)\n\n## Installation\n\nInstall [RPi.GPIO](https://pypi.org/project/RPi.GPIO/) with command below;\n\n```\npip install RPi.GPIO\n```\n\nThen install GPIOLibrary with;\n\n```shell\npip install robotframework-gpio\n```\n\n\n## Examples\n\nYou can find example robot files in the `/examples` directory.\n\n### Basic Usage\n\n```robot\n*** Settings ***\n\nDocumentation   Test LED is fully functional\nLibrary                     GPIOLibrary\nSuite Setup                 Begin GPIO Test\n\n*** Variables ***\n\n${LED_PIN}                  17\n\n*** Test Cases ***\n\nLED Should On\n    Set Output Pin                  ${LED_PIN}\n    Set Pin High                    ${LED_PIN}\n    ${pin_status}=                  Get Pin Status      ${LED_PIN}\n    Should Be Equal As Integers     ${pin_status}       1\n\nLED Should Off\n    Set Output Pin                  ${LED_PIN}\n    Set Pin Low                     ${LED_PIN}\n    ${pin_status}=                  Get Pin Status      ${LED_PIN}\n    Should Be Equal As Integers     ${pin_status}       1\n \n*** Keywords ***\n\nBegin GPIO Test\n    Set Mode                        BCM\n    Set Warnings Off\n```\n\n\n### Remote Library Usage\n\nFirst install robotframework/PythonRemoteServer to Raspberry Pi;\n\n```\npip install robotremoteserver\n```\n\n\nThen, start remote library server with following commands;\n\n```python\nfrom robotremoteserver import RobotRemoteServer\nfrom GPIOLibrary import GPIOLibrary\n\nRobotRemoteServer(GPIOLibrary(), host='0.0.0.0')\n```\n\nFinally, you can execute the robot file below from any machine within the same network of Raspberry Pi.\n\n\n``` robot\n*** Settings ***\n\nDocumentation                       Example robot file for using GPIOLibrary on a remote Raspberry Pi device\n\nLibrary                             Remote      http://${ADDRESS}:${PORT}\nLibrary                             Dialogs\nSuite Setup                         Begin GPIO Test\n\n*** Variables ***\n\n${ADDRESS}                          raspberrypi.local\n${PORT}                             8270\n\n${LED_PIN}                          17\n\n*** Test Cases ***\n\nLED Should On\n    Set Output Pin                  ${LED_PIN}\n    Set Pin High                    ${LED_PIN}\n    Execute Manual Step             LED is on?\n    \n\nLED Should Off\n    Set Output Pin                  ${LED_PIN}\n    Set Pin Low                     ${LED_PIN}\n    Execute Manual Step             LED is off?\n \n*** Keywords ***\n\nBegin GPIO Test\n    Set Mode                        BCM\n    Set Warnings Off\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufcanb%2Frobotframework-gpio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyusufcanb%2Frobotframework-gpio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufcanb%2Frobotframework-gpio/lists"}