robotframework-pythonlibcore
Tools to ease creating larger test libraries for Robot Framework using Python.
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-pythonlibcoreuv
uv add robotframework-pythonlibcorepoetry
poetry add robotframework-pythonlibcoreInstalling 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
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-seleniumlibrarySeleniumLibrary is a Robot Framework library…
permissive · top 5,000 on PyPI
robotframework-selenium2libraryA Robot Framework library that wraps Selenium…
permissive · top 15,000 on PyPI
robotframework-excellibProvides Robot Framework keywords for reading,…
permissive · top 15,000 on PyPI
robotremoteserverHosts Robot Framework test libraries on…
permissive · top 15,000 on PyPI
robotframework-browserBrowser automation library for Robot Framework…
permissive · top 5,000 on PyPI
robotframework-databaselibraryA Robot Framework library that adds keywords…
permissive · top 15,000 on PyPI
robotframework-tidyRobotidy autoformats Robot Framework test code,…
permissive · top 15,000 on PyPI
robotframeworkRobot Framework is a generic open-source…
permissive · top 5,000 on PyPI
robotframework-csvlibraryCSVLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotframework-seleniumtestabilitySeleniumTestability is a Robot Framework plugin…
permissive · top 15,000 on PyPI