CSV library for Robot Framework
Project description
Robot Framework CSVLibrary
Introduction
CSVLibrary is a Robot Framework library for handling csv files.
More information about this library can be found in the Keyword Documentation.
Installation
Using pip
pip install -U robotframework-csvlibrary
Manual installation
- Make sure you have Robot Framework installed.
- Download source distributions (
*.tar.gz
) for the library and its dependencies: - Extract each source distribution to a temporary location.
- Go each created directory from the command line and install each project using:
python setup.py install
Example
Basic example:
*** Settings ***
Library Collections
Library CSVLibrary
*** Test Cases ***
Read csv file to a list example test
@{list}= read csv file to list data.csv
Log ${list[0]}
Log ${list[1]}
Read csv file to a dict example test
@{dict}= read csv file to associative data.csv
Log &{dict[0]}[first_name] &{dict[0]}[last_name]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file robotframework-csvlibrary-0.0.5.tar.gz
.
File metadata
- Download URL: robotframework-csvlibrary-0.0.5.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b2487202da344e8800f729959444ab96bc97909f45515a401eaa785eabccb2d |
|
MD5 | 4c7f180ff45697a09a9cb90b8fee94ae |
|
BLAKE2b-256 | d08b4d9904102177d1e7fc229af7c6fc1ad25967baf47792f4ea4045555ffb0a |
File details
Details for the file robotframework_csvlibrary-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: robotframework_csvlibrary-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80a21987ad8d72d4659c3fd635e5584945f05ed7ee77df65b94ccbe1345cb000 |
|
MD5 | 53f2d2a9312054679e218f30a7d54bd1 |
|
BLAKE2b-256 | 38429a02a81392ee4e43d26f7b149736853fa9184a493a839d636e912927c363 |