This release is a pre-release and may not be stable for production use.
DecoderLibrary
Version = 0.1.1a9
Library Scope: GLOBAL
Created: 12/20/2019 14:46 UTC-8
Author: Joshua Kim Rivera | email:joshua.rivera@mnltechnology.com
Company: Spiralworks Technologies Inc.
Contents:
Introduction
DecoderLibrary is a Robotframework Test Library for interfacing tests with
Google Sheets using Google Sheets API v4.
View the latest keyword Documentation here.
Installation
Option 1
Install using pypi, run:
pip install rf-decoderlibrary
Usage
To use DecoderLibrary in Robot Framework tests, the library needs to
first be imported using the Library setting as any other library.
*** Settings ***
Documentation Simple example using GoogleSheetsLibrary
Library GoogleSheetsLibrary
... scopes=['https://www.googleapis.com/auth/spreadsheets']
Library Collections
# Initialize the connection to the spreadsheet.
Suite Setup Initialize Spreadsheet
... spreadsheetId=sampleSpreadsheetId
... tokenFile=path/to/token.pickle
*** Variables ***
@{sample_range} Sheet!A1:E Sheet1!A1:E2
@{row_1} sample string
... written using
... googlesheets api v4
@{row_2} hello world
... i am using
... googlesheets api v4
@{values} ${row_1} ${row_2}
&{body} values=${values}
*** Test Cases ***
Sample Fetch Data
[Documentation] Fetch data from the initialized sheet.
${single_range_data} Fetch Single Range range_name=Sheet!A1:E1
Log To Console ${single_range_data}
${multiple_range_data} Fetch Multiple Range ranges=${sample_range}
Log To Console ${multiple_range_data}
Sample Write Data
[Documentation] Writes data to the initialized sheet.
${response} Write To Range range_name=Sheet!A3:E4
... body=${body}
Log To Console ${response}
Sample Data Append
[Documentation] Append Data to the sheet.
${append_response} Append Values range_name=Sheet1
... body=${body}
Log To Console ${append_response}
Generating Documentation
To Generate the keyword Documentation, simple run:
python -m robot.libdoc DecoderLibrary documentation.html
Note that the library must first be installed before generating a documentation.
Dependencies
Metadata
Release files for rf-decoderlibrary 0.1.1a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rf_decoderlibrary-0.1.1a1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / rf_decoderlibrary-0.1.1a1-py3-none-any.whl
| Download URL | rf_decoderlibrary-0.1.1a1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a962c43ccc32d2abc8ec38796ee9fe10ecb8e59673446e10ecb513e53e73ea57
|
|
BLAKE2b-256 checksum How to use checksums |
36c8f959f6ac82411001a912c1cc2bca9b17af79117252720fc6e73895716cb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
|
Security for rf-decoderlibrary 0.1.1a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.