skillfed

robotframework-csvlibrary

CSV library for Robot Framework

robotframework-csvlibrary v0.0.5 100.5K downloads/30d#12,981 on PyPI19
Permissive license Apache License 2.0 DORMANT released

What it is and what it does

CSVLibrary extends Robot Framework with keywords to read CSV files and convert them into Robot Framework data structures—lists and associative arrays (dictionaries)—that can be used directly in test cases. It sits between your test logic and CSV data files, letting you load test data or validation datasets without writing custom Python code.

The library is minimal and focused: it provides a few core keywords (read csv file to list, read csv file to associative) that handle the parsing. It's designed for teams using Robot Framework for acceptance testing or data-driven automation who want to keep test data in CSV format. The package has been stable since its 2017 release but is no longer actively maintained, so it works well for straightforward CSV reading but may not evolve with new Robot Framework features.

Use it for:

  • Load test data from CSV files into Robot Framework test cases without writing custom Python keywords.
  • Populate test matrices or parameterized test suites by reading CSV rows as test inputs.
  • Validate application output by comparing it against expected results stored in CSV files.
  • Build data-driven acceptance tests where test cases iterate over rows in a CSV dataset.
  • Organize test fixtures and reference data in CSV format for easy maintenance by non-programmers.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

CSVLibrary is a Robot Framework library that provides keywords for reading and parsing CSV files into lists and dictionaries within Robot Framework test cases.

Yes, if you are already using Robot Framework and need simple CSV reading for test data. The low install friction (one dependency), permissive license, and stable keyword interface make it a straightforward addition. However, expect no active maintenance—if you need advanced CSV features (custom dialects, streaming, complex transformations) or encounter issues with newer Python or Robot Framework versions, you may need to fork or switch to a custom solution.

Install

robotframework-csvlibrary on PyPI

pip

pip install robotframework-csvlibrary

uv

uv add robotframework-csvlibrary

poetry

poetry add robotframework-csvlibrary

Installing robotframework-csvlibrary

Before you install

Installation is straightforward with a single runtime dependency on robotframework. The package is dormant (last release 2022-03-15, last commit 2024-09-03), so expect no active maintenance, though the repository remains available and unarchived.

License in practice

Licensed under Apache License 2.0 (permissive), so you can use it freely in commercial and private projects with minimal restrictions.

Quickstart

pip install robotframework-csvlibrary

*** Settings ***
Library    CSVLibrary

*** Test Cases ***
Read CSV Example
    @{list}=    read csv file to list    data.csv
    Log    ${list[0]}

Requires Robot Framework to be installed; CSVLibrary is a Robot Framework library, not a standalone tool.

Verify before relying

  • Whether the library works reliably with modern Python versions (3.10+) given the dormant maintenance status.
  • Whether CSV dialect handling (delimiters, quoting) is configurable or limited to defaults.
  • Current state of the keyword documentation and whether examples in the repo remain accurate.

Package facts

License Apache License 2.0 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — robotframework
Maintenance dormant — 1,613 days since the last release
Last repo commit
First released
Downloads 100,549/month — #12,981 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: robotframework_csvlibrary-0.0.5-py3-none-any.whl

Keywords: robotframework, testing, csv

Development Status :: 4 - BetaLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Testing

Tags

robot framework csv librarycsv file reading robot frameworkrobot framework data-driven testing csvparse csv robot frameworkcsv to list robot frameworkrobot framework test data csvcsv dictionary robot framework
robot-frameworktest-datadata-driven-testing

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

robotframework-excellib

Provides Robot Framework keywords for reading,…

permissive · top 15,000 on PyPI

robotframework-seleniumlibrary

SeleniumLibrary is a Robot Framework library…

permissive · top 5,000 on PyPI

robotframework-datadriver

DataDriver extends Robot Framework to generate…

permissive · top 15,000 on PyPI

robotframework-databaselibrary

A Robot Framework library that adds keywords…

permissive · top 15,000 on PyPI

robotframework-selenium2library

A Robot Framework library that wraps Selenium…

permissive · top 15,000 on PyPI

robotframework-requests

RequestsLibrary wraps the Python Requests…

permissive · top 5,000 on PyPI

robotframework-appiumlibrary

AppiumLibrary is a Robot Framework library that…

permissive · top 15,000 on PyPI

robotframework-sshlibrary

A Robot Framework test library for executing…

permissive · top 15,000 on PyPI

robotframework-jsonlibrary

A Robot Framework library for querying, adding,…

permissive · top 15,000 on PyPI