robotframework-csvlibrary
CSV library for Robot Framework
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-csvlibraryuv
uv add robotframework-csvlibrarypoetry
poetry add robotframework-csvlibraryInstalling 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
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
robotframework-excellibProvides Robot Framework keywords for reading,…
permissive · top 15,000 on PyPI
robotframework-seleniumlibrarySeleniumLibrary is a Robot Framework library…
permissive · top 5,000 on PyPI
robotframework-datadriverDataDriver extends Robot Framework to generate…
permissive · top 15,000 on PyPI
robotframework-databaselibraryA Robot Framework library that adds keywords…
permissive · top 15,000 on PyPI
robotframework-selenium2libraryA Robot Framework library that wraps Selenium…
permissive · top 15,000 on PyPI
robotframework-requestsRequestsLibrary wraps the Python Requests…
permissive · top 5,000 on PyPI
robotframework-appiumlibraryAppiumLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotframework-sshlibraryA Robot Framework test library for executing…
permissive · top 15,000 on PyPI
robotframework-jsonlibraryA Robot Framework library for querying, adding,…
permissive · top 15,000 on PyPI