Skip to main content

robotframework-csvlib

CSV library for robotframework written in Python 3

Installation

pip install robotframework-csvlib

Quick Keyword Overview

Read CSV As Single List 
    Arguments:
        Filepath
        Delimiter (optional)
    Returns:
        A single list with all values.
Read CSV As List 
    Arguments:
        Filepath
        Delimiter (optional)
    Returns:
        A list containing all rows as lists.
Read CSV As Dictionary 
    Arguments:
        Filepath
        Name of key column
        Name(s) of value column(s)
        Delimiter (optional)
    Returns:
        A dictionary with the key column a key and the value column(s) as value. 
        If there are multiple value columns the value will be a list containing all values.

Example

*** Settings ***
Library  CSVLib

*** Test Cases ***
Test CSV
	${singlelist}=		Read CSV As Single List		test.csv
	log to console		${singlelist}

	${list}=		read csv as list		test.csv
	log to console		${list}

	${dict}=		read csv as dictionary		test_dict.csv		Animal		Legs		,
	log to console		${dict}

	${value}=		create list			Legs			Eyes
	${dictWList}=		read csv as dictionary		test_dict1.csv		Animal		${value}	,
	log to console		${dictWList}

Metadata

Release files for robotframework-csvlib 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-csvlib 1.0.2
File Size Uploaded
robotframework-csvlib-1.0.2.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-csvlib 1.0.2
File Interpreter ABI Platform
robotframework_csvlib-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / robotframework-csvlib-1.0.2.tar.gz

Download URL robotframework-csvlib-1.0.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e5d5568660d6da7d8e3941c18379fb5bee389f6ab36eee6a40b87be1f6273fa4
BLAKE2b-256 checksum
How to use checksums
135924d26b5a54c24463f42faea198c9f860492d1a17c9c1e70c33f26550f5d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.0

Release files / robotframework_csvlib-1.0.2-py3-none-any.whl

Download URL robotframework_csvlib-1.0.2-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
793c17495dad08ab77ef58ef47ef82ece47c7f25a9156db506783fcb269a641d
BLAKE2b-256 checksum
How to use checksums
def6116a67197c356c4cc4f5c4435784b10b6544a8e3e43b59553cdae49d85d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

3 release files

1.0.0

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page