{"id":24811160,"url":"https://github.com/thin-edge/robotframework-aws","last_synced_at":"2025-10-03T19:40:15.390Z","repository":{"id":255341057,"uuid":"849263933","full_name":"thin-edge/robotframework-aws","owner":"thin-edge","description":"AWS Robotframework library for testing thin-edge.io with AWS","archived":false,"fork":false,"pushed_at":"2024-09-03T11:30:38.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-30T12:19:44.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thin-edge.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-29T09:28:22.000Z","updated_at":"2024-09-03T11:29:04.000Z","dependencies_parsed_at":"2024-08-29T11:54:53.071Z","dependency_job_id":"3ff77211-52aa-4e1d-b0b1-27ccfc94c9a1","html_url":"https://github.com/thin-edge/robotframework-aws","commit_stats":null,"previous_names":["thin-edge/robotframework-aws"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Frobotframework-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Frobotframework-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Frobotframework-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Frobotframework-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thin-edge","download_url":"https://codeload.github.com/thin-edge/robotframework-aws/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245468763,"owners_count":20620447,"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":[],"created_at":"2025-01-30T12:19:31.685Z","updated_at":"2025-10-03T19:40:15.308Z","avatar_url":"https://github.com/thin-edge.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["IoT"],"readme":"# robotframework-aws\n\nRobot Framework Library for AWS IoT in the context of thin-edge.io\n\n# Using it\n\n1. Install via pip\n\n    ```sh\n    pip install git+https://github.com/thin-edge/robotframework-aws.git@main\n    ```\n\n    Or add it to your `requirements.txt` file\n\n    ```sh\n    robotframework-aws @ git+https://github.com/thin-edge/robotframework-aws.git@main\n    ```\n\n    Then install it via\n\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n    Alternatively you can install a specific version using:\n\n    ```sh\n    robotframework-aws @ git+https://github.com/thin-edge/robotframework-aws.git@0.0.7\n    ```\n\n2. Create a `.env` file with the following environment variables\n\n    ```sh\n    AWS_ACCESS_KEY_ID=ABCDEFGHI\n    AWS_SECRET_ACCESS_KEY=\u003csecret\u003e\n    AWS_REGION=us-east-1\n    ```\n\n3. Create a Robot test `tests/Example.robot`\n\n    ```robot\n    *** Settings ***\n    Library    AWS\n    Library    DeviceLibrary\n\n\n    *** Test Cases ***\n    Example\n        ${device_name}=     DeviceLibrary.Setup\n        ${aws}=     AWS.Create Thing With Self-Signed Certificate    name=${device_name}\n        DeviceLibrary.Execute Command    printf -- '${aws.private_key}' \u003e $(tedge config get device.key_path)\n        DeviceLibrary.Execute Command    printf -- '${aws.public_key}' \u003e $(tedge config get device.cert_path)\n        DeviceLibrary.Execute Command    sudo tedge config set aws.url ${aws.url}\n        ${stdout}=    DeviceLibrary.Execute Command    sudo tedge connect aws    retries=0\n    ```\n\n    **Note**\n\n    The above example uses the [robotframework-devicelibrary](https://github.com/reubenmiller/robotframework-devicelibrary)\n\n4. Run the test\n\n    ```sh\n    robot tests/Example.robot\n    ```\n\n## Library docs\n\nYou can generate the docs yourself using:\n\n```sh\nlibdoc AWS/AWS.py show \u003e AWS/AWS.rst\n```\n\nOr the more interactive html documentation using:\n\n```sh\nlibdoc AWS/AWS.py AWS/AWS.html\n```\n\n## Development\n\nBefore submitting a PR, make sure you run the formatting and linting against your code to ensure you don't have an formatting or linting errors.\n\nYou can run the formatting and linting by first installing the development dependencies, using the following [just](https://github.com/casey/just) tasks:\n\n```sh\njust venv\njust install_dev\n```\n\nAfter the dependencies have been installed, run the linting/formatting task and check the output.\n\n```sh\njust lint\n```\n\nThe pylint output should rate your code as 10.00/10. Below is an example of the console output:\n\n```\nYour code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthin-edge%2Frobotframework-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthin-edge%2Frobotframework-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthin-edge%2Frobotframework-aws/lists"}