skillfed

robotframework-pythonlibcore

Tools to ease creating larger test libraries for Robot Framework using Python.

robotframework-pythonlibcore v4.6.0 2.3M downloads/30d#3,129 on PyPI69
Permissive license Apache-2.0 Active released

What it is and what it does

robotframework-pythonlibcore is a framework for building Robot Framework test libraries in Python. It abstracts away the complexity of implementing the hybrid and dynamic library APIs, letting you focus on writing keywords instead of boilerplate. You inherit from either HybridCore or DynamicCore, decorate your keyword methods with @keyword, and pass library component instances to the base class—the framework handles exposing them to Robot Framework automatically.

The package supports plugin architectures, allowing libraries to load external keyword providers at runtime, and provides translation support for keyword names and documentation. It has no runtime dependencies and is stable production code already used by established Robot Framework libraries.

Use it for:

  • Build a modular test library by organizing keywords into separate component classes and composing them with DynamicCore or HybridCore.
  • Create a test library with a plugin system so users can extend it with custom keyword providers without modifying the core library.
  • Translate keyword names and documentation for Robot Framework libraries to support multiple languages.
  • Simplify migration from static to dynamic or hybrid library APIs by inheriting from the appropriate core class.
  • Publish library keywords as a Python public API automatically by leveraging the framework's method exposure.

Worth the install?

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

Provides base classes and decorators to simplify building hybrid and dynamic test libraries for Robot Framework, handling framework API requirements automatically.

Yes. This is a stable, actively maintained framework library with zero dependencies, used by established Robot Framework projects. Install it if you are building a Robot Framework test library in Python and want to avoid implementing the library API boilerplate yourself. The permissive license and recent release history make it a low-risk choice.

Install

robotframework-pythonlibcore on PyPI

pip

pip install robotframework-pythonlibcore

uv

uv add robotframework-pythonlibcore

poetry

poetry add robotframework-pythonlibcore

Installing robotframework-pythonlibcore

Before you install

Low install friction with no runtime dependencies. Actively maintained with recent releases; used by established Robot Framework libraries.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install robotframework-pythonlibcore

from robotlibcore import DynamicCore, keyword

class MyLibrary(DynamicCore):
    def __init__(self):
        DynamicCore.__init__(self, [])
    
    @keyword
    def my_keyword(self):
        pass

Requires Python 3.10 or later; Robot Framework must be installed separately to use the library.

Verify before relying

  • Whether the package supports Robot Framework versions older than the two latest versions mentioned in the description.
  • Performance characteristics when managing large numbers of keywords or library components.
  • Whether SeleniumLibrary and Browser library are still actively using this package in current versions.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (<4,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 92 days since the last release
Last repo commit
First released
Downloads 2,335,072/month — #3,129 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: robotframework_pythonlibcore-4.6.0-py3-none-any.whl

Keywords: robotframework, testing, testautomation, library, development

Development Status :: 5 - Production/StableFramework :: Robot FrameworkOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Testing

Tags

robot framework library developmenthybrid library api pythondynamic library api robotrobot framework test library baserobotframework library corerobot framework keyword decoratortest library plugin system
robot-frameworktest-library-frameworkplugin-architecture

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-seleniumlibrary

SeleniumLibrary is a Robot Framework library…

permissive · top 5,000 on PyPI

robotframework-selenium2library

A Robot Framework library that wraps Selenium…

permissive · top 15,000 on PyPI

robotframework-excellib

Provides Robot Framework keywords for reading,…

permissive · top 15,000 on PyPI

robotremoteserver

Hosts Robot Framework test libraries on…

permissive · top 15,000 on PyPI

robotframework-browser

Browser automation library for Robot Framework…

permissive · top 5,000 on PyPI

robotframework-databaselibrary

A Robot Framework library that adds keywords…

permissive · top 15,000 on PyPI

robotframework-tidy

Robotidy autoformats Robot Framework test code,…

permissive · top 15,000 on PyPI

robotframework

Robot Framework is a generic open-source…

permissive · top 5,000 on PyPI

robotframework-csvlibrary

CSVLibrary is a Robot Framework library that…

permissive · top 15,000 on PyPI

robotframework-seleniumtestability

SeleniumTestability is a Robot Framework plugin…

permissive · top 15,000 on PyPI

Further reading