$npx skillfedfor your agent

robotframework-databaselibrary

Database Library for Robot Framework

With conditionsPyPI TestingReleased Jan 2026392.7K downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — robotframework_databaselibrary-2.4.1-py3-none-any.whl
v2.4.1 · released 2026-01-13 · Python >=3.8.1 · 3 runtime deps: robotframework, robotframework-assertion-engine, sqlparse

Yes, if you are using Robot Framework for test automation and need to query or verify databases. Install friction is low and the library is permissively licensed. Maintenance is aging (last release 213 days ago), so verify that your target database driver is supported before committing; no known vulnerabilities are present. Suitable for teams already invested in Robot Framework who want database testing without custom code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a separate Python database module (e.g., oracledb, pymysql, psycopg2) to be installed separately depending on your target database.
  • Low install friction with a pure-wheel distribution.
  • Maintenance status is aging—last release was 213 days ago—but the repository remains active and has not been archived.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2026-01-13 (213 days) · last repo commit 2026-01-13 · 178 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 392,715 downloads/mo, #7,006 on PyPI

Verify before relying

pip install robotframework-databaselibrary

*** Settings ***
Library    DatabaseLibrary

*** Test Cases ***
Query Database
    Connect To Database    oracledb    db_name=db    db_user=user    db_password=pass    db_host=127.0.0.1    db_port=1521
    ${rows}=    Query    select FIRST_NAME from person
    Should Be Equal    ${rows}[0][0]    Franz Allan
  • Whether the library actively maintains compatibility with all listed database drivers (oracledb, pymysql, psycopg2, pymssql, ibm_db_dbi, pyodbc, jaydebeapi, sqlite3, teradata).
  • Performance characteristics when handling large result sets or frequent queries in test suites.
Same gist for agents: .md · .json

What it is and what it does

This is a Robot Framework library that extends the framework with keywords for database operations, allowing test suites to connect to, query, and verify data in databases. It wraps Python database modules (like oracledb, pymysql, or psycopg2) and exposes keywords for executing SQL queries, checking row counts, validating query results, and managing multiple simultaneous database connections via aliases.

The library is designed for test automation scenarios where you need to verify database state or content as part of your test execution. It handles connection setup, query execution, and result validation through Robot Framework's keyword syntax, making it natural to use within Robot Framework test cases and keywords. You supply the database driver module separately, and the library provides the glue to use it within your tests.

Use it for

  • Verify database records after an application operation in an automated test suite.
  • Check row counts or specific values in database tables as part of test assertions.
  • Test data setup and teardown by executing SQL commands from Robot Framework tests.
  • Validate data consistency across multiple databases in a single test run using connection aliases.
  • Query and assert on database state without writing custom Python code in your test suite.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are using Robot Framework for test automation and need to query or verify databases.

Install friction is low and the library is permissively licensed. Maintenance is aging (last release 213 days ago), so verify that your target database driver is supported before committing; no known vulnerabilities are present. Suitable for teams already invested in Robot Framework who want database testing without custom code.

Install

robotframework-databaselibrary on PyPI

Before you install

Low install friction with a pure-wheel distribution. Maintenance status is aging—last release was 213 days ago—but the repository remains active and has not been archived.

Requires a separate Python database module (e.g., oracledb, pymysql, psycopg2) to be installed separately depending on your target database.

License in practice

Licensed under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install robotframework-databaselibrary

*** Settings ***
Library    DatabaseLibrary

*** Test Cases ***
Query Database
    Connect To Database    oracledb    db_name=db    db_user=user    db_password=pass    db_host=127.0.0.1    db_port=1521
    ${rows}=    Query    select FIRST_NAME from person
    Should Be Equal    ${rows}[0][0]    Franz Allan

Verify before relying

  • Whether the library actively maintains compatibility with all listed database drivers (oracledb, pymysql, psycopg2, pymssql, ibm_db_dbi, pyodbc, jaydebeapi, sqlite3, teradata).
  • Performance characteristics when handling large result sets or frequent queries in test suites.

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.8.1
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
robotframeworkrobotframework-assertion-enginesqlparse
MaintenanceAging 213 days since the last release
Last repo commit
First released
Downloads392,715 / month, #7,006 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: robotframework_databaselibrary-2.4.1-py3-none-any.whl

Tags

Capabilities
robot framework database testingdatabase query verification automationSQL testing in robot frameworkdatabase assertion keywordsmulti-database connection testing
Topics
robot-frameworkdatabase-testingtest-automation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “robot framework database testing”

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also robotframework-assertion-engine · robotframework-seleniumlibrary · robotframework-csvlibrary · robotframework-faker · robotframework-appiumlibrary · robotframework-excellib · robotframework-dependencylibrary · robotframework-pythonlibcore · robotframework-imaplibrary2 · robotframework-requests