--- id: robotframework-pythonlibcore version: "4.6.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # robotframework-pythonlibcore — Tools to ease creating larger test libraries for Robot Framework using Python. License: permissive · Maintenance: active · Downloads: 2.3M/mo ## 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 above — 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 pip install robotframework-pythonlibcore uv add robotframework-pythonlibcore 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_current - Install friction: low - Maintenance: active - Downloads: 2.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags robot framework library development, hybrid library api python, dynamic library api robot, robot framework test library base, robotframework library core, robot framework keyword decorator, test library plugin system, robot-framework, test-library-framework, plugin-architecture [View on SkillFed](https://skillfed.io/packages/robotframework-pythonlibcore) · [View on PyPI](https://pypi.org/project/robotframework-pythonlibcore/)